mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Revert "Enable recoverable page faults by default on faultable hardware"
This reverts commit 4591b27900.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
df9069c7bb
commit
06928a345a
@@ -114,6 +114,14 @@ class DrmMock : public Drm {
|
||||
queryPageFaultSupportCalled = true;
|
||||
}
|
||||
|
||||
bool hasPageFaultSupport() const override {
|
||||
if (DebugManager.flags.EnableRecoverablePageFaults.get() != -1) {
|
||||
return !!DebugManager.flags.EnableRecoverablePageFaults.get();
|
||||
}
|
||||
|
||||
return pageFaultSupported;
|
||||
}
|
||||
|
||||
uint32_t createDrmContext(uint32_t drmVmId, bool isDirectSubmissionRequested, bool isCooperativeContextRequested) override {
|
||||
capturedCooperativeContextRequest = isCooperativeContextRequested;
|
||||
if (callBaseCreateDrmContext) {
|
||||
|
||||
Reference in New Issue
Block a user