]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Allow individual control of eDP hotplug support
authorDerek Lai <Derek.Lai@amd.com>
Thu, 5 May 2022 09:59:49 +0000 (17:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:30 +0000 (14:56 -0400)
commit7da9694efabdd05e6115709c5a855cef568ce5fd
tree18c31c4fec2f76a0a8594d139fc3603a702af092
parent7532ba3a75fac8b4f9cb21e40bb5647d665e0759
drm/amd/display: Allow individual control of eDP hotplug support

[Why]
Second eDP can send display off notification through HPD
but DC isn't hooked up to handle. Some primary eDP panels
will toggle on/off incorrectly if it's enabled generically.

[How]
Extend the debug option to allow individually enabling hotplug
either the first eDP or the second eDP in a dual eDP system.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Derek Lai <Derek.Lai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h