mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
fix: modify vmBind event handling conditions
handleVmBind only if all the num_binds and num_extension events and UFENCE events have arrived. Related-To: NEO-11083 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
89b3e7209d
commit
19130dda29
@@ -115,6 +115,7 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
|
||||
struct VmBindData {
|
||||
uint64_t pendingNumBinds = 0;
|
||||
drm_xe_eudebug_event_vm_bind vmBind;
|
||||
bool uFenceReceived = false;
|
||||
drm_xe_eudebug_event_vm_bind_ufence vmBindUfence;
|
||||
std::unordered_map<VmBindOpSeqNo, VmBindOpData> vmBindOpMap;
|
||||
};
|
||||
@@ -132,6 +133,7 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
|
||||
std::unordered_map<VmBindOpSeqNo, VmBindSeqNo> vmBindIdentifierMap;
|
||||
};
|
||||
std::unordered_map<uint64_t, std::shared_ptr<ClientConnectionXe>> clientHandleToConnection;
|
||||
bool canHandleVmBind(VmBindData &vmBindData) const;
|
||||
void handleVmBind(VmBindData &vmBindData);
|
||||
void handleVmBindWithoutUfence(VmBindData &vmBindData, VmBindOpData &vmBindOpData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user