Skip to content

Commit e7591a8

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 0743860 commit e7591a8

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
@@ -9854,7 +9854,7 @@ static int dm_check_crtc_cursor(struct drm_atomic_state *state,
98549854

98559855
if (cursor_scale_w != primary_scale_w ||
98569856
cursor_scale_h != primary_scale_h) {
9857-
DRM_DEBUG_ATOMIC("Cursor plane scaling doesn't match primary plane\n");
9857+
drm_dbg_atomic(crtc->dev, "Cursor plane scaling doesn't match primary plane\n");
98589858
return -EINVAL;
98599859
}
98609860

0 commit comments

Comments
 (0)