drm/vgem: Reclassify buffer creation debug message
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Jul 2019 12:01:47 +0000 (13:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Jul 2019 16:35:37 +0000 (17:35 +0100)
A buffer is created in response to the user ioctl, it should therefore
be a plain DRM_DEBUG() message to reflect it being a user invoked
response and not a driver construct.

This is just to make the commonplace drm.debug=[26e] quieter when
running with vgem.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712120147.29830-1-chris@chris-wilson.co.uk
drivers/gpu/drm/vgem/vgem_drv.c

index 386efc3b5843e556da52aff78e796a533eadb194..76d95b5e289c5d8ba1b059964695024af90a1b63 100644 (file)
@@ -214,7 +214,7 @@ static int vgem_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
        args->size = gem_object->size;
        args->pitch = pitch;
 
-       DRM_DEBUG_DRIVER("Created object of size %lld\n", size);
+       DRM_DEBUG("Created object of size %lld\n", size);
 
        return 0;
 }