mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Revert "fix: read scratch page options during init"
This reverts commit 9322495e7d.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
521add6ca7
commit
0f6ce05b93
@@ -98,9 +98,6 @@ Drm *Drm::create(std::unique_ptr<HwDeviceIdDrm> &&hwDeviceId, RootDeviceEnvironm
|
||||
drm->isSetPairAvailable();
|
||||
drm->isChunkingAvailable();
|
||||
|
||||
drm->configureScratchPagePolicy();
|
||||
drm->configureGpuFaultCheckThreshold();
|
||||
|
||||
if (!drm->isPerContextVMRequired()) {
|
||||
if (!drm->createVirtualMemoryAddressSpace(GfxCoreHelper::getSubDevicesCount(rootDeviceEnvironment.getHardwareInfo()))) {
|
||||
printDebugString(debugManager.flags.PrintDebugMessages.get(), stderr, "%s", "INFO: Device doesn't support GEM Virtual Memory\n");
|
||||
@@ -109,6 +106,9 @@ Drm *Drm::create(std::unique_ptr<HwDeviceIdDrm> &&hwDeviceId, RootDeviceEnvironm
|
||||
|
||||
drm->queryAdapterBDF();
|
||||
|
||||
drm->configureScratchPagePolicy();
|
||||
drm->configureGpuFaultCheckThreshold();
|
||||
|
||||
return drm.release();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user