summaryrefslogtreecommitdiff
path: root/benchmarks/gem_prw.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/gem_prw.c')
-rw-r--r--benchmarks/gem_prw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/gem_prw.c b/benchmarks/gem_prw.c
index cf9218e4..c2846040 100644
--- a/benchmarks/gem_prw.c
+++ b/benchmarks/gem_prw.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);
int domain = I915_GEM_DOMAIN_GTT;
enum dir { READ, WRITE } dir = READ;
void *buf = malloc(OBJECT_SIZE);