From: Mario Limonciello Date: Tue, 18 Feb 2025 04:58:40 +0000 (-0600) Subject: drm/amd/display: Use drm_err() for handle_hpd_irq_helper() X-Git-Tag: v6.15-rc1~120^2~12^2~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=130d8324ea95a8cb5bc7e1ec01ff249892352dc3;p=thirdparty%2Flinux.git drm/amd/display: Use drm_err() for handle_hpd_irq_helper() drm_err() will show which device has the error. Reviewed-by: Alex Hung Signed-off-by: Mario Limonciello Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 4945f89bf2f6a..9a5663ee1fb85 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -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);