From: Thomas Hellstrom Date: Wed, 31 Jan 2007 10:41:44 +0000 (+0100) Subject: Make the utility runnable also for normal users. X-Git-Tag: libdrm-2.3.1~372 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07fabc3fd8f00006e6117081f5183a826a6d2bbb;p=platform%2Fupstream%2Flibdrm.git Make the utility runnable also for normal users. --- diff --git a/tests/ttmtest/src/ttmtest.c b/tests/ttmtest/src/ttmtest.c index 90bc249..ae261e2 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);