igt/gem_userptr_benchmark: Fix for upstream ioctl number

Hardcoding has upsides and downsides.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Tvrtko Ursulin 2014-07-23 13:33:18 +01:00 committed by Daniel Vetter
parent 70e6ed92ab
commit bf57e93f50

View File

@ -58,7 +58,7 @@
#define PAGE_SIZE 4096 #define PAGE_SIZE 4096
#endif #endif
#define LOCAL_I915_GEM_USERPTR 0x34 #define LOCAL_I915_GEM_USERPTR 0x33
#define LOCAL_IOCTL_I915_GEM_USERPTR DRM_IOWR (DRM_COMMAND_BASE + LOCAL_I915_GEM_USERPTR, struct local_i915_gem_userptr) #define LOCAL_IOCTL_I915_GEM_USERPTR DRM_IOWR (DRM_COMMAND_BASE + LOCAL_I915_GEM_USERPTR, struct local_i915_gem_userptr)
struct local_i915_gem_userptr { struct local_i915_gem_userptr {
uint64_t user_ptr; uint64_t user_ptr;