Revert "[intel] Use the memory type mask containing the caching flags."

This reverts commit 8bb9ae3693.

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.
This commit is contained in:
Eric Anholt 2008-01-02 15:51:27 -08:00
parent 8bb9ae3693
commit a099461fa3
1 changed files with 1 additions and 1 deletions

View 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_MEMTYPE | \
#define INTEL_BO_MASK (DRM_BO_MASK_MEM | \
DRM_BO_FLAG_READ | \
DRM_BO_FLAG_WRITE | \
DRM_BO_FLAG_EXE)