2022-11-13
00:19capta1nt0ad has quit [Quit: Konversation terminated!]
00:25millenialhacker has joined #asahi-dev
00:33millenialhacker has quit [Ping timeout: 480 seconds]
00:34capta1nt0ad has joined #asahi-dev
00:35Dcow has quit [Remote host closed the connection]
00:36Dcow has joined #asahi-dev
00:36capta1nt0ad has quit []
00:39capta1nt0ad has joined #asahi-dev
00:44Dcow has quit [Ping timeout: 480 seconds]
01:08Dcow has joined #asahi-dev
01:16Dcow has quit [Ping timeout: 480 seconds]
01:21chadmed has joined #asahi-dev
01:44Dcow has joined #asahi-dev
01:52Dcow has quit [Ping timeout: 480 seconds]
02:19___nick___ has quit []
02:21___nick___ has joined #asahi-dev
02:21___nick___ has quit []
02:23___nick___ has joined #asahi-dev
03:22millenialhacker has joined #asahi-dev
03:28pthariensflame has joined #asahi-dev
03:30millenialhacker has quit [Ping timeout: 480 seconds]
03:31Dcow has joined #asahi-dev
03:39Dcow has quit [Ping timeout: 480 seconds]
03:47amarioguy has quit [Quit: Leaving]
04:08Dcow has joined #asahi-dev
04:16Dcow has quit [Ping timeout: 480 seconds]
04:29kevans91_ has quit [Remote host closed the connection]
04:46millenialhacker has joined #asahi-dev
04:54millenialhacker has quit [Ping timeout: 480 seconds]
05:04pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
05:18pthariensflame has joined #asahi-dev
05:26pthariensflame has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:28pthariensflame has joined #asahi-dev
05:28pthariensflame has quit []
05:49Dcow has joined #asahi-dev
05:57Dcow has quit [Ping timeout: 480 seconds]
06:16Dcow has joined #asahi-dev
06:24Dcow has quit [Ping timeout: 480 seconds]
06:24millenialhacker has joined #asahi-dev
06:32millenialhacker has quit [Ping timeout: 480 seconds]
06:59SSJ_GZ has joined #asahi-dev
08:14chadmedadding the equal loudness compensator to the pipewire filter chain helps a decent amount with sound quality at low volumes, as youd expect
08:31millenialhacker has joined #asahi-dev
08:39millenialhacker has quit [Ping timeout: 480 seconds]
08:48millenialhacker has joined #asahi-dev
09:03chadmed has quit [Remote host closed the connection]
09:18millenialhackerty ChaosPrincess
09:44millenialhacker has quit [Remote host closed the connection]
09:59gladiac has joined #asahi-dev
10:20millenialhacker has joined #asahi-dev
10:20millenialhacker has quit [Remote host closed the connection]
10:20millenialhacker has joined #asahi-dev
10:40kov has quit [Quit: Coyote finally caught me]
10:54gabuscus has quit []
10:54gabuscus has joined #asahi-dev
11:16kov has joined #asahi-dev
11:22svenjannau: hrm, so I don't have a display that actually requires 4 lanes so both pma_single seem to work for me. would be great if you can figure out the right UNK008/UNK100 setting if you have some time!
11:33svenso I see [PhyTracer@/arm-io/atc-phy1] MMIO: W.4 ACIOPHY_CROSSBAR = 0x114 (PROTOCOL_SWAPPED=0, PROTOCOL=0xa(DP), DPMODE=0x8) for one orientation
11:33svenand [PhyTracer@/arm-io/atc-phy1] MMIO: W.4 ACIOPHY_CROSSBAR = 0x22014 (PROTOCOL_SWAPPED=0, PROTOCOL=0xa(DP), DPMODE=0x1100) for the other one
11:35jannauI think I saw that as well but setting both_pma didn't seem to have an effect with UNK008
11:43svenlet's see if I can move the pipehandler configuration into the phy power_on callback because apparently doing phy_set_mode after xhci init breaks some intel platform *sigh*
11:51weitcis has joined #asahi-dev
12:14jannausuperspeed detection works now but either you or I broke DP hotplug detection. rebased again and with local modifications, so it's probablyy me
12:25Dcow has joined #asahi-dev
12:32jannauit looks like it was the monitor. after power cycling it I see the hotplug. unfortunately it results in "phy-apple-atc b03000000.phy: pipehandler lock not acked, this type-c port is probably dead until the next reboot."
12:46jannauyes. that fixes it and DP works in both plug orientations with "both_pma = true and UNK100" / "both_pma = false and UNK008"
12:53cylm has joined #asahi-dev
12:54svenlet me verify if my new role switch reset quirk still works without a phy present. Then I’ll just have to rework those apple,dwc3 bindings before trying to upstream it
12:55svenno matter how thunderbolt eventually fits into this mess that role switch thing is good enough to bring dwc3 up/down whenever we need it
13:12beeblebrox has joined #asahi-dev
13:14svenwe can probably also soonish enable usb3 in asahi-dev at least. Just want to fix some minor things, move the pipehandler stuff to pwoer_on and test it a bit more
14:09beeblebrox has quit [Quit: Konversation terminated!]
14:43__nick__ has joined #asahi-dev
14:46___nick___ has quit [Ping timeout: 480 seconds]
15:07zalyx has quit [Quit: later alligator]
15:09zalyx has joined #asahi-dev
15:13kallisti has joined #asahi-dev
15:32jannauembracing no drm atomic commits instead of trying to work around them and pretending that backlight control is a form of color management
15:34jannauassuming that the backlight changes which will integrate brightness control with drm will be ready before dcp
15:43svenlet me clean up tipd a bit, then ideally get confirmation that usb3 works on all machines out there (especially m2) and then I’ll prepare something for marcan to merge into asahi-dev to get usb3 up :>
15:44kallisti has quit [Quit: "i'll be back"]
15:45alyssajannau: unrelated question, https://github.com/jannau/linux/commit/09cee10b3b2556f009c79112174ee8ce75deca58
15:47c10l has quit [Quit: Bye o/]
15:49jannauopaque might not be the best name for that field. setting it to true will ignore the transparency in the buffer
15:51jannautransparency in the primary plane doesn't any sense, fbdev somehow ended up using ARGB with A=0 resulting a black screen
15:56c10l has joined #asahi-dev
15:57alyssajannau: right, if that's an "ignore alpha" field, why is it set whenever the format *has_alpha* instead of *!has_alpha*?
16:00c10l has quit []
16:01jannaubut yes, !fb->format->has_alpha || new_state->plane->type == DRM_PLANE_TYPE_PRIMARY would make sense as well
16:01alyssa"!fb->format->has_alpha || new_state->plane->type == DRM_PLANE_TYPE_PRIMARY" is what I would expect this to read
16:03jannauI don't remember, possible that I simple botched the commit and did not notice since I never tested with with that commit and multiple planes in linux
16:04alyssasure, I have far more embrassing logic errors on the agx side ... not that anyone reads the code ... ;P
16:29c10l has joined #asahi-dev
17:38millenialhacker has quit [Remote host closed the connection]
17:43millenialhacker has joined #asahi-dev
17:45millenialhacker has quit [Remote host closed the connection]
17:45millenialhacker has joined #asahi-dev
18:34joske has joined #asahi-dev
18:35joskeI only have a M1 MBA though (I also have a M1max MBP, but from work, not allowed to use for personal stuff)
18:36pthariensflame has joined #asahi-dev
18:39sventhose are annoying because they’re not a table in a kext but a function that’s like 1k lines decompiled in ghidra
18:40svenother alternative is to run the hv and intercept reads from the fuses and the atcphy regs and play with some patterns to figure out which bits go where
18:41nsklaus_ has joined #asahi-dev
18:41svenbut if anyone wants to give it a go i'll be happy to give some pointers in #asahi-re where to find them
18:43leafpaw has joined #asahi-dev
18:45nsklaus_ has quit [Read error: Connection reset by peer]
18:45joskeha, tricked him already, he's rebooting into linux for git clone https://github.com/AsahiLinux/linux.git :-D
18:45digicyc2 has quit [Ping timeout: 480 seconds]
18:45nsklaus_ has joined #asahi-dev
18:46pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
18:46millenialhacker has quit [Remote host closed the connection]
18:46millenialhacker has joined #asahi-dev
18:46millenialhacker has quit [Remote host closed the connection]
18:46nsklaus has quit [Ping timeout: 480 seconds]
18:56millenialhacker has joined #asahi-dev
19:03svenhttps://lore.kernel.org/all/20201126121713.GO1008337@kuha.fi.intel.com/ uh oh. so maybe my current typec/tipd code isn't quite what will be acceptable upstream :/
19:04millenialhacker has quit [Ping timeout: 480 seconds]
19:04sventhat UCSI code is much more complex. guess i'll send a mail to heikki to ask if my code that bypasses all of the typec bus stuff like drivers/platform/chrome/cros_ec_typec.c does is acceptable to him as well
19:13Dcow_ has joined #asahi-dev
19:20Dcow has quit [Ping timeout: 480 seconds]
19:25gladiac has quit [Quit: k thx bye]
19:46millenialhacker has joined #asahi-dev
19:54millenialhacker has quit [Ping timeout: 480 seconds]
20:06kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
20:09nsklaus_ has quit [Quit: Textual IRC Client: www.textualapp.com]
20:13svenalyssa: don't you want to get back into kernel stuff? I hear USB and type-c would be a good new project!
20:16pthariensflame has joined #asahi-dev
20:17pthariensflame has quit []
20:22svenoh, that's fine. I was more thinking about understanding that typec subsystem a bit better and cleaning up my tipd hacks!
20:42zjstraus has quit [Read error: Connection reset by peer]
20:43joskepovik: my friend has an M2 MBA (running asahi-dev with speakers enabled). After resume from s2idle, only L channel as known, but I saw this in his dmesg: [ 88.576671] tas2764 3-003b: Unable to sync registers 0x1-0x4. -6
20:43zjstraus has joined #asahi-dev
20:44joske has quit [Remote host closed the connection]
20:49joske has joined #asahi-dev
20:51jluthra has quit [Remote host closed the connection]
20:51jluthra has joined #asahi-dev
20:51weitcis has quit [Quit: weitcis]
20:52weitcis has joined #asahi-dev
20:52weitcis has quit []
20:54joske has quit [Remote host closed the connection]
21:07__nick__ has quit [Ping timeout: 480 seconds]
21:58millenialhacker has joined #asahi-dev
22:06millenialhacker has quit [Ping timeout: 480 seconds]
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01yrlf has joined #asahi-dev
23:14jannaumarcan: https://github.com/AsahiLinux/linux/pull/65 has dcp backlight control. needs a devicetree and m1n1 update. a test on Macbook Air (2020) would be good to see if brightness is limited to 400 nits
23:21millenialhacker has joined #asahi-dev
23:29millenialhacker has quit [Ping timeout: 480 seconds]