diff options
author | Dave Airlie <airlied@redhat.com> | 2012-08-28 01:53:54 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-13 11:42:31 +1000 |
commit | 5e1782d224c79b26ab7d5c31e3f87657000714fb (patch) | |
tree | c12bf8d8f4984f471da687a690cfca3099fa5cb2 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | |
parent | 26df641eac05abe1a3276eea441359b4d1120816 (diff) |
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.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 33bfc2033009..ba2c35dbf10e 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -1155,6 +1155,11 @@ static struct drm_driver driver = { .open = vmw_driver_open, .preclose = vmw_preclose, .postclose = vmw_postclose, + + .dumb_create = vmw_dumb_create, + .dumb_map_offset = vmw_dumb_map_offset, + .dumb_destroy = vmw_dumb_destroy, + .fops = &vmwgfx_driver_fops, .name = VMWGFX_DRIVER_NAME, .desc = VMWGFX_DRIVER_DESC, |