diff options
author | Dave Airlie <airlied@redhat.com> | 2012-08-28 05:53:54 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-13 05:42:31 +0400 |
commit | 5e1782d224c79b26ab7d5c31e3f87657000714fb (patch) | |
tree | c12bf8d8f4984f471da687a690cfca3099fa5cb2 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | 26df641eac05abe1a3276eea441359b4d1120816 (diff) | |
download | linux-5e1782d224c79b26ab7d5c31e3f87657000714fb.tar.xz |
vmwgfx: add dumb ioctl support
Testing and works with the -modesetting driver,
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Cc: stable@vger.kernel.org
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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index d0f2c079ee27..29c984ff7f23 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -645,6 +645,16 @@ int vmw_kms_readback(struct vmw_private *dev_priv, int vmw_kms_update_layout_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv); +int vmw_dumb_create(struct drm_file *file_priv, + struct drm_device *dev, + struct drm_mode_create_dumb *args); + +int vmw_dumb_map_offset(struct drm_file *file_priv, + struct drm_device *dev, uint32_t handle, + uint64_t *offset); +int vmw_dumb_destroy(struct drm_file *file_priv, + struct drm_device *dev, + uint32_t handle); /** * Overlay control - vmwgfx_overlay.c */ |