Improve control of explicit residency flag

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2021-11-08 21:42:07 +00:00
committed by Compute-Runtime-Automation
parent 3e5d68deab
commit 8cf3e8ca94
11 changed files with 83 additions and 8 deletions

View File

@ -88,7 +88,7 @@ class DrmAllocation : public GraphicsAllocation {
void freeRegisteredBOBindExtHandles(Drm *drm);
void linkWithRegisteredHandle(uint32_t handle);
MOCKABLE_VIRTUAL void markForCapture();
bool shouldAllocationPageFault(Drm *drm);
MOCKABLE_VIRTUAL bool shouldAllocationPageFault(const Drm *drm);
protected:
BufferObjects bufferObjects{};