#
✕ nick:marcan
#asahi-re · 2021-08-30 03:20
marcanyeah I think this is all kosher
#asahi-re · 2021-08-30 03:20
marcanso pick one that will be the "parent" driver that kicks everything off, then that defers probing until everything else is probed
#asahi-re · 2021-08-30 03:20
marcansibling nodes with a reference, like interrupt-parent and such
#asahi-re · 2021-08-30 03:19
marcanbut I mean, you can have different drivers in one module that just happen to know about each other and share all kinds of private data
#asahi-re · 2021-08-30 03:18
marcanthat's kind of different, that's multiple devices sharing one register mapping
#asahi-re · 2021-08-30 03:18
marcanwell, you can still have different devices from Linux's point of view, managed by one driver
#asahi-re · 2021-08-30 03:17
marcanthey should probably be a single driver tbh :p
#asahi-re · 2021-08-30 03:17
marcanheh
#asahi-re · 2021-08-30 03:16
marcanha
#asahi-re · 2021-08-30 03:16
marcan:p
#asahi-re · 2021-08-30 03:15
marcanyou really care about your 4K don't you :p
#asahi-re · 2021-08-30 03:14
marcannice!
#asahi-re · 2021-08-30 03:14
marcan:D
#asahi-re · 2021-08-30 03:13
marcanit's okay, review will take care of that :D
#asahi-re · 2021-08-30 03:12
marcanit's our job to stick it to apple and make the linux version orders of magnitude more beautiful ;)
#asahi-re · 2021-08-30 03:12
marcanwe know it's a mess :p
#asahi-re · 2021-08-30 03:12
marcanlook, don't try to make sense of this
#asahi-re · 2021-08-30 03:11
marcanprobably because the bit or something? this is calling out to some other RTBandwidth service
#asahi-re · 2021-08-30 03:10
marcanI expect the bit will change for dispext, need to see where that comes from
#asahi-re · 2021-08-30 03:10
marcanit's just telling DCP about some registers
#asahi-re · 2021-08-30 03:10
marcanturns out it was 90% uninitialized memory bullshit
#asahi-re · 2021-08-30 03:10
marcanalyssa: https://github.com/AsahiLinux/m1n1/commit/219950235c5f95be8e7c2f69c0039317fdeaf895 enjoy
#asahi-re · 2021-08-30 03:03
marcanlooks like it's just telling it about some IRQ or something
#asahi-re · 2021-08-30 03:03
marcanthis is good, I thought this was going to be some mess involving Math™
#asahi-re · 2021-08-30 03:00
marcanI think one is actually reg + bit
#asahi-re · 2021-08-30 02:59
marcanbut there are three physmem pointers returned, to registers
#asahi-re · 2021-08-30 02:59
marcanthen I think most of the structure is actually just uninitialized garbage
#asahi-re · 2021-08-30 02:59
marcanalyssa: so actually what that rt bandwidth thing does is call function-bw_req_interrupt0 from the ADT (which is a link to elsewhere)
#asahi-re · 2021-08-29 16:00
marcanmaybe it's just Not Done Yet
#asahi-re · 2021-08-29 16:00
marcanthat's so confusing, if they increased the ABI count one would presume they expect to release hardware with more slots, but then they don't even support the existing 3?
#asahi-re · 2021-08-29 16:00
marcanyeah but the DCP ABI used to have 3 slots, now it has 4... yet it limits it to 2... but the hardware apparently supports 3?
#asahi-re · 2021-08-29 15:54
marcanthat is so bizarre
#asahi-re · 2021-08-29 15:54
marcanit really is just max 2 surfaces at one time
#asahi-re · 2021-08-29 15:54
marcanalyssa: looks like that limitation isn't for blending though
#asahi-re · 2021-08-29 15:50
marcanthere was one with a non-text code in the past, but I don't recall seeing any of those in DCP
#asahi-re · 2021-08-29 15:49
marcanit doesn't look like there's XBGR
#asahi-re · 2021-08-29 15:49
marcanalyssa: and yeah, looking at the format codes it sounds like there should be some flag to disable alpha blending?
#asahi-re · 2021-08-29 11:20
marcanshould be easy to work out with monitor rotation on macos
#asahi-re · 2021-08-29 11:20
marcanre flips, there have to be flags for that somewhere...
#asahi-re · 2021-08-29 11:19
marcanif you're using ARGB for everything that could explain that
#asahi-re · 2021-08-29 11:19
marcanthat also makes sense, since you'd have two layers with alpha on top of one without
#asahi-re · 2021-08-29 11:19
marcanalyssa: maybe "blend" means specificially formats with alpha
#asahi-re · 2021-08-26 06:48
marcanwell engineered, this
#asahi-re · 2021-08-26 06:48
marcanheh
#asahi-re · 2021-08-26 06:47
marcanwhat are these people smoking
#asahi-re · 2021-08-26 06:46
marcansigh
#asahi-re · 2021-08-26 06:46
marcansven: and then I guess "crashed" is just "the same message, the second time around?"
#asahi-re · 2021-08-26 06:46
marcanheh, I was wondering that
#asahi-re · 2021-08-24 03:34
marcanI don't know what ttbat-phys-addr-base is
#asahi-re · 2021-08-24 03:34
marcanthose are carveouts

plus ›