]> Git Repo - J-linux.git/commitdiff
amd/display: convert DRM_DEBUG_ATOMIC to drm_dbg_atomic
authorSimon Ser <[email protected]>
Wed, 26 May 2021 13:55:50 +0000 (13:55 +0000)
committerAlex Deucher <[email protected]>
Wed, 2 Jun 2021 21:58:11 +0000 (17:58 -0400)
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]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index bb18c9889a0cc24dcc1040f44bfce790bada0f29..652cc1a0e450f3633cd964b822af7ab026d030e7 100644 (file)
@@ -9854,7 +9854,7 @@ static int dm_check_crtc_cursor(struct drm_atomic_state *state,
 
        if (cursor_scale_w != primary_scale_w ||
            cursor_scale_h != primary_scale_h) {
-               DRM_DEBUG_ATOMIC("Cursor plane scaling doesn't match primary plane\n");
+               drm_dbg_atomic(crtc->dev, "Cursor plane scaling doesn't match primary plane\n");
                return -EINVAL;
        }
 
This page took 0.059787 seconds and 4 git commands to generate.