OSDN Git Service

drm/amd/display: Fix error in dmesg at boot
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Fri, 1 Oct 2021 14:36:20 +0000 (22:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 19:50:33 +0000 (15:50 -0400)
commit4874ecf5fd1de008756a76796bf255d3b19715c1
treeb71e340b8ed6d622b1e44fb202f038f36880d903
parent8da5cbafb2ea1c33964ed6e5c79e9f2ebe001b57
drm/amd/display: Fix error in dmesg at boot

[Why]
During DQE's promotion test, error appears in dmesg at boot
on dcn3.1;

[How]
Add NULL pointor check for the pointor to the amdgpu_dm_connector;

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c