aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-01-02 15:51:27 -0800
committerEric Anholt <[email protected]>2008-01-02 15:51:27 -0800
commita099461fa31db1ed8935bb409c321dc46c54ce8d (patch)
treee2c926a6706fe9a08e378a9c7ada53a83ef9647b /src/mesa
parent8bb9ae3693362a302206255c61f512d942df9bbf (diff)
Revert "[intel] Use the memory type mask containing the caching flags."
This reverts commit 8bb9ae3693362a302206255c61f512d942df9bbf. Validating our kernel buffers with the caching off in flags but on in mask means that the kernel migrates the buffer to be uncached, which is undesired.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c2
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 92c0be5e0f8..b9eabb42c01 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_MEMTYPE | \
+#define INTEL_BO_MASK (DRM_BO_MASK_MEM | \
DRM_BO_FLAG_READ | \
DRM_BO_FLAG_WRITE | \
DRM_BO_FLAG_EXE)