#
#asahi-gpu · 2023-04-15 22:55
alyssamelty molten galaxy trace
#asahi-gpu · 2023-04-15 22:55
alyssaon macos
#asahi-gpu · 2023-04-15 22:55
alyssaok, dolphin apples to apples
#asahi-gpu · 2023-04-15 03:11
alyssamultisampling_fails--;!nin
#asahi-gpu · 2023-04-15 02:44
alyssamultisampling_fails--;
#asahi-gpu · 2023-04-14 06:20
jannaulina: dcp 13.3 are in https://github.com/jannau/linux/tree/t602x/bringup - everything seems to work on m2 (tested briefly). possible that further changes are needed on t602x
#asahi-gpu · 2023-04-13 22:44
alyssahooray!
#asahi-gpu · 2023-04-13 22:28
jannaubut swapping surfaces works
#asahi-gpu · 2023-04-13 22:28
jannaunot quite, poweroff is broken, probably not a big deal but just another inserted callback
#asahi-gpu · 2023-04-13 22:23
alyssahooray!
#asahi-gpu · 2023-04-13 22:16
jannauworking now on m2, "4 files changed, 48 insertions(+), 18 deletions(-)"
#asahi-gpu · 2023-04-13 21:36
jannauupdate is not trivial but I'm hopefully down to finding out where the additiona 8 bytes go in the huge swap_submit call
#asahi-gpu · 2023-04-13 20:51
alyssa:blahaj_smiling:
#asahi-gpu · 2023-04-13 20:50
TellowKrinkleIt's okay, we can imagine them just fine when we see those
#asahi-gpu · 2023-04-13 20:43
alyssakinda shame i don't have Lina and Rust stickers on irc
#asahi-gpu · 2023-04-13 20:43
alyssa:crab_crying:
#asahi-gpu · 2023-04-13 20:41
jannauI'd still prefer 13.3 in the hope that it's closer to the version apple releases the next devices with
#asahi-gpu · 2023-04-13 20:40
jannauiboot has a version bump, from 8419.x.y.z (since 13.0 beta 4) to 8422.x.y.z, so maybe 13.2 to 13.3 is a larger update.
#asahi-gpu · 2023-04-13 20:37
alyssa:lina_on_the_floor:
#asahi-gpu · 2023-04-13 20:36
jannauturns out dcp firmware 13.2 and 13.3 are not compatible. there is at least one additional callback before D123
#asahi-gpu · 2023-04-13 13:15
alyssalina: too many competent people in the hw and sw groups so who was left for fw... :P
#asahi-gpu · 2023-04-13 09:09
linaI also suspect some of the register stuff is an actual union in the work command structure, and they still have the NULL pointers to the old fields in the new setup
#asahi-gpu · 2023-04-13 09:09
linaIt's possible that Apple themselves have a single codebase mostly, and just ifdefs for the features/modes...
#asahi-gpu · 2023-04-13 09:08
linajannau: Yeah, so now that I squashed my fixes in, other than a suspected padding field which has weird logic, 100% of the 13.2 -> 13.3 changes in initdata affected both the G14X and the G14G branches identically.
#asahi-gpu · 2023-04-13 08:55
jannauprobably make sense to use 13.3 anyway under the assumption that most of changes will remain in later versions
#asahi-gpu · 2023-04-13 08:50
linaUnfortuntely no, the register list thing didn't get backported to g14g (or at least not yet)... but at least some/many 13.2 -> 13.3 changes apply to both branches.
#asahi-gpu · 2023-04-13 08:00
linaYeah, I have 13.0b4 and 13.2 right now for everything and it's getting unwieldy, including changes that got reverted. So I think once I figure out if this is worth it, I'll drop those which were more of a PoC.
#asahi-gpu · 2023-04-13 07:59
jannauno reason to support a a firmware variant if we don't have to
#asahi-gpu · 2023-04-13 07:59
jannauI'm surprised. no objections from my side. I'll check and fix dcp if it needs changes
#asahi-gpu · 2023-04-13 07:57
linaI'm going to look at H14G next, we'll find out as soon as macOS installs ^^
#asahi-gpu · 2023-04-13 07:56
linaI get the feeling they might have unified this or plan to, but I still need to check other platforms
#asahi-gpu · 2023-04-13 07:55
linaI just worked out the struct changes, besides more initdata shuffling there's a few changes to 3D fields too...
#asahi-gpu · 2023-04-13 07:55
linajannau: All the firmwares changed significantly in 13.3 vs 13.2...
#asahi-gpu · 2023-04-13 07:27
jannaulina: I'd be surprised if they changed the older platforms to the way h14j works in 13.3. I don't expect many chnages (if any) for dcp in 13.3
#asahi-gpu · 2023-04-13 07:04
linaThe firmwares did change, though 13.3 and 13.3.1 are the same and they have the same iBoot version, so we might want to target 13.3 if it makes sense over 13.2 I think
#asahi-gpu · 2023-04-13 06:29
linajannau: Soooo Apple made some major changes in the t602x GPU ABI that aren't in the other GPU variants, so I'm going to try 13.3.1 to see if any of that got unified by any chance
#asahi-gpu · 2023-04-13 06:20
dottedmaglina: ah, cool
#asahi-gpu · 2023-04-13 06:16
linadottedmag: Each client has its own VA space (or actually as many separate VA spaces as it wants), so there is nothing too coordinate ^^
#asahi-gpu · 2023-04-13 05:55
dottedmagalyssa: How well this works (or going to work) with several non-coordinating clients?
#asahi-gpu · 2023-04-12 23:26
alyssamaybe you should add an assert upstream? ;)
#asahi-gpu · 2023-04-12 23:26
alyssaoh, hm
#asahi-gpu · 2023-04-12 23:24
jannauI guess with this design you can start with an empty heap and free available VA spaces, i.e. add multiple disjunct heaps
#asahi-gpu · 2023-04-12 23:18
jannaualyssa: I was expecting an assert in util_vma_heap_free if the address is outside of the range given in util_vma_heap_init()
#asahi-gpu · 2023-04-12 22:33
alyssaand it uses a heap of free VAs to allocate from, and returns VAs back to the heap when the correpsonding memory is unmapped
#asahi-gpu · 2023-04-12 22:33
alyssakernel just gets told where to map things, up to userspace to allocate VAs
#asahi-gpu · 2023-04-12 22:33
alyssajannau: in our (well, Lina's) UAPI, userspace manages its own VAs
#asahi-gpu · 2023-04-12 11:24
jannaua little surprising that random VAs can be "returned" to the heap
#asahi-gpu · 2023-04-12 11:24
jannaufixed by https://gitlab.freedesktop.org/asahi/mesa/-/merge_requests/45 - free low VA space is now reused instead of exhausting the VA space
#asahi-gpu · 2023-04-12 09:48
chadmed_had to install a new switch after work sorry for the delay!
#asahi-gpu · 2023-04-12 09:48
chadmed_lina: https://gist.github.com/chadmed/4dd029b19c98fc610b56a469a69aa815

plus ›