[Intel-gfx] libdrm fix. don't use ttm flags in libdrm-intel
Owain Ainsworth
zerooa at googlemail.com
Sat Jan 10 19:54:41 CET 2009
patch follows.
-0-
--
The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.
-- Gilbert K. Chesterson
-------------- next part --------------
>From 4f81f5ddbbdb3ad12d696b504d030ba7cc04fd45 Mon Sep 17 00:00:00 2001
From: Owain G. Ainsworth <oga at openbsd.org>
Date: Sat, 10 Jan 2009 18:48:46 +0000
Subject: [PATCH] Don't use DRM_BO_FLAG_NO_MOVE in bufmgr fake. It's a ttm flag.
It's also unused, so worthless.
---
libdrm/intel/intel_bufmgr_fake.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libdrm/intel/intel_bufmgr_fake.c b/libdrm/intel/intel_bufmgr_fake.c
index 6d8ee85..6c21625 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,
--
1.6.0.5
More information about the Intel-gfx
mailing list