2022-11-08
00:07cylm_ has joined #asahi-gpu
00:11cylm__ has joined #asahi-gpu
00:12cylm___ has joined #asahi-gpu
00:14cylm has quit [Ping timeout: 480 seconds]
00:17cylm has joined #asahi-gpu
00:18cylm_ has quit [Ping timeout: 480 seconds]
00:19cylm_ has joined #asahi-gpu
00:20cylm__ has quit [Ping timeout: 480 seconds]
00:24cylm___ has quit [Ping timeout: 480 seconds]
00:26cylm has quit [Ping timeout: 480 seconds]
01:00chadmed has joined #asahi-gpu
01:44nyx_o has joined #asahi-gpu
02:53zzywysm has joined #asahi-gpu
03:29nyx_o has quit [Quit: WeeChat 3.5]
03:35nyx_o has joined #asahi-gpu
06:30cylm_ has quit [Ping timeout: 480 seconds]
06:55bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:09chengsun has joined #asahi-gpu
07:12chengsun has quit []
07:18millenialhacker has joined #asahi-gpu
07:43millenialhacker has quit []
07:43bisko has joined #asahi-gpu
07:54bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:05chengsun has joined #asahi-gpu
08:08chengsun has quit []
08:14bisko has joined #asahi-gpu
08:15bisko has quit []
08:17SSJ_GZ has joined #asahi-gpu
08:22MajorBiscuit has joined #asahi-gpu
08:36bisko has joined #asahi-gpu
08:37bisko has quit []
08:43bisko has joined #asahi-gpu
08:58bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:03bisko has joined #asahi-gpu
09:12bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:14bisko has joined #asahi-gpu
09:30bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:37ChaosPrincess has quit [Quit: WeeChat 3.6]
10:38ChaosPrincess has joined #asahi-gpu
11:08bisko has joined #asahi-gpu
11:56bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:02bisko has joined #asahi-gpu
12:08bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:08bisko has joined #asahi-gpu
12:14bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:18bisko has joined #asahi-gpu
12:23bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:27bisko has joined #asahi-gpu
12:29bisko has quit []
12:30bisko has joined #asahi-gpu
12:30DarkShadow44 has quit [Quit: ZNC - https://znc.in]
12:30DarkShadow44 has joined #asahi-gpu
13:50karolherbstalyssa: hi, how are you today?
13:51linaBut I think the driver doesn't do anything silly as far as stability so I hope the kernel side works well for you!
13:51karolherbstalyssa: I was more thinking if you'd like to code some rust, but that's good to know as well :)
13:51linaI think there's like a dozen buffers that get allocated from shmem/mapped/freed for every render w
13:52karolherbstah you want to work on nak instead? that's cool as well!
13:55alyssa has left #asahi-gpu [#asahi-gpu]
14:11alyssa has joined #asahi-gpu
14:30alyssaI can walk you through exactly what's happening in Mesa but I think this is a kernel problem
14:40karolherbstI guess you didn't allocate that as linear?
15:14linaYou probably saw the UABI version thing, if you have a minute you can actually add the check to make it complain loudly if it mismatches. Then next time I break the UABI it will be obvious if there's a mismatch ^^
15:15linaYeah, I think some things might be a bit tricky... you probably also have better ideas of how to integrate it side by side with the macOS stuff
16:39gtk2 has quit [Remote host closed the connection]
16:39gtk2 has joined #asahi-gpu
17:09mkurz has joined #asahi-gpu
17:14MajorBiscuit has quit [Ping timeout: 480 seconds]
17:58amarioguy has quit [Remote host closed the connection]
17:58amarioguy has joined #asahi-gpu
18:29Dcow has joined #asahi-gpu
19:32bisko has quit [Ping timeout: 480 seconds]
20:04zshrc has joined #asahi-gpu
20:22zshrc has quit [Ping timeout: 480 seconds]
20:25jannauI guess "WARN_ON(paddr >> cfg->oas)" is very unlikely, what could cause "WARN_ON(pgsize != cfg->pgsize_bitmap)" to trigger? large pages?
20:26svenlike, say, creating 4K pages, stuffing them into the sg table and then trying to mal that thing
20:28mkurz has quit [Quit: Leaving]
20:40zjstraus has joined #asahi-gpu
20:52zshrc has joined #asahi-gpu
20:56zshrc is now known as Guest898
20:56zshrc has joined #asahi-gpu
21:24steffen[m] has joined #asahi-gpu
21:31zshrc has quit [Quit: leaving]
21:31Guest898 has quit [Quit: leaving]
21:34zshrc has joined #asahi-gpu
21:54alyssalina: Your kernel driver is so much stabler than panfrost.ko, and that's been in prod for years
22:06karolherbstthe magic of rust :3
22:07zshrc has quit [Quit: Bye]
22:20nsklaus has joined #asahi-gpu
22:26nsklaus_ has quit [Ping timeout: 480 seconds]
22:27alyssalina: Please review https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606 at your convenience
22:27alyssaand replace your Mesa branch with https://gitlab.freedesktop.org/alyssa/mesa/-/tree/asahi/rebased
22:28alyssaTested on t8103, no promises about t6000 but most of today was playing the git rebase game (it's mostly your code, I only rewrote local sections where it made sense) ... so it should still be ok there too
22:29alyssathe git history is mostly nonsense since I wrote all the commit messages but set --author 'Asahi Lina' for the ones that were originally your code ...
22:59maximbazHello, I tried to test the driver on M1 Pro / T6000, which gets only to initializing MMU [1], at which step it crashes on memremap [2] with "Failed to remap handoff region", as per dmesg output [3]. I wonder if I could be doing something wrong, could anyone give me a hint? :)
22:59maximbaz1: https://github.com/AsahiLinux/linux/blob/02c552f47af01c0ed22d516bb05d8f230401f581/drivers/gpu/drm/asahi/mmu.rs#L964-L967
22:59maximbaz2: https://github.com/AsahiLinux/linux/blob/02c552f47af01c0ed22d516bb05d8f230401f581/drivers/gpu/drm/asahi/mmu.rs#L886-L891
22:59maximbaz3: https://paste.maximbaz.com/?d207a583635665e9#8HaQpAWu9L1V1ye2HGo6vwFAv7kDwHTRoxciV7L6aMW4
23:10SSJ_GZ has quit [Ping timeout: 480 seconds]
23:39cr1901 has quit [Read error: Connection reset by peer]
23:46cr1901 has joined #asahi-gpu