Make the utility runnable also for normal users.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Wed, 31 Jan 2007 10:41:44 +0000 (11:41 +0100)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Wed, 31 Jan 2007 10:41:44 +0000 (11:41 +0100)
tests/ttmtest/src/ttmtest.c

index 90bc249..ae261e2 100644 (file)
@@ -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);