]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Use drm_err() for handle_hpd_irq_helper()
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 18 Feb 2025 04:58:40 +0000 (22:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:42:29 +0000 (10:42 -0500)
drm_err() will show which device has the error.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@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/amdgpu_dm/amdgpu_dm.c

index 4945f89bf2f6a4dc72bf4b7d4cc77259632de706..9a5663ee1fb85bc06b2f5b7e935db115a554bf01 100644 (file)
@@ -3825,7 +3825,7 @@ static void handle_hpd_irq_helper(struct amdgpu_dm_connector *aconnector)
        aconnector->timing_changed = false;
 
        if (!dc_link_detect_connection_type(aconnector->dc_link, &new_connection_type))
-               DRM_ERROR("KMS: Failed to detect connector\n");
+               drm_err(adev_to_drm(adev), "KMS: Failed to detect connector\n");
 
        if (aconnector->base.force && new_connection_type == dc_connection_none) {
                emulated_link_detect(aconnector->dc_link);