Revert "fix: unblock xekmd recoverable pagefaults vmbind"

This reverts commit 8f4472a26c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-07-23 16:18:39 +02:00
committed by Compute-Runtime-Automation
parent 9b3ccf73b7
commit ae68df3832
13 changed files with 47 additions and 163 deletions

View File

@@ -1055,7 +1055,11 @@ void Drm::queryPageFaultSupport() {
return;
}
pageFaultSupported = this->ioctlHelper->isPageFaultSupported();
if (const auto paramId = ioctlHelper->getHasPageFaultParamId(); paramId) {
int support = 0;
const auto ret = getParamIoctl(*paramId, &support);
pageFaultSupported = (0 == ret) && (support > 0);
}
}
bool Drm::hasPageFaultSupport() const {