mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-27 00:40:17 +00:00
m1n1.agx.object: Fix noncoherent object unmap dance
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
fafe5c8c62
commit
85b4dc6b27
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class GPUAllocator:
|
|||
flags2 = dict(obj._map_flags)
|
||||
flags2["AttrIndex"] = MemoryAttr.Shared
|
||||
self.agx.uat.iomap_at(self.ctx, obj._addr_align, obj._paddr_align,
|
||||
obj._size_align, obj._flags)
|
||||
obj._size_align, **flags2)
|
||||
self.agx.uat.flush_dirty()
|
||||
self.agx.uat.handoff.prepare_cacheflush(obj._addr_align, obj._size_align)
|
||||
self.agx.ch.fwctl.send_inval(0x40, obj._addr_align)
|
||||
|
|
Loading…
Reference in a new issue