]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf462d3793342d7052333c1dc707c97fd8efe2d8e
treeb71e340b8ed6d622b1e44fb202f038f36880d903
parent2a456be861f904cb663d105c2f5d98b6c9ecc9c5
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