linux/drivers/gpu/drm/amd/display/dc/link
Mario Limonciello b96ab339ee drm/amd/display: Restore guard against default backlight value < 1 nit
Mark reports that brightness is not restored after Xorg dpms screen blank.

This behavior was introduced by commit d9e865826c ("drm/amd/display:
Simplify brightness initialization") which dropped the cached backlight
value in display code, but also removed code for when the default value
read back was less than 1 nit.

Restore this code so that the backlight brightness is restored to the
correct default value in this circumstance.

Reported-by: Mark Herbert <mark.herbert42@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3031
Cc: stable@vger.kernel.org
Cc: Camille Cho <camille.cho@amd.com>
Cc: Krunoslav Kovac <krunoslav.kovac@amd.com>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
Fixes: d9e865826c ("drm/amd/display: Simplify brightness initialization")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-12-11 12:41:05 -05:00
..
accessories drm/amd/display: Update DP HPO MSA with colorimetry from test request 2023-11-07 11:17:18 -05:00
hwss drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00
protocols drm/amd/display: Restore guard against default backlight value < 1 nit 2023-12-11 12:41:05 -05:00
Makefile drm/amd/display: Drop unused link FPGA code 2023-09-26 16:54:37 -04:00
link_detection.c drm/amd/display: Simplify brightness initialization 2023-11-29 18:01:05 -05:00
link_detection.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_dpms.c drm/amd/display: Simplify brightness initialization 2023-11-29 18:01:05 -05:00
link_dpms.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_factory.c drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00
link_factory.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_hwss_hpo_frl.c
link_resource.c drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
link_resource.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_validation.c drm/amd/display: Add link encoding to timing BW calculation parameters 2023-07-18 11:15:51 -04:00
link_validation.h drm/amd/display: Add function pointer for validate bw usb4 2023-03-22 00:59:45 -04:00