]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
vmwgfx: Print error diagnostics if depth doesn't match the host expectation
[linux-imx.git] / drivers / gpu / drm / vmwgfx / vmwgfx_drv.h
index 0c24347d56a6ff523524e5a2cfb00ff3476a9d5f..fc33f3f9ebc4c5e24c56171ab84aa3dfd0a5e7ea 100644 (file)
@@ -503,9 +503,9 @@ void vmw_kms_cursor_snoop(struct vmw_surface *srf,
                          struct ttm_object_file *tfile,
                          struct ttm_buffer_object *bo,
                          SVGA3dCmdHeader *header);
-void vmw_kms_write_svga(struct vmw_private *vmw_priv,
-                       unsigned width, unsigned height, unsigned pitch,
-                       unsigned bpp, unsigned depth);
+int vmw_kms_write_svga(struct vmw_private *vmw_priv,
+                      unsigned width, unsigned height, unsigned pitch,
+                      unsigned bpp, unsigned depth);
 int vmw_kms_update_layout_ioctl(struct drm_device *dev, void *data,
                                struct drm_file *file_priv);
 void vmw_kms_idle_workqueues(struct vmw_master *vmaster);