summaryrefslogtreecommitdiff
path: root/benchmarks/gem_mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/gem_mmap.c')
-rw-r--r--benchmarks/gem_mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/gem_mmap.c b/benchmarks/gem_mmap.c
index da712749..bc26d310 100644
--- a/benchmarks/gem_mmap.c
+++ b/benchmarks/gem_mmap.c
@@ -54,7 +54,7 @@ static uint64_t elapsed(const struct timespec *start,
int main(int argc, char **argv)
{
- int fd = drm_open_any();
+ int fd = drm_open_driver(DRIVER_INTEL);
enum map {CPU, GTT, WC} map = CPU;
enum dir {READ, WRITE, CLEAR, FAULT} dir = READ;
int tiling = I915_TILING_NONE;