]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Do not warn NULL dc_sink if forcing connector
authorVictor Lu <victorchengchi.lu@amd.com>
Tue, 29 Sep 2020 20:03:10 +0000 (16:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:31:37 +0000 (15:31 -0500)
commit3f7d6d9646e6c9c89bb8ff2eaae0347cc5cd8630
treec588d7854439ea95a92ec1a55011d7ace7217afc
parent4a20e3eb478ef9b3c48e4855ca30bc6ebc1052e6
drm/amd/display: Do not warn NULL dc_sink if forcing connector

[why]
There is a DRM_ERROR when the dc_sink is NULL and
there should not be this warning when the connector
is forced.

[how]
Do not warn if dc_sink is NULL if the connector
is forced.

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c