aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-12-06 18:08:26 +0000
committerAlex Deucher <[email protected]>2023-12-07 22:42:30 +0000
commita2020be69490ee8778c59a02e7b270dfeecffbd4 (patch)
tree8ccedb2b1f87b7569978f71f56d970ae447afedd /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amd/display: fix hw rotated modes when PSR-SU is enabled (diff)
downloadkernel-a2020be69490ee8778c59a02e7b270dfeecffbd4.tar.gz
kernel-a2020be69490ee8778c59a02e7b270dfeecffbd4.zip
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 d9e865826c20 ("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 <[email protected]> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3031 Cc: [email protected] Cc: Camille Cho <[email protected]> Cc: Krunoslav Kovac <[email protected]> Cc: Hamza Mahfooz <[email protected]> Fixes: d9e865826c20 ("drm/amd/display: Simplify brightness initialization") Acked-by: Alex Deucher <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions