mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Add mock function to check for page fault support
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7ea0a11c0a
commit
b8aa2871bd
@@ -173,7 +173,7 @@ class Drm : public DriverModel {
|
||||
MOCKABLE_VIRTUAL bool registerResourceClasses();
|
||||
|
||||
MOCKABLE_VIRTUAL void queryPageFaultSupport();
|
||||
bool hasPageFaultSupport() const;
|
||||
MOCKABLE_VIRTUAL bool hasPageFaultSupport() const;
|
||||
|
||||
MOCKABLE_VIRTUAL uint32_t registerResource(ResourceClass classType, const void *data, size_t size);
|
||||
MOCKABLE_VIRTUAL void unregisterResource(uint32_t handle);
|
||||
|
||||
@@ -141,7 +141,7 @@ void Drm::queryPageFaultSupport() {
|
||||
}
|
||||
|
||||
bool Drm::hasPageFaultSupport() const {
|
||||
return pageFaultSupported;
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user