2021-08-29
02:31phiologe has joined #asahi-dev
02:33PhilippvK has quit [Ping timeout: 480 seconds]
03:08skipwich has quit [Ping timeout: 480 seconds]
03:43alyssa[syslog] * [FramebufferDCP.cpp:1824]virtual IOMFBStatus IOMobileFramebuffer::swap_submit_dcp(const IOMFBSwap *, IOMFB::Surface **, const uint32_t *, bool, double,
03:51alyssaBy the way, since it wasn't obvious to me (and so probably isn't obvious for anyone here but marcan)--
03:53alyssa[syslog] * [UPPipeDCP_H13P.cpp:3320]IOMFB verify_active_surface_count: cannot blend more than 2 layers
03:54alyssamarcan: that explains why you saw macos fuse the cursor into the main fb .... that's the only way to make room for an overlay plane for video compositing, etc
03:56alyssaYeah. I'd say "just firmware, there are 4 in 12.x after all" but that doesn't explain why there seemed to be 3 slots in the registers too..
03:56alyssaUnless DCP has a particular meaning of "blend" (i.e. scaling or CSC or overlapping or something)
08:31aleasto has joined #asahi-dev
11:14gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
11:14gabuscus has joined #asahi-dev
12:20al3xtjames2 has joined #asahi-dev
12:24al3xtjames has quit [Ping timeout: 480 seconds]
12:24al3xtjames2 is now known as al3xtjames
12:26aleasto has quit [Remote host closed the connection]
13:52PhilippvK has joined #asahi-dev
13:55phiologe has quit [Ping timeout: 480 seconds]
14:01alyssamarcan: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/cocoa/IOSurface.mm#L197-L212
15:03marcanalyssa: you mean like https://developer.limneos.net/index.php?ios=5.0&framework=CoreVideo.framework&header=CVPixelBuffer.h ? :p
15:44bps has quit [Ping timeout: 480 seconds]
17:22j_eyif you still get those SERRORs, try https://paste.gg/p/anonymous/a420eb5337bb48419018512753e924eb
17:24alyssa[ 0.116190] Unable to handle kernel NULL pointer dereference at virtual address 000000000000022c
17:38chadmed has quit [Read error: Connection reset by peer]
17:52balrog has quit [Ping timeout: 480 seconds]
18:27j_eywell sven found a workaround for now, but it looks like https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/nvme?id=e7006de6c23803799be000a5dcce4d916a36541a broke things
18:28j_eythe tag / command_id is 16 bits in the code, but we think the hw might only care about 8 bits, so therefore it's 0-ing out the 'gen' thats put into the top 4 bits
18:29svenand while we can theoretically hot plug usb-c devices now, we can't really distinguish between the two ports yet.
18:33svenkettenis_: yes, because otherwise the other phy will get a reset as well and whatever is plugged in there will stop working
18:34sventhere's still that pd chip on i2c. that should hopefully also have some interrupt to detect a new connection
18:35sveni just see both the SMC notification and some USB PD interrupt and a few moments later it issues the PHY reset
18:36pipcet[m]sven: do you see a PD interrupt if you unplug a device from a typec-typea adapter? rather than unplugging the adapter?
18:37pipcet[m]is it reading something else from the SMC, maybe? maybe there's a bit in there for each port...
18:43svenhttps://github.com/AsahiLinux/linux/commits/sven/20210829 too lazy to split it properly, but that contains the current WIP state. will at least put the nvme stuff back in the feature branches later this week
19:22balrog has joined #asahi-dev
19:56bps has joined #asahi-dev
20:14pipcet[m]D1St and D2St are SMC keys that might correspond to device connection status, but I'm not sure that's what we want
20:14svenyeah, might be easier to just rely on the usb pd interrupts (which should exist) at that point
20:15pipcet[m]IIRC we don't get those interrupts if it's the remote end of a type-a/type-c adapter that's disconnected
20:36bps has quit [Ping timeout: 480 seconds]
20:39Mary has quit [Quit: The Lounge - https://thelounge.chat]
20:42Mary has joined #asahi-dev
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01balrog has quit [Quit: Bye]
22:01yrlf has joined #asahi-dev
22:14balrog has joined #asahi-dev