aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
diff options
context:
space:
mode:
authorSinclair Yeh <[email protected]>2017-07-05 08:37:55 +0000
committerSinclair Yeh <[email protected]>2017-08-28 15:51:28 +0000
commit2cfa0bb25d25aa183ea29f1f9c2bc65f3f2c2264 (patch)
tree5780aaf17088d412ed5b6c0f5cd5b263b25bc4d4 /drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
parentdrm/vmwgfx: Fix incorrect command header offset at restart (diff)
downloadkernel-2cfa0bb25d25aa183ea29f1f9c2bc65f3f2c2264.tar.gz
kernel-2cfa0bb25d25aa183ea29f1f9c2bc65f3f2c2264.zip
drm/vmwgfx: Prepare to support fence fd
Make the fields and flags available. Signed-off-by: Sinclair Yeh <[email protected]> Reviewed-by: Deepak Singh Rawat <[email protected]> Reviewed-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
index 8c583fd16c79..178dabcdb198 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
@@ -4449,11 +4449,6 @@ int vmw_execbuf_ioctl(struct drm_device *dev, unsigned long data,
arg.context_handle = (uint32_t) -1;
break;
case 2:
- if (arg.pad64 != 0) {
- DRM_ERROR("Unused IOCTL data not set to zero.\n");
- return -EINVAL;
- }
- break;
default:
break;
}