]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: make all backlight calls link based
authorAnthony Koo <Anthony.Koo@amd.com>
Fri, 27 Mar 2020 22:23:16 +0000 (18:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commit154c7d888c41334e81196d08a173813ec190df32
treeac3c9133e20a1cf1e99187a3e35166b64cadb32e
parent1a68f710ff5b01cd40ddb8c7715b51cc2a5541e6
drm/amd/display: make all backlight calls link based

[Why]
Backlight adjustment is tied to a specific display.  So make the calls
target a link rather than making it a global state.

[How]
make all backlight calls link based

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_link.h