]> 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)
commit94a848ea27d596143fb91871fe134ec0b31bf83c
treeb71e340b8ed6d622b1e44fb202f038f36880d903
parentb3791d265131ecd33be295d5e416844e9a8ea8f1
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