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:
parent
8bb9ae3693
commit
a099461fa3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue