[Intel-gfx] [PATCH] igt/gem_userptr_benchmark: Fix for upstream ioctl number
Daniel Vetter
daniel at ffwll.ch
Wed Jul 23 14:52:17 CEST 2014
On Wed, Jul 23, 2014 at 01:33:18PM +0100, Tvrtko Ursulin wrote:
> Hardcoding has upsides and downsides.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Ooops, merged.
-Daniel
> ---
> benchmarks/gem_userptr_benchmark.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/benchmarks/gem_userptr_benchmark.c b/benchmarks/gem_userptr_benchmark.c
> index bdfce12..4d7442b 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;
> --
> 1.9.3
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list