summaryrefslogtreecommitdiff
path: root/benchmarks/gem_userptr_benchmark.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@linux.intel.com>2014-07-23 13:33:18 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 14:52:31 +0200
commitbf57e93f508244b13bf9848e37f03c7cd8f9ac94 (patch)
treee1244e4783a7e4ef16e2083fbf8a24f047ddf587 /benchmarks/gem_userptr_benchmark.c
parent70e6ed92abbca575f03f5a28402ef1eb9a6b97b8 (diff)
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>
Diffstat (limited to 'benchmarks/gem_userptr_benchmark.c')
-rw-r--r--benchmarks/gem_userptr_benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/gem_userptr_benchmark.c b/benchmarks/gem_userptr_benchmark.c
index bdfce126..4d7442bf 100644
--- a/benchmarks/gem_userptr_benchmark.c
+++ b/benchmarks/gem_userptr_benchmark.c
@@ -58,7 +58,7 @@
#define PAGE_SIZE 4096
#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)
struct local_i915_gem_userptr {
uint64_t user_ptr;