]> 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)
commitdeadcba4bf9e9d2582071450df32a4ca50d22935
tree18c31c4fec2f76a0a8594d139fc3603a702af092
parentb7664d45d268dc56233c8170e96df6e27f908053
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