#
#asahi-dev · 2023-03-04 15:46
marcanand then put the apple pipe stuff in front
#asahi-dev · 2023-03-04 15:45
marcanso I guess if you're lucky you can use that driver mostly as-is for the MIPI stuff, described in the device tree as a bridge
#asahi-dev · 2023-03-04 15:44
ChaosPrincessoh
#asahi-dev · 2023-03-04 15:44
marcanstatus0/status1 I assume, IRQ flags
#asahi-dev · 2023-03-04 15:44
ChaosPrincesswhats st0/st1?
#asahi-dev · 2023-03-04 15:43
marcanapple strings: "ST0" "ST1" "DSIM_CORE_PHY_STATUS" from that file: "DSI_INT_ST0" "DSI_INT_ST1" "DSI_PHY_STATUS"
#asahi-dev · 2023-03-04 15:43
marcanand yeah okay that matches even better
#asahi-dev · 2023-03-04 15:42
marcanoh also lol drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c is a thing.
#asahi-dev · 2023-03-04 15:40
ChaosPrincesswhatever IOSlowAdaptiveClockingFamily is
#asahi-dev · 2023-03-04 15:40
ChaosPrincessyea, that sounds apple
#asahi-dev · 2023-03-04 15:39
marcanthere's also this "slow adaptive clocking" thing which might be an apple thing
#asahi-dev · 2023-03-04 15:39
ChaosPrincessthanks
#asahi-dev · 2023-03-04 15:38
marcanmaybe start there
#asahi-dev · 2023-03-04 15:38
marcanChaosPrincess: I have a suspicion drm/msm/dsi/dsi_phy_7nm.xml.h and nearby files are related to that synopsys core, going by a few apple strings (there aren't many to go by though)
#asahi-dev · 2023-03-04 15:36
eilnmountain view next to some other techies -- lived near there
#asahi-dev · 2023-03-04 15:32
alyssamaybe an office there then
#asahi-dev · 2023-03-04 15:32
alyssanope, Bay Area
#asahi-dev · 2023-03-04 15:31
alyssa(Toronto-Boston, apparently Synopsys is based in Boston?)
#asahi-dev · 2023-03-04 15:27
marcan:D
#asahi-dev · 2023-03-04 15:24
sven:D
#asahi-dev · 2023-03-04 15:23
alyssaI once sat next to a Synopsys employee on a commercial flight. He apologized to me on behalf of hardware engineers everywhere.
#asahi-dev · 2023-03-04 15:23
kettenisand gpu/drm/bridge/synopsys/dw-mipi-dsi.c
#asahi-dev · 2023-03-04 15:23
jannauthere's Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
#asahi-dev · 2023-03-04 15:23
svenif only everything they did wasn’t so broken
#asahi-dev · 2023-03-04 15:22
ChaosPrincessyea, kinda hoping for that
#asahi-dev · 2023-03-04 15:22
sven<3 synopsys
#asahi-dev · 2023-03-04 15:21
marcanwell the good thing about synopsys junk is there's a good chance one of the other MIPI drivers in the kernel is secretly the same core
#asahi-dev · 2023-03-04 15:21
ChaosPrincessalso, there are calls from the multitouch driver into that hairball, because apple
#asahi-dev · 2023-03-04 15:21
marcanso H13DFR is the display pipe, the synopsys driver is the MIPI host, and SummitLCD is the panel driver
#asahi-dev · 2023-03-04 15:21
ChaosPrincessthats the mipi device, the prev one is controller
#asahi-dev · 2023-03-04 15:21
marcanyeah, just saw that one too
#asahi-dev · 2023-03-04 15:21
ChaosPrincessalso, AppleSummitLCD
#asahi-dev · 2023-03-04 15:21
marcanwell now you know it's more synopsys junk
#asahi-dev · 2023-03-04 15:21
marcanoh wait, yeah, separate driver. lovely...
#asahi-dev · 2023-03-04 15:20
ChaosPrincessmipi lives in AppleSynopsysMIPIDSI
#asahi-dev · 2023-03-04 15:19
marcanI also don't see any mipi strings which is weird...
#asahi-dev · 2023-03-04 15:18
marcanat least I don't see any cortex-m3 references so that's good for you :p
#asahi-dev · 2023-03-04 15:15
marcanit definitely has scaling and layers, but also probably 80% of that functionality is never used for the touch bar
#asahi-dev · 2023-03-04 15:14
ChaosPrincesssadly, my checkrainable iphone kinda died and i can't get a new ioreg from that
#asahi-dev · 2023-03-04 15:13
ChaosPrincessthe ioreg class is AppleMobileADBE0 , and i remember seeing that in iphone ioregs
#asahi-dev · 2023-03-04 15:13
marcanokay so it's a copy pasted *A8* display controller then
#asahi-dev · 2023-03-04 15:12
marcanAppleH7DisplayPipe.cpp
#asahi-dev · 2023-03-04 15:12
marcan*strings*
#asahi-dev · 2023-03-04 15:12
marcan813984 ./AppleMobileDispH13G-DFR.kext/Contents/MacOS/AppleMobileDispH13G-DFR
#asahi-dev · 2023-03-04 15:12
marcanmarcan@raider:~/asahi/vendor-bins/Extensions/12.4 -$ wc -c ./AppleMobileDispH13G-DFR.kext/Contents/MacOS/AppleMobileDispH13G-DFR
#asahi-dev · 2023-03-04 15:12
marcan3544864 ./AppleMobileDispH13G.kext/Contents/MacOS/AppleMobileDispH13G
#asahi-dev · 2023-03-04 15:12
marcanmarcan@raider:~/asahi/vendor-bins/Extensions/12.4 -$ wc -c ./AppleMobileDispH13G.kext/Contents/MacOS/AppleMobileDispH13G
#asahi-dev · 2023-03-04 15:12
eilnthe ane kext is still named h11 lol
#asahi-dev · 2023-03-04 15:11
marcanso I don't think so
#asahi-dev · 2023-03-04 15:11
marcanit is *much* larger than the touch bar DFR driver

plus ›