mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add alternative residency model on Linux
Related-To: NEO-4732 Change-Id: I79e165d2b647af200ca314e1183ecf05903de644 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
@@ -114,6 +114,11 @@ int DrmMock::ioctl(unsigned long request, void *arg) {
|
||||
static_cast<drm_i915_gem_context_param *>(arg)->value = this->StoredPersistentContextsSupport;
|
||||
return this->StoredRetValForPersistant;
|
||||
}
|
||||
|
||||
if (receivedContextParamRequest.param == I915_CONTEXT_PARAM_VM) {
|
||||
static_cast<drm_i915_gem_context_param *>(arg)->value = 1u;
|
||||
return 0u;
|
||||
}
|
||||
}
|
||||
|
||||
if (request == DRM_IOCTL_I915_GEM_EXECBUFFER2) {
|
||||
|
||||
Reference in New Issue
Block a user