fix: remove setting scratch page flag in xe path

Related-To: HSD-18037680815
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-03-28 06:47:59 +00:00
committed by Compute-Runtime-Automation
parent dae901c13f
commit 3b1e6b61e4
2 changed files with 4 additions and 7 deletions

View File

@@ -765,9 +765,6 @@ uint32_t IoctlHelperXe::getFlagsForVmCreate(bool disableScratch, bool enablePage
if (enablePageFault) {
flags |= DRM_XE_VM_CREATE_FLAG_FAULT_MODE;
}
if (!disableScratch) {
flags |= DRM_XE_VM_CREATE_FLAG_SCRATCH_PAGE;
}
return flags;
}