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

This commit is contained in:
Eric Anholt 2008-01-02 09:45:16 -08:00
parent a3c435b342
commit 8bb9ae3693
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_MEM | \
#define INTEL_BO_MASK (DRM_BO_MASK_MEMTYPE | \
DRM_BO_FLAG_READ | \
DRM_BO_FLAG_WRITE | \
DRM_BO_FLAG_EXE)