]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove aconnector condition check for dpcd read
authorZhan Liu <zhan.liu@amd.com>
Thu, 16 Apr 2020 18:20:56 +0000 (14:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:46 +0000 (18:11 -0400)
commitf45d1b66aa3c775829e94681c549e08acd934ec1
tree869748508c0160f775aebae2e17a84430bdbc6d6
parent783ba268c9d2bff39ba542c86712bb3e19e456e2
drm/amd/display: Remove aconnector condition check for dpcd read

[Why]
Aconnector is not necessary to be NULL in order to read dpcd
successfully.

Actually if we rely on checking aconnector here, we won't be able
to turn off all displays before doing display detection. That will
cause some MST hubs not able to light up.

[How]
Remove aconnector check when turning off all displays at
hardware initialization stage.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Joseph Gravenor <joseph.gravenor@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c