diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-23 09:04:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-10 21:12:33 +0300 |
commit | 5760388d9681ac743038b846b9082b9023969551 (patch) | |
tree | 842a6d4ec257334dc8f8c9cd5108fc5819b82aa6 /tools/perf/scripts/python/gecko.py | |
parent | b5a981e1b34e44f94a5967f730fff4166f2101e8 (diff) | |
download | linux-5760388d9681ac743038b846b9082b9023969551.tar.xz |
drm/amd/display: Restore correct backlight brightness after a GPU reset
[Why]
GPU reset will attempt to restore cached state, but brightness doesn't
get restored. It will come back at 100% brightness, but userspace thinks
it's the previous value.
[How]
When running resume sequence if GPU is in reset restore brightness
to previous value.
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 5e19e2b57b6bb640d68dfc7991e1e182922cf867)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions