#
#asahi-gpu · 2022-10-03 08:06
marcanon the silicon you can see how each DCP has two mirrored halves
#asahi-gpu · 2022-10-03 08:06
marcanit's a waste of hardware though, I agree
#asahi-gpu · 2022-10-03 08:05
marcan(2 on M1 Pro, 4 on M1 Max, 8 on M1 Ultra)
#asahi-gpu · 2022-10-03 08:05
marcanthe pro machines have a separate DCPEXT, each with two pipes, for every supported monitor output
#asahi-gpu · 2022-10-03 08:05
marcanapple clearly designed these things with two pipes for tiled stuff only, even if you can abuse it for independent displays
#asahi-gpu · 2022-10-03 08:05
marcanwell, it's only sort-of fake
#asahi-gpu · 2022-10-03 08:04
karolherbstone external display really is limited, especially if it sounds like to be such a fake limitation
#asahi-gpu · 2022-10-03 08:04
karolherbst"fun"
#asahi-gpu · 2022-10-03 08:03
marcanthe DCP powers that on when the output comes up
#asahi-gpu · 2022-10-03 08:03
marcanso there's *two* layers of firmware
#asahi-gpu · 2022-10-03 08:03
karolherbstuhhh
#asahi-gpu · 2022-10-03 08:03
marcanthere's a cortex-m3 for realtime stuff
#asahi-gpu · 2022-10-03 08:03
marcanalso, it's inception
#asahi-gpu · 2022-10-03 08:03
karolherbsty
#asahi-gpu · 2022-10-03 08:03
karolherbstas long as you don't clock memory, it's not complicated... normall
#asahi-gpu · 2022-10-03 08:02
marcansame firmware interface for any given macOS version for all socs
#asahi-gpu · 2022-10-03 08:02
marcanplus, it abstracts out platform differences for us
#asahi-gpu · 2022-10-03 08:02
marcan(as insane as it is, yes)
#asahi-gpu · 2022-10-03 08:02
karolherbstthen it's probably better to use the firmware
#asahi-gpu · 2022-10-03 08:02
marcanand I certainly am not looking forward to reverse engineering clocking, training, RT bandwidth calculations, and all that nonsense
#asahi-gpu · 2022-10-03 08:02
karolherbstyeah.. if it's either all or nothing I agree
#asahi-gpu · 2022-10-03 08:02
marcanthere's a *lot* of stuff in there
#asahi-gpu · 2022-10-03 08:02
marcanwell... the megabytes of firmware beg to differ
#asahi-gpu · 2022-10-03 08:01
karolherbstand also not that much work actually
#asahi-gpu · 2022-10-03 08:01
marcan(which is possible)
#asahi-gpu · 2022-10-03 08:01
marcanbut yes, if we wanted to bypass the firmware, the only practical option is to just never power on the coprocessor and do everything ourselves directly against hardware
#asahi-gpu · 2022-10-03 08:01
karolherbstwondering if there is a way to put the firmware into a mode it ignores display related stuff
#asahi-gpu · 2022-10-03 08:01
marcanI'm not sure we want to go there
#asahi-gpu · 2022-10-03 08:01
marcanplus then that means we get to implement wonders like DP training
#asahi-gpu · 2022-10-03 08:01
marcanyes, but it's easy to crash the firmware doing that
#asahi-gpu · 2022-10-03 08:00
karolherbstis there a way to configure the hardware behind the firmwares back?
#asahi-gpu · 2022-10-03 08:00
karolherbstimpressive split
#asahi-gpu · 2022-10-03 07:59
marcanyeah.
#asahi-gpu · 2022-10-03 07:59
karolherbstnot sure messing with EDIDs is a sustainable plan...
#asahi-gpu · 2022-10-03 07:59
marcanI can see this being practical for the special case of two identical monitors with identical EDIDs
#asahi-gpu · 2022-10-03 07:59
marcanimagine the combinatronics...
#asahi-gpu · 2022-10-03 07:59
marcanso then what, we read the EDIDs manually via the EPIC i2c interfaces, and conjure up some "merged" EDID with a tiled descriptor, then inject that?
#asahi-gpu · 2022-10-03 07:59
karolherbstyeah...
#asahi-gpu · 2022-10-03 07:58
marcanfin
#asahi-gpu · 2022-10-03 07:58
marcansees no tiled descriptor, refuses to use #1
#asahi-gpu · 2022-10-03 07:58
marcanit probably just picks #0 and uses that
#asahi-gpu · 2022-10-03 07:58
marcanbut then that's the thing, you plug in two displays with two EDIDs, route them to separate pipes of the DCP, then what?
#asahi-gpu · 2022-10-03 07:58
karolherbstthough the firmware might just use one of those
#asahi-gpu · 2022-10-03 07:58
marcanRight
#asahi-gpu · 2022-10-03 07:58
karolherbstthere is just a property telling the OS that it's a tiled one
#asahi-gpu · 2022-10-03 07:58
marcanI suspect this is all going to be, if possible at all, a very, very limited hack (that probably shouldn't even be enabled by default)
#asahi-gpu · 2022-10-03 07:57
karolherbstI think the EDID is the same on both outputs
#asahi-gpu · 2022-10-03 07:57
marcanLike, how does the top-level decide what "mode" to expose downstream? Does it rely on tiled display descriptors in the EDID? Do we need to start conjuring up weird EDIDs that merge the real EDIDs somehow and use the virtual EDID feature (I *think* that is a thing)?
#asahi-gpu · 2022-10-03 07:56
karolherbstyeah.. that's the important question here
#asahi-gpu · 2022-10-03 07:56
marcanI'm not even sure if it will work with non-identical monitors

plus ›