From 220a8e8b1425d08af7ac104540be16611279e807 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 13 Nov 2013 09:52:14 +0000 Subject: [PATCH] Bump experimental ioctl command numbers In the meantime a new ioctl has snuck in. Signed-off-by: Chris Wilson --- src/sna/kgem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 7855884..8775d2b 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -129,7 +129,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int num_pages, unsigned flags); #define LOCAL_I915_EXEC_NO_RELOC (1<<11) #define LOCAL_I915_EXEC_HANDLE_LUT (1<<12) -#define LOCAL_I915_GEM_CREATE2 0x32 +#define LOCAL_I915_GEM_CREATE2 0x33 #define LOCAL_IOCTL_I915_GEM_CREATE2 DRM_IOWR (DRM_COMMAND_BASE + LOCAL_I915_GEM_CREATE2, struct local_i915_gem_create2) struct local_i915_gem_create2 { uint64_t size; @@ -145,7 +145,7 @@ struct local_i915_gem_create2 { uint32_t handle; }; -#define LOCAL_I915_GEM_USERPTR 0x33 +#define LOCAL_I915_GEM_USERPTR 0x34 #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; -- 2.7.4