mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 22:53:04 +00:00
m1n1.fw.asc: Invalidate DART after making new mappings
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
fb9cdcb1e9
commit
deb728adb9
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ class StandardASC(ASC):
|
|||
def iomap(self, addr, size):
|
||||
if self.dart is None:
|
||||
return addr
|
||||
return self.DVA_OFFSET | self.dart.iomap(0, addr, size)
|
||||
dva = self.DVA_OFFSET | self.dart.iomap(0, addr, size)
|
||||
|
||||
self.dart.invalidate_streams(1)
|
||||
return dva
|
||||
|
||||
def ioalloc(self, size):
|
||||
paddr = self.u.memalign(0x4000, size)
|
||||
|
|
Loading…
Reference in a new issue