summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-01-31 11:41:44 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-01-31 11:41:44 +0100
commit07fabc3fd8f00006e6117081f5183a826a6d2bbb (patch)
treec85ee8bf916bdf4053730db749b0752589aacd6f
parent36d50687dd88e0e42cf2adfd8ff81a160765e12a (diff)
Make the utility runnable also for normal users.
-rw-r--r--tests/ttmtest/src/ttmtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ttmtest/src/ttmtest.c b/tests/ttmtest/src/ttmtest.c
index 90bc2497..ae261e28 100644
--- a/tests/ttmtest/src/ttmtest.c
+++ b/tests/ttmtest/src/ttmtest.c
@@ -182,7 +182,7 @@ benchmarkBuffer(TinyDRIContext * ctx, unsigned long size,
drm_bo_type_dc,
DRM_BO_FLAG_READ |
DRM_BO_FLAG_WRITE |
- DRM_BO_FLAG_MEM_LOCAL | DRM_BO_FLAG_NO_EVICT, 0, &buf));
+ DRM_BO_FLAG_MEM_LOCAL | DRM_BO_FLAG_NO_MOVE, 0, &buf));
curTime = fastrdtsc();
*ticks++ = time_diff(oldTime, curTime);