diff options
author | Deepak Rawat <drawat@vmware.com> | 2019-05-09 21:47:40 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2019-06-18 16:20:11 +0300 |
commit | 03583e503de624b0672d1a1c16e66b39324db509 (patch) | |
tree | e6dcb32bc23d192de129ff92d448475a978e01fe /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | 4ba397671237784a212378c271f700e99c66cf39 (diff) | |
download | linux-03583e503de624b0672d1a1c16e66b39324db509.tar.xz |
drm/vmwgfx: Add debug message for layout change ioctl
Add debug code to check user-space layout change request.
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index 5971c0d47507..b4c8817dc267 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -1424,6 +1424,14 @@ int vmw_host_log(const char *log); #define VMW_DEBUG_USER(fmt, ...) \ DRM_DEBUG_DRIVER(fmt, ##__VA_ARGS__) +/** + * VMW_DEBUG_KMS - Debug output for kernel mode-setting + * + * This macro is for debugging vmwgfx mode-setting code. + */ +#define VMW_DEBUG_KMS(fmt, ...) \ + DRM_DEBUG_DRIVER(fmt, ##__VA_ARGS__) + /* Resource dirtying - vmwgfx_page_dirty.c */ void vmw_bo_dirty_scan(struct vmw_buffer_object *vbo); int vmw_bo_dirty_add(struct vmw_buffer_object *vbo); |