aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorNicholas Susanto <[email protected]>2023-06-27 14:36:49 -0400
committerAlex Deucher <[email protected]>2023-07-18 11:14:30 -0400
commit2ad127ba4c6e188e7a83513021a638a748ceb557 (patch)
tree50bbaa2d7620407e8f4e25aa00c6ce0aafedd879 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent6d435a2e861f466657535553f6ff9c71f5fe8829 (diff)
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 <[email protected]> Reviewed-by: Wenjing Liu <[email protected]> Acked-by: Alan Liu <[email protected]> Signed-off-by: Nicholas Susanto <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions