mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
fix(debugger): use per-context fences for vm_bind operations
- vm_bind with user fence updates fence value independently for every VM hence with per-context VMs, every context needs its unique fence address. This prevents 2 contexts from updating value possibly writing lower value than the one that was already stored Resolves: NEO-8004 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
af4fd337c5
commit
7d82b690e4
@@ -12,6 +12,8 @@ namespace NEO {
|
||||
class MockOsContextLinux : public OsContextLinux {
|
||||
public:
|
||||
using OsContextLinux::drmContextIds;
|
||||
using OsContextLinux::fenceVal;
|
||||
using OsContextLinux::pagingFence;
|
||||
|
||||
MockOsContextLinux(Drm &drm, uint32_t rootDeviceIndex, uint32_t contextId, const EngineDescriptor &engineDescriptor)
|
||||
: OsContextLinux(drm, rootDeviceIndex, contextId, engineDescriptor) {}
|
||||
|
||||
Reference in New Issue
Block a user