Add new IOCTL call to disable persistence on given context

Change-Id: Ia91c8240fe2fac40c067e91ce70867edb2263463
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4048
This commit is contained in:
Kamil Kopryk
2019-12-18 19:38:22 +01:00
committed by sys_ocldev
parent 6ba76147d0
commit 07cacd4e70
10 changed files with 95 additions and 1 deletions

View File

@@ -274,6 +274,9 @@ class DrmMockCustom : public Drm {
*getParam->value = getParamRetValue;
} break;
case DRM_IOCTL_I915_GEM_CONTEXT_SETPARAM: {
} break;
case DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM: {
ioctl_cnt.contextGetParam++;
auto getContextParam = (drm_i915_gem_context_param *)arg;