diff options
| author | Nicholas Susanto <nicholas.susanto@amd.com> | 2023-06-27 21:36:49 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-18 18:14:30 +0300 |
| commit | 2ad127ba4c6e188e7a83513021a638a748ceb557 (patch) | |
| tree | 50bbaa2d7620407e8f4e25aa00c6ce0aafedd879 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 6d435a2e861f466657535553f6ff9c71f5fe8829 (diff) | |
| download | linux-2ad127ba4c6e188e7a83513021a638a748ceb557.tar.xz | |
drm/amd/display: Cache backlight_millinits in link structure and setting brightness accordingly
[Why]
Need to save the cached backlight level so that display lights up using
appropriate brightness level instead of the default brightness when
waking up from s0i3.
[How]
Adding a backlight level cache in link structure. Also instead on
calling set_default_brightness_aux, check if cached values exists.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Nicholas Susanto <nicholas.susanto@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
