From 8bb9ae3693362a302206255c61f512d942df9bbf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 2 Jan 2008 09:45:16 -0800 Subject: [PATCH] [intel] Use the memory type mask containing the caching flags. --- src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index b9eabb42c01..92c0be5e0f8 100644 --- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c @@ -59,7 +59,7 @@ * as it would require a bit of investigation to figure * out what mask value should be used. */ -#define INTEL_BO_MASK (DRM_BO_MASK_MEM | \ +#define INTEL_BO_MASK (DRM_BO_MASK_MEMTYPE | \ DRM_BO_FLAG_READ | \ DRM_BO_FLAG_WRITE | \ DRM_BO_FLAG_EXE) -- 2.30.2