mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
feature: place device bitfield in debugger metadata
Device bitfield is used to track tile instanced isa segments by dmgUMD Related-To: NEO-11104 Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ee3ef684ad
commit
4111821c86
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2023-2024 Intel Corporation
|
||||
* Copyright (C) 2023-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -1565,6 +1565,17 @@ void IoctlHelperXe::registerBOBindHandle(Drm *drm, DrmAllocation *drmAllocation)
|
||||
case AllocationType::debugModuleArea:
|
||||
resourceClass = DrmResourceClass::moduleHeapDebugArea;
|
||||
break;
|
||||
case AllocationType::kernelIsa:
|
||||
if (drmAllocation->storageInfo.tileInstanced) {
|
||||
auto &bos = drmAllocation->getBOs();
|
||||
for (auto bo : bos) {
|
||||
if (!bo) {
|
||||
continue;
|
||||
}
|
||||
bo->setRegisteredBindHandleCookie(drmAllocation->storageInfo.subDeviceBitfield.to_ulong());
|
||||
}
|
||||
}
|
||||
return;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user