#
#asahi-dev · 2023-01-23 06:43
marcanbut other than that yeah
#asahi-dev · 2023-01-23 06:43
marcanyou'll need to 's/^_//' to get c++filt to like it
#asahi-dev · 2023-01-23 06:43
jannauah, easier than I thought
#asahi-dev · 2023-01-23 06:42
jannaubut it doubles the amount of nullable pointers
#asahi-dev · 2023-01-23 06:42
jannauit doesn't quite fit with the increase in swaprec/iosurface size changes
#asahi-dev · 2023-01-23 06:41
marcanyou can just strings the driver and c++filt it to get the signatures for the calls IIRC (callbacks are a bit trickier)
#asahi-dev · 2023-01-23 06:41
marcanhm, interesting
#asahi-dev · 2023-01-23 06:41
marcanyes
#asahi-dev · 2023-01-23 06:41
jannauthe change for swap_submit_dcp feels like apple added a second swaprec and set of 4 surfaces
#asahi-dev · 2023-01-23 06:39
jannaudid you get the the function signatures in trace_dcp.py automatically from binary analysis?
#asahi-dev · 2023-01-23 06:38
jannauyes, you did
#asahi-dev · 2023-01-23 06:37
marcanBut I think I added that? :p
#asahi-dev · 2023-01-23 06:37
marcanI meant idle as well
#asahi-dev · 2023-01-23 06:37
jannaumarcan: I'm not sure I even need the devm_apple_rtkit_free() or do you mean your apple_rtkit_idle() as well?
#asahi-dev · 2023-01-23 03:22
marcanjannau: I'm also going to push some of lina's RTKit changes to asahi-soc and send a pull soonish. If you want to get your DCP-relevant changes in too, feel free to send those out and they can all go into the same batch :)
#asahi-dev · 2023-01-23 01:11
eilnsawyer: ^
#asahi-dev · 2023-01-23 01:11
eilnlinux-asahi config https://github.com/AsahiLinux/PKGBUILDs/tree/main/linux-asahi
#asahi-dev · 2023-01-22 22:52
sawyerhi all, saw this in the tethered boot setup guide and wasn't sure if it was a placeholder or a reference that I'm just out-of-the-loop on: `A somewhat sane .config can be found at [[DesktopKernel]].`
#asahi-dev · 2023-01-22 22:15
sven:)
#asahi-dev · 2023-01-22 22:15
kettenis_one of the reasons I suggested that approach ;)
#asahi-dev · 2023-01-22 22:13
svenyeah, that’s what I assume happens. but if we just go with mapping each bus to a separate sid it’ll just work without quirks
#asahi-dev · 2023-01-22 22:11
kettenis_linux may already have a quirk table
#asahi-dev · 2023-01-22 22:10
kettenis_might not include the function number in the RID
#asahi-dev · 2023-01-22 22:02
svenand that worked here. so I bet all functions just need to go to the same stream
#asahi-dev · 2023-01-22 22:02
svenohh... the PI7C9X442SL workaround makes sense I think. it's the controller in the old apple thunderbolt displays (like mine) and that one exposes three different pci functions
#asahi-dev · 2023-01-22 21:59
svenand then there's a marvel-wa-viddids field in the ADT to select some devices that also get a special treatment
#asahi-dev · 2023-01-22 21:59
sven"PI7C9X442SL USB OHCI" is always forced to sid 0
#asahi-dev · 2023-01-22 21:58
svenhrm, looks like apple's pciec driver has some quirks for certain devices that don't play nice with the rid2sid map
#asahi-dev · 2023-01-22 21:12
thastifixed the USB ethernet dongles by shortening the wires between the USB-C cable pigtail and the PCB... now works reliably
#asahi-dev · 2023-01-22 20:42
nicolas17I have M2, but maybe you want some review/testing on M1 first, before messing with the M2 devicetree :P
#asahi-dev · 2023-01-22 20:40
ChaosPrincessin theory should work on m2, but i do not have one
#asahi-dev · 2023-01-22 20:39
ChaosPrincessyes
#asahi-dev · 2023-01-22 20:38
nicolas17ChaosPrincess: your touchbar pr only supports M1 atm right?
#asahi-dev · 2023-01-22 19:30
thastiyep, best guess it's just a marginal design (they were free, I probably know the reason why now...)
#asahi-dev · 2023-01-22 19:30
svencan’t really do anything about that though :(
#asahi-dev · 2023-01-22 19:29
sventhanks for checking, sounds like some kind of signal integrity issue then
#asahi-dev · 2023-01-22 19:26
thastii can get them to appear sometimes with the same kind of trick, but without that they don't show up
#asahi-dev · 2023-01-22 19:25
thastiokay, got it to boot. turns out the dongles don't really work under macOS either
#asahi-dev · 2023-01-22 19:12
thasti.. turns out macOS actually doesn't boot any longer (telling me it needs to be reinstalled)
#asahi-dev · 2023-01-22 19:03
thastithis I haven't tried yet (haven't booted back into macos since I installed asahi on here)
#asahi-dev · 2023-01-22 19:03
svendoes it work on the same machine when running macos?
#asahi-dev · 2023-01-22 19:02
thastibut if their design was bad, that would of course to be expected :)
#asahi-dev · 2023-01-22 19:02
thastii at least two have two such devices (same model, both new out of box), and both of them behave exactly the same
#asahi-dev · 2023-01-22 19:00
thastiI only have one other machine to test, but it seemed to work fine there. I should be able to test another machine or two at work tomorrow
#asahi-dev · 2023-01-22 18:57
jannaudoes the dongle work reliably when connected to other devices
#asahi-dev · 2023-01-22 18:47
thasticould that be caused by some USB-PHY setting, making the link not come up properly due to marginal signal integrity without my finger on the PCB?
#asahi-dev · 2023-01-22 18:46
thastihaving an interesting issue here (m2 air, on -edge): I'm trying to use an USB-C ethernet dongle. I can only get it to enumerate reliably by placing a finger on top of the USB traces on its PCB. Without doing that, it never enumerates (and I get repeated 'Cannot enable. Maybe the USB cable is bad?' or 'config error' messages in dmesg)
#asahi-dev · 2023-01-22 16:40
jannaunot really happy with the backlight handling. I wish the drm backlight integration would progress faster
#asahi-dev · 2023-01-22 16:39
jannauok, missing swap or modeset sounds reasonable and it appears it's called then the backlight devices reappears
#asahi-dev · 2023-01-22 16:38
marcanso I think systemd is probably triggering that immediately when the backlight device appears

plus ›