]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Turn off internal backlight when plugging external monitor
authorSung Joon Kim <sungkim@amd.com>
Tue, 7 Jun 2022 18:15:06 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 22:17:23 +0000 (18:17 -0400)
commit9077313afb40c550115cb78b40dc442b018d3783
treeff029c11584141a8f68bf00d4edf20baff8b281b
parentba558447c06eda1787d05c436e5e147b35b39d99
drm/amd/display: Turn off internal backlight when plugging external monitor

[why]
For VG, we want to turn off power/backlight of the intenral panel when
plugging in external monitor and going to "external monitor only" mode.

[how]
For turning off power of the internal panel, ignore the config flag whic
bypasses power sequencing for eDP panels.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c