drm/amd/display: Use DC log instead of using DM error msg
authorCruise Hung <Cruise.Hung@amd.com>
Thu, 22 May 2025 10:02:14 +0000 (18:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:33:09 +0000 (15:33 -0400)
[Why & How]
It sent an error msg when it failed to read the DP tunneling DPCD field.
This should just be a warning msg. Use a DC log instead of a DM error msg.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Cruise Hung <Cruise.Hung@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c

index 8f79881ad9f1a9e15f246a98662c740da06855fd..a5127c2d47efb81a0bf988340bc6649d00e72faa 100644 (file)
@@ -2023,7 +2023,7 @@ static bool retrieve_link_cap(struct dc_link *link)
        /* Read DP tunneling information. */
        status = dpcd_get_tunneling_device_data(link);
        if (status != DC_OK)
-               dm_error("%s: Read DP tunneling device data failed.\n", __func__);
+               DC_LOG_DP2("%s: Read DP tunneling device data failed.\n", __func__);
 
        retrieve_cable_id(link);
        dpcd_write_cable_id_to_dprx(link);