summaryrefslogtreecommitdiff
path: root/benchmarks/gem_userptr_benchmark.c
diff options
context:
space:
mode:
authorranjeet kumar <ranjeet1.kumar@intel.com>2020-04-28 19:01:41 +0530
committerChris Wilson <chris@chris-wilson.co.uk>2020-05-11 20:16:27 +0100
commit22d0955e019020f9ecda4124707801214e279a0c (patch)
tree6f43a7cc405399eb892e905bae59311f9f0ab8ae /benchmarks/gem_userptr_benchmark.c
parent5a5a3162a7638b3ae38b6dc2545622c204d1b97c (diff)
Macros fixes: Removed unused & redundant macros
Local macros were declared in several files as a prelude to upstream implementations. Now that we ship include/drm-uapi, we can remove LOCAL as we upstream. Cc: Dixit, Ashutosh <ashutosh.dixit@intel.com> Cc: Tahvanainen Jari <jari.tahvanainen@intel.com> Signed-off-by: ranjeet kumar <ranjeet1.kumar@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/gem_userptr_benchmark.c')
-rw-r--r--benchmarks/gem_userptr_benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/gem_userptr_benchmark.c b/benchmarks/gem_userptr_benchmark.c
index b63fdedf..eccc65be 100644
--- a/benchmarks/gem_userptr_benchmark.c
+++ b/benchmarks/gem_userptr_benchmark.c
@@ -58,13 +58,13 @@
#define PAGE_SIZE 4096
#endif
-static uint32_t userptr_flags = LOCAL_I915_USERPTR_UNSYNCHRONIZED;
+static uint32_t userptr_flags = I915_USERPTR_UNSYNCHRONIZED;
#define BO_SIZE (65536)
static void gem_userptr_test_unsynchronized(void)
{
- userptr_flags = LOCAL_I915_USERPTR_UNSYNCHRONIZED;
+ userptr_flags = I915_USERPTR_UNSYNCHRONIZED;
}
static void gem_userptr_test_synchronized(void)