mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
fix: Configure scratch pages for debugger
DG2 requires scratch pages on for debugger. Other platforms do not. Related-to: NEO-13883 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
106e8be9a9
commit
635f69e54a
@@ -31,6 +31,7 @@ class DrmMock : public Drm {
|
||||
using Drm::chunkingMode;
|
||||
using Drm::completionFenceSupported;
|
||||
using Drm::contextDebugSupported;
|
||||
using Drm::disableScratch;
|
||||
using Drm::engineInfo;
|
||||
using Drm::engineInfoQueried;
|
||||
using Drm::fenceVal;
|
||||
|
||||
@@ -25,5 +25,6 @@ struct MockProductHelper : ProductHelperHw<IGFX_UNKNOWN> {
|
||||
ADDMETHOD_CONST_NOBASE(isHostUsmAllocationReuseSupported, bool, false, ());
|
||||
ADDMETHOD_CONST_NOBASE(isUsmPoolAllocatorSupported, bool, false, ());
|
||||
ADDMETHOD_CONST_NOBASE(is2MBLocalMemAlignmentEnabled, bool, false, ());
|
||||
ADDMETHOD_CONST_NOBASE(isDisableScratchPagesRequiredForDebugger, bool, true, ());
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
@@ -76,6 +76,7 @@ using IsNotDG1 = IsNotWithinProducts<IGFX_DG1, IGFX_DG1>;
|
||||
using IsAtLeastPVC = IsAtLeastProduct<IGFX_PVC>;
|
||||
using IsAtMostPVC = IsAtMostProduct<IGFX_PVC>;
|
||||
using IsNotPVC = IsNotWithinProducts<IGFX_PVC, IGFX_PVC>;
|
||||
using IsNotDG2 = IsNotWithinProducts<IGFX_DG2, IGFX_DG2>;
|
||||
using IsNotPvcOrDg2 = IsNotWithinProducts<IGFX_DG2, IGFX_PVC>;
|
||||
|
||||
using IsAtMostArl = IsAtMostProduct<IGFX_ARROWLAKE>;
|
||||
|
||||
Reference in New Issue
Block a user