fix(debugger): require immediate binding for Module's allocations

- all bos from Module must have requireImmediateBinding
flag set
- this change fixes hang in debugger - where MODULE LOAD event
was not sent

Resolves: NEO-8121

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2023-07-06 14:15:23 +00:00
committed by Compute-Runtime-Automation
parent 25482ebff1
commit 6205cca038
3 changed files with 39 additions and 0 deletions

View File

@@ -349,6 +349,7 @@ void DrmAllocation::linkWithRegisteredHandle(uint32_t handle) {
for (auto bo : bos) {
if (bo) {
bo->addBindExtHandle(handle);
bo->requireImmediateBinding(true);
}
}
}