am: 48bit for gfx950 (#14799)

This commit is contained in:
nimlgen
2026-02-16 22:48:07 +03:00
committed by GitHub
parent 9f8afb518c
commit 7ddc888ad5

View File

@@ -70,7 +70,7 @@ class AM_GMC(AM_IP):
self.trans_futher = self.adev.ip_ver[am.GC_HWIP] < (10, 0, 0)
# mi3xx has 48-bit, others have 44-bit address space
self.address_space_mask = (1 << (48 if self.adev.ip_ver[am.GC_HWIP][:2] == (9,4) else 44)) - 1
self.address_space_mask = (1 << (48 if self.adev.ip_ver[am.GC_HWIP][:2] in {(9,4), (9,5)} else 44)) - 1
self.memscratch_xgmi_paddr = self.adev.paddr2xgmi(self.adev.mm.palloc(0x1000, zero=False, boot=True))
self.dummy_page_xgmi_paddr = self.adev.paddr2xgmi(self.adev.mm.palloc(0x1000, zero=False, boot=True))