summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorOwain G. Ainsworth <oga@openbsd.org>2009-01-10 18:48:46 +0000
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-13 17:18:43 -0800
commit65b90fb37744fdd335c59fdc70079fa058301858 (patch)
treee57a4fcb660ff36bf42ad9561965011b111d56f9 /libdrm
parent13ff0e58c36458a058e5c0676af04000c64a94f6 (diff)
Don't use DRM_BO_FLAG_NO_MOVE in bufmgr fake. It's a ttm flag.
It's also unused, so worthless.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/intel/intel_bufmgr_fake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/intel/intel_bufmgr_fake.c b/libdrm/intel/intel_bufmgr_fake.c
index 6d8ee85a..6c216254 100644
--- a/libdrm/intel/intel_bufmgr_fake.c
+++ b/libdrm/intel/intel_bufmgr_fake.c
@@ -833,7 +833,7 @@ drm_intel_bo_fake_alloc_static(drm_intel_bufmgr *bufmgr, const char *name,
bo_fake->refcount = 1;
bo_fake->id = ++bufmgr_fake->buf_nr;
bo_fake->name = name;
- bo_fake->flags = BM_PINNED | DRM_BO_FLAG_NO_MOVE;
+ bo_fake->flags = BM_PINNED;
bo_fake->is_static = 1;
DBG("drm_bo_alloc_static: (buf %d: %s, %d kb)\n", bo_fake->id, bo_fake->name,