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)
commit1c256f40bf8e9f4723c9e84c7e3a1105e1db0ad9
tree869748508c0160f775aebae2e17a84430bdbc6d6
parent8e0c819dc3c51be3d579c340f9fe2c65fbed3feb
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