OSDN Git Service

drm/amd/display: Change "error" to "dc_log" at amdgpu_dm dpcd reading stage
authorZhan Liu <zhan.liu@amd.com>
Thu, 9 Apr 2020 19:32:44 +0000 (15:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:01:34 +0000 (12:01 -0400)
commitf9135b086b5863eeb83973fd291a7c30ba62333e
treecdd3d35cfb661a43f0921a03a35b14ba9f296cfe
parent95a2f917387a23c8b09f4ab95e1560a69db5b1f1
drm/amd/display: Change "error" to "dc_log" at amdgpu_dm dpcd reading stage

[Why]
If reading dpcd happens ahead of hw initialization, then aconnector is NULL
at this point. This is expected, so there is no need to output an error (which will
spam dmesg.log)

[How]
Change type of message from "error" to "DC_LOG_DC".

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c