Skip to content

Commit 8333388

Browse files
emersionalexdeucher
authored andcommitted
amd/display: convert DRM_DEBUG_ATOMIC to drm_dbg_atomic
This allows to tie the log message to a specific DRM device. Signed-off-by: Simon Ser <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Harry Wentland <[email protected]> Cc: Nicholas Kazlauskas <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent f0e0687 commit 8333388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10019,7 +10019,7 @@ static int dm_check_crtc_cursor(struct drm_atomic_state *state,
1001910019

1002010020
if (cursor_scale_w != primary_scale_w ||
1002110021
cursor_scale_h != primary_scale_h) {
10022-
DRM_DEBUG_ATOMIC("Cursor plane scaling doesn't match primary plane\n");
10022+
drm_dbg_atomic(crtc->dev, "Cursor plane scaling doesn't match primary plane\n");
1002310023
return -EINVAL;
1002410024
}
1002510025

0 commit comments

Comments
 (0)