[intel] Use the memory type mask containing the caching flags.
authorEric Anholt <eric@anholt.net>
Wed, 2 Jan 2008 17:45:16 +0000 (09:45 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Jan 2008 17:47:07 +0000 (09:47 -0800)
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c

index b9eabb42c010ce80a33c8e117e65e56283df155f..92c0be5e0f85ea3fb8876033bbc3e9f74df31a35 100644 (file)
@@ -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)