Skip to content

Commit bd80d58

Browse files
Bhawanpreet Lakhaalexdeucher
authored andcommitted
drm/amd/display: Don't use DRM_ERROR() for DTM add topology
[Why] Previously we were only calling add_topology when hdcp was being enabled. Now we call add_topology by default so the ERROR messages are printed if the firmware is not loaded. This error message is not relevant for normal display functionality so no need to print a ERROR message. [How] Change DRM_ERROR to DRM_INFO Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 6cd7923 commit bd80d58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/gpu/drm/amd/display/modules/hdcp

‎drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ enum mod_hdcp_status mod_hdcp_add_display_to_topology(struct mod_hdcp *hdcp,
8888
enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS;
8989

9090
if (!psp->dtm_context.dtm_initialized) {
91-
DRM_ERROR("Failed to add display topology, DTM TA is not initialized.");
91+
DRM_INFO("Failed to add display topology, DTM TA is not initialized.");
9292
display->state = MOD_HDCP_DISPLAY_INACTIVE;
9393
return MOD_HDCP_STATUS_FAILURE;
9494
}

0 commit comments

Comments
 (0)