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

@@ -173,7 +173,7 @@ class Drm : public DriverModel {
MOCKABLE_VIRTUAL bool registerResourceClasses();
void queryPageFaultSupport();
bool hasPageFaultSupport();
bool hasPageFaultSupport() const;
MOCKABLE_VIRTUAL uint32_t registerResource(ResourceClass classType, const void *data, size_t size);
MOCKABLE_VIRTUAL void unregisterResource(uint32_t handle);