diff options
author | Eric Anholt <eric@anholt.net> | 2008-01-02 09:45:16 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-01-02 09:47:07 -0800 |
commit | 8bb9ae3693362a302206255c61f512d942df9bbf (patch) | |
tree | 5e256bc7a0a832e0f70b21db3c42c08c96f8a75f /src | |
parent | a3c435b342e467020e349061ce656c68258a8576 (diff) |
[intel] Use the memory type mask containing the caching flags.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index b9eabb42c0..92c0be5e0f 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) |