diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-08-31 03:42:50 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-09-01 04:37:49 -0400 |
commit | 0bef23f9180b43e805ce4dabb90b24a0b558721c (patch) | |
tree | 6524902551a89a981422e121008ee5f64555266c /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | 6558429bc4c7351cc3d80fc9055f1204a9adf060 (diff) |
vmwgfx: Print error diagnostics if depth doesn't match the host expectation
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index 0c24347d56a6..fc33f3f9ebc4 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |||
@@ -503,9 +503,9 @@ void vmw_kms_cursor_snoop(struct vmw_surface *srf, | |||
503 | struct ttm_object_file *tfile, | 503 | struct ttm_object_file *tfile, |
504 | struct ttm_buffer_object *bo, | 504 | struct ttm_buffer_object *bo, |
505 | SVGA3dCmdHeader *header); | 505 | SVGA3dCmdHeader *header); |
506 | void vmw_kms_write_svga(struct vmw_private *vmw_priv, | 506 | int vmw_kms_write_svga(struct vmw_private *vmw_priv, |
507 | unsigned width, unsigned height, unsigned pitch, | 507 | unsigned width, unsigned height, unsigned pitch, |
508 | unsigned bpp, unsigned depth); | 508 | unsigned bpp, unsigned depth); |
509 | int vmw_kms_update_layout_ioctl(struct drm_device *dev, void *data, | 509 | int vmw_kms_update_layout_ioctl(struct drm_device *dev, void *data, |
510 | struct drm_file *file_priv); | 510 | struct drm_file *file_priv); |
511 | void vmw_kms_idle_workqueues(struct vmw_master *vmaster); | 511 | void vmw_kms_idle_workqueues(struct vmw_master *vmaster); |