mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Use Bindless debug sip when L0 debug enabled part 2
- fix module debug area when bindless sip is used Related-To: NEO-5613 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e8b49bee47
commit
ed43964f05
@@ -69,10 +69,8 @@ void DebuggerL0::initialize() {
|
||||
device->getDeviceBitfield()};
|
||||
moduleDebugArea = device->getMemoryManager()->allocateGraphicsMemoryWithProperties(properties);
|
||||
|
||||
bool bindlessSip = NEO::DebugManager.flags.UseBindlessDebugSip.get();
|
||||
|
||||
DebugAreaHeader debugArea = {};
|
||||
debugArea.reserved1 = bindlessSip ? 1 : 0;
|
||||
debugArea.reserved1 = 1;
|
||||
debugArea.size = sizeof(DebugAreaHeader);
|
||||
debugArea.pgsize = 1;
|
||||
debugArea.isShared = moduleDebugArea->storageInfo.getNumBanks() == 1;
|
||||
|
||||
Reference in New Issue
Block a user