mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: unblock xekmd recoverable pagefaults vmbind
Related-To: HSD-13011898606 Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4048cbc0c2
commit
cc3e6d5055
@@ -50,6 +50,12 @@ class MockIoctlHelper : public IoctlHelperPrelim20 {
|
||||
return getDrmParamValueResult;
|
||||
}
|
||||
|
||||
std::optional<uint32_t> getVmAdviseAtomicAttribute() override {
|
||||
if (callBaseVmAdviseAtomicAttribute)
|
||||
return IoctlHelperPrelim20::getVmAdviseAtomicAttribute();
|
||||
return vmAdviseAtomicAttribute;
|
||||
}
|
||||
|
||||
bool releaseInterrupt(uint32_t handle) override {
|
||||
releaseInterruptCalled++;
|
||||
latestReleaseInterruptHandle = handle;
|
||||
@@ -84,5 +90,7 @@ class MockIoctlHelper : public IoctlHelperPrelim20 {
|
||||
uint32_t latestReleaseInterruptHandle = InterruptId::notUsed;
|
||||
|
||||
bool releaseInterruptResult = true;
|
||||
bool callBaseVmAdviseAtomicAttribute = true;
|
||||
std::optional<uint32_t> vmAdviseAtomicAttribute{};
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user