Skip to contentSkip to conversation

igt/gem_userptr_benchmark: Fix for upstream ioctl number

PATCH In review Tvrtko Ursulin 2 participants 2 messages Jul 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igt/gem_userptr_benchmark: Fix for upstream ioctl number

Hardcoding has upsides and downsides.

---
 benchmarks/gem_userptr_benchmark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
benchmarks/gem_userptr_benchmark.c +1 -1
index bdfce12..4d7442b 100644
@@ -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;
Signature · 1 line
1.9.3
#1 lore raw
Quoted 3 lines · Tvrtko Ursulin

Hardcoding has upsides and downsides.

Ooops, merged.
-Daniel

Quoted 24 lines
---
 benchmarks/gem_userptr_benchmark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
benchmarks/gem_userptr_benchmark.c +1 -1
index bdfce12..4d7442b 100644
@@ -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;
Signature · 6 lines
1.9.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch