summaryrefslogtreecommitdiff
path: root/benchmarks/gem_exec_tracer.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/gem_exec_tracer.c')
-rw-r--r--benchmarks/gem_exec_tracer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/benchmarks/gem_exec_tracer.c b/benchmarks/gem_exec_tracer.c
index 8ee29b5d..c8f4e84b 100644
--- a/benchmarks/gem_exec_tracer.c
+++ b/benchmarks/gem_exec_tracer.c
@@ -136,9 +136,6 @@ fail_if(int cond, const char *format, ...)
abort();
}
-#define LOCAL_I915_EXEC_FENCE_IN (1<<16)
-#define LOCAL_I915_EXEC_FENCE_OUT (1<<17)
-
static void
trace_exec(struct trace *trace,
const struct drm_i915_gem_execbuffer2 *execbuffer2)
@@ -147,7 +144,7 @@ trace_exec(struct trace *trace,
const struct drm_i915_gem_exec_object2 *exec_objects =
to_ptr(typeof(*exec_objects), execbuffer2->buffers_ptr);
- fail_if(execbuffer2->flags & (LOCAL_I915_EXEC_FENCE_IN | LOCAL_I915_EXEC_FENCE_OUT),
+ fail_if(execbuffer2->flags & (I915_EXEC_FENCE_IN | I915_EXEC_FENCE_OUT),
"fences not supported yet\n");
flockfile(trace->file);