mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
Add preemption WA to make CSR surface uncacheable
Change-Id: Ia468c6f5df16522c3bc9aae22802895f2badc431
This commit is contained in:
committed by
sys_ocldev
parent
e9fd40db13
commit
21f92d8258
@@ -81,10 +81,10 @@ class MemoryManager {
|
||||
}
|
||||
|
||||
virtual GraphicsAllocation *allocateGraphicsMemory(size_t size, size_t alignment) {
|
||||
return allocateGraphicsMemory(size, alignment, false);
|
||||
return allocateGraphicsMemory(size, alignment, false, false);
|
||||
}
|
||||
|
||||
virtual GraphicsAllocation *allocateGraphicsMemory(size_t size, size_t alignment, bool forcePin) = 0;
|
||||
virtual GraphicsAllocation *allocateGraphicsMemory(size_t size, size_t alignment, bool forcePin, bool uncacheable) = 0;
|
||||
|
||||
virtual GraphicsAllocation *allocateGraphicsMemory64kb(size_t size, size_t alignment, bool forcePin) = 0;
|
||||
|
||||
@@ -172,7 +172,7 @@ class MemoryManager {
|
||||
if (enable64kbpages) {
|
||||
return allocateGraphicsMemory64kb(size, MemoryConstants::pageSize64k, forcePin);
|
||||
} else {
|
||||
return allocateGraphicsMemory(size, MemoryConstants::pageSize, forcePin);
|
||||
return allocateGraphicsMemory(size, MemoryConstants::pageSize, forcePin, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user