diff options
author | Tom Chung <[email protected]> | 2024-10-09 17:09:38 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-11-04 12:43:03 -0500 |
commit | 4f26c95ffc21a91281429ed60180619bae19ae92 (patch) | |
tree | 0f2a0e81f7a83f96b3457a4baba9614df903c7ec /tools/perf/scripts/python/sched-migration.py | |
parent | 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff) |
drm/amd/display: Fix brightness level not retained over reboot
[Why]
During boot up and resume the DC layer will reset the panel
brightness to fix a flicker issue.
It will cause the dm->actual_brightness is not the current panel
brightness level. (the dm->brightness is the correct panel level)
[How]
Set the backlight level after do the set mode.
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Fixes: d9e865826c20 ("drm/amd/display: Simplify brightness initialization")
Reported-by: Mark Herbert <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3655
Reviewed-by: Sun peng Li <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Signed-off-by: Zaeem Mohamed <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 7875afafba84817b791be6d2282b836695146060)
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions