mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
L0Debug - add support for mirrored isa heaps
- allow tileInstanced ISA while debugging Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
643e21631c
commit
92893a5101
@ -196,8 +196,14 @@ void DrmAllocation::registerBOBindExtHandle(Drm *drm) {
|
||||
}
|
||||
|
||||
if (resourceClass != DrmResourceClass::MaxSize) {
|
||||
uint64_t gpuAddress = getGpuAddress();
|
||||
auto handle = drm->registerResource(resourceClass, &gpuAddress, sizeof(gpuAddress));
|
||||
auto handle = 0;
|
||||
if (resourceClass == DrmResourceClass::Isa) {
|
||||
auto deviceBitfiled = static_cast<uint32_t>(this->storageInfo.subDeviceBitfield.to_ulong());
|
||||
handle = drm->registerResource(resourceClass, &deviceBitfiled, sizeof(deviceBitfiled));
|
||||
} else {
|
||||
uint64_t gpuAddress = getGpuAddress();
|
||||
handle = drm->registerResource(resourceClass, &gpuAddress, sizeof(gpuAddress));
|
||||
}
|
||||
registeredBoBindHandles.push_back(handle);
|
||||
|
||||
auto &bos = getBOs();
|
||||
|
Reference in New Issue
Block a user