#
#asahi-dev · 2023-10-05 02:43
marcanone thing I noticed is v4l2 does its own mappings so you don't even need to do that yourself at all for user surfaces (right now they're all getting redundantly mapped twice, once in high VAs by the subsystem, once in low VAs by the driver)
#asahi-dev · 2023-10-05 02:42
marcaneiln: oh sure, I assume you want to get rid of the manual iova management and all that
#asahi-dev · 2023-10-04 22:09
eilnmarcan: we'll have to clean it up a bit for upstream but it looks good to me :)
#asahi-dev · 2023-10-04 20:38
j`eynote to self: don't put a dump_stack() in rtc set_time.. it gets called every second
#asahi-dev · 2023-10-04 18:22
svenhmmm… that sounds like there’s something slightly misconfigured that I haven’t run into then :/
#asahi-dev · 2023-10-04 18:09
jannegI think I've seen only connects followed by immediate disconnects. ended up working after plugging the cable a few times
#asahi-dev · 2023-10-04 18:08
jonmasterstnx :)
#asahi-dev · 2023-10-04 18:08
jonmasterswill do later yea
#asahi-dev · 2023-10-04 18:08
svenbut this looks very strange
#asahi-dev · 2023-10-04 18:08
svencan you enable debug prints inside tipd?
#asahi-dev · 2023-10-04 18:08
svenhmmmm
#asahi-dev · 2023-10-04 18:06
jonmasterssven: with the legacy bit being set commented out: https://pastebin.com/J6YuA5pZ
#asahi-dev · 2023-10-04 18:00
jonmastersoh, link seems to stay up a bit longer
#asahi-dev · 2023-10-04 18:00
jonmastersremoved the legacy bit, it's resetting in a loop again
#asahi-dev · 2023-10-04 17:59
jonmasterswell, I had 8 minutes between meetings so just trying again :)
#asahi-dev · 2023-10-04 17:52
jonmasters:)
#asahi-dev · 2023-10-04 17:51
svensounds similar to how I sometimes work on this :D
#asahi-dev · 2023-10-04 17:51
jonmasters(playing between meetings :) )
#asahi-dev · 2023-10-04 17:51
jonmastersok, will try a bit later
#asahi-dev · 2023-10-04 17:50
svenmaybe first try to remove that legacy flag, if that doesn’t work something more weird is going on
#asahi-dev · 2023-10-04 17:50
jonmastersk
#asahi-dev · 2023-10-04 17:50
jonmastersif it'll actually be useful
#asahi-dev · 2023-10-04 17:50
svenLet me check if I can even buy it in .de
#asahi-dev · 2023-10-04 17:50
jonmastersI can just send you a $300 Amazon gift card and you can order one if you like
#asahi-dev · 2023-10-04 17:49
svenyou could try to play with different combinations for that VSE cable info thing. maybe remove the legacy bit? but this sounds more weird
#asahi-dev · 2023-10-04 17:49
jonmasters...want one? :)
#asahi-dev · 2023-10-04 17:48
sveni was about to say I don’t think a pcie enclosure would be any different than the devices I have but maybe that specific one would actually be useful :D
#asahi-dev · 2023-10-04 17:47
svenive never seen that before
#asahi-dev · 2023-10-04 17:47
svenhuh
#asahi-dev · 2023-10-04 17:46
jonmastersI'll look some more later, just figured I'd share this FYI
#asahi-dev · 2023-10-04 17:46
jonmastersfan in the enclosure keeps spinning up and down too
#asahi-dev · 2023-10-04 17:45
jonmasterssometimes it sees the enclosure, but the link continuously resets
#asahi-dev · 2023-10-04 17:45
jonmasterssven: boot log with patch applied: https://pastebin.com/zsdNtBdv
#asahi-dev · 2023-10-04 17:17
jonmastersalso btw if you would like an enclosure sometime, I'd be happy to sponsor one
#asahi-dev · 2023-10-04 17:17
jonmastersyea, will try
#asahi-dev · 2023-10-04 17:16
svenI’d try what janneg suggested, that branch is still missing the tie between the tipd chip to set the correct cable and tbt mode inside the nhi
#asahi-dev · 2023-10-04 17:15
svenI don’t have any enclosure, I have a old thunderbolt 2 display with an adapter inbetween, a half-broken thunderbolt 3 dock, a tbt2 network adapter with another adapter and a usb4 hub
#asahi-dev · 2023-10-04 17:13
jonmasterssven: I'll be curious to know which enclosure you're using
#asahi-dev · 2023-10-04 17:08
jonmasterssven: works in macOS on the same system
#asahi-dev · 2023-10-04 17:08
jonmasterssven: https://www.amazon.com/dp/B075RJHLB4?psc=1&ref=ppx_yo2ov_dt_b_product_details
#asahi-dev · 2023-10-04 16:52
marcan(just throwing commits at me in a random branch is fine too, whatever works, I'm not picky as long as I know what to do with them)
#asahi-dev · 2023-10-04 16:51
marcanyou can also just have fixup commits as part of that and they will get squashed next time I do a kernel rebase, so you don't have to rebase yourself unless you want to
#asahi-dev · 2023-10-04 16:50
marcanor if you're just adding commits, just test them on top of whatever tag and once happy cherry-pick them into the bits branch, and send me a PR for that
#asahi-dev · 2023-10-04 16:49
marcanisp is going to be the last branch to be merged (numerically), so if you ever want to rebase/edit history the easiest way is to walk back from an arbitrary tag/asahi-wip to before the merge commit for it (will be the last), rebase on top of that point, make whatever changes and test, then once you're happy rebase on top of `base` and send it to me as a new bits branch.
#asahi-dev · 2023-10-04 16:48
marcaneiln: any objections to pulling in lina's branch? you still get to rebase/send me PRs as you see fit of course, just as a starting point
#asahi-dev · 2023-10-04 16:31
marcanjanneg: yes, I'll play kernel merge day tomorrow
#asahi-dev · 2023-10-04 14:52
jannegI wouldn't complain if we can merge the m1n1 m2* dptx support before linux
#asahi-dev · 2023-10-04 14:51
jannegalarm builds are to old but barred due to the 13.x requirement, should work without issue with fedora
#asahi-dev · 2023-10-04 14:50
janneglaso we could remove the expert mode flag from the 15-inch air. it's just a larger 13-inch
#asahi-dev · 2023-10-04 14:49
jannegat least the touchbar suspend fix and the bluetooth fixes but taking other pull requests would make dealing with devicetree changes a little less annoying

plus ›