2022-12-21
00:41swaggie has joined #asahi-dev
00:46ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
01:13Major_Biscuit has quit [Ping timeout: 480 seconds]
02:16pthariensflame has joined #asahi-dev
02:16pthariensflame has quit []
02:49Dcow has joined #asahi-dev
02:57Dcow has quit [Ping timeout: 480 seconds]
03:11zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
03:15zzywysm has joined #asahi-dev
03:26zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:28zzywysm has joined #asahi-dev
03:32zzywysm has quit []
03:32zzywysm has joined #asahi-dev
05:00WindowPain_ is now known as WindowPain
05:11jluthra has quit [Remote host closed the connection]
05:12jluthra has joined #asahi-dev
05:42Hibyehello_ has quit [Ping timeout: 480 seconds]
05:53kode54 has quit [Quit: Ping timeout (120 seconds)]
05:53kode54 has joined #asahi-dev
05:57SSJ_GZ has joined #asahi-dev
06:06liszt_ is now known as liszt
06:07kenzie7 has quit []
06:08kenzie7 has joined #asahi-dev
07:31Dcow has joined #asahi-dev
07:35Major_Biscuit has joined #asahi-dev
07:40Dcow has quit [Ping timeout: 480 seconds]
07:42MajorBiscuit has joined #asahi-dev
07:44Major_Biscuit has quit [Ping timeout: 480 seconds]
08:17MajorBiscuit has quit [Ping timeout: 480 seconds]
08:19Dcow has joined #asahi-dev
08:27Dcow has quit [Remote host closed the connection]
08:28Dcow has joined #asahi-dev
08:51bluetail8 has quit [Ping timeout: 480 seconds]
08:58Dcow has quit [Remote host closed the connection]
09:12Dcow has joined #asahi-dev
09:19Dcow has quit [Remote host closed the connection]
09:24Dcow has joined #asahi-dev
09:33Dcow has quit [Ping timeout: 480 seconds]
09:35mkurz has quit [Quit: Leaving]
09:48Dcow has joined #asahi-dev
09:48swaggie has quit [Remote host closed the connection]
09:50swaggie has joined #asahi-dev
09:56Dcow has quit [Ping timeout: 480 seconds]
10:05swaggie has quit [Ping timeout: 480 seconds]
10:09jbowen_ has quit [Read error: Network is unreachable]
10:09jbowen_ has joined #asahi-dev
10:14merry has quit [Quit: ZNC - https://znc.in]
10:38swaggie has joined #asahi-dev
10:52swaggie has quit [Ping timeout: 480 seconds]
10:56cylm_ has joined #asahi-dev
10:58iaguis has joined #asahi-dev
11:01SSJ_GZ has quit [Remote host closed the connection]
11:01SSJ_GZ has joined #asahi-dev
11:04swaggie has joined #asahi-dev
11:20swaggie has quit [Ping timeout: 480 seconds]
11:28svenkettenis: I looked at the thunderbolt tunables again, and they also all seem to be 32bit masks. we can also just keep the current format then
11:34cylm_ has quit [Quit: WeeChat 3.6]
11:35cylm has joined #asahi-dev
11:45mazmarcan: plenty of crap though. there is an issue with the GIC maintenance interrupt for which we need a handler, so I need to revisit this.
11:46mazbut at least it doesn't take a couple of hours to get to a prompt, so there is some progress!
11:47Dcow has joined #asahi-dev
11:58Dcow has quit [Ping timeout: 480 seconds]
12:20Dcow has joined #asahi-dev
12:25swaggie has joined #asahi-dev
12:28Dcow has quit [Ping timeout: 480 seconds]
12:34swaggie has quit [Ping timeout: 480 seconds]
12:42Dcow has joined #asahi-dev
12:43ChaosPrincesswtb some help, i do not understand how rounding is supposed work in pwm drivers. here https://www.spinics.net/lists/linux-pwm/msg20140.html uwe claims that it should be rounded up, while the strings in pwm core.c claim that period/duty cycle is supposed to be rounded down.
12:50Dcow has quit [Ping timeout: 480 seconds]
13:01Dcow has joined #asahi-dev
13:03swaggie has joined #asahi-dev
13:11swaggie has quit [Ping timeout: 480 seconds]
13:13Dcow has quit [Ping timeout: 480 seconds]
13:23jannauChaosPrincess: I suppose if you round up in get_state you're closer at the values from set_state (on/off cycles were rounded down there)
13:25ChaosPrincessso, up in apply, down in set_state?
13:26ChaosPrincessactually, the other way around
13:36ChaosPrincessthe backlight driver does not set them, and if the user manually exports pwm and controls from there - thats on them to deal with
13:37swaggie has joined #asahi-dev
13:46swaggie has quit [Ping timeout: 480 seconds]
13:48Dcow has joined #asahi-dev
13:51svenurhg, so thunderbolt: there's acio and acio-dart, both need a special clock/power/whatever thing inside PMGR to be turned on to make their MMIO accessible and not SError.
13:51svento turn that PMGR thing on atcphy has to be up and running. if atcphy is reset or powered off everything dies and some SoC-internal reset is triggered rather quickly
13:52svenhow do we represent this? acio only (and its mbox) would be doable by just making sure the driver doesn't do anything before a tbt cable is connected and atcphy is up but acio-dart is going to be a bit more tricky
13:52svenright now the dart driver tries to access its MMIO inside probe to figure out some basic information about the dart (pagesize etc.)
13:54sven(the pmgr clock thing is also weird: apparently it can only be turned on and it needs a ~0.5s delay or so to actually work and there's no status register. it can only be turned off by resetting atcphy afaict)
13:55sveni can hack it for now by just making everything child nodes of atcphy and probing/unprobing them I guess but that feel wrong
13:57Dcow has quit [Ping timeout: 480 seconds]
14:18gladiac has joined #asahi-dev
14:21gladiac has quit []
14:22gladiac has joined #asahi-dev
14:22gladiac has quit []
14:22gladiac has joined #asahi-dev
14:23Dcow has joined #asahi-dev
14:25swaggie has joined #asahi-dev
14:25gladiac has quit []
14:31Dcow has quit [Ping timeout: 480 seconds]
14:33swaggie has quit [Ping timeout: 480 seconds]
14:57swaggie has joined #asahi-dev
15:02Dcow has joined #asahi-dev
15:06swaggie has quit [Ping timeout: 480 seconds]
15:06jbowen_ has quit []
15:06jbowen_ has joined #asahi-dev
15:07jbowen_ has quit []
15:08jbowen has joined #asahi-dev
15:10Dcow has quit [Ping timeout: 480 seconds]
16:18bcrumb has joined #asahi-dev
16:39gladiac has joined #asahi-dev
17:06jeffmiw has joined #asahi-dev
17:23iaguis has quit [Quit: leaving]
17:25jeffmiw has quit [Ping timeout: 480 seconds]
17:27systwi has quit [Ping timeout: 480 seconds]
17:27systwi has joined #asahi-dev
17:36jeffmiw has joined #asahi-dev
17:36Dcow has joined #asahi-dev
17:44Dcow has quit [Ping timeout: 480 seconds]
17:46jeffmiw has quit [Ping timeout: 480 seconds]
18:28bcrumb has quit [Quit: WeeChat 3.7.1]
19:05Dcow has joined #asahi-dev
19:14Dcow has quit [Ping timeout: 480 seconds]
19:30mac456 has joined #asahi-dev
19:32Dcow has joined #asahi-dev
19:40Dcow has quit [Ping timeout: 480 seconds]
20:06Dcow has joined #asahi-dev
20:14Dcow has quit [Ping timeout: 480 seconds]
20:22Gues__________________________ has joined #asahi-dev
20:22Gues__________________________ is now known as evtyz
20:22dottedmag has quit [Quit: QUIT]
20:22evtyz has quit []
20:23Gues__________________________ has joined #asahi-dev
20:23dottedmag has joined #asahi-dev
20:25Gues__________________________ has quit []
20:36minecrell has left #asahi-dev [ :( ]
20:36minecrell has joined #asahi-dev
20:36swaggie has joined #asahi-dev
20:41Dcow has joined #asahi-dev
20:50Dcow has quit [Ping timeout: 480 seconds]
20:55Dcow has joined #asahi-dev
20:57mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:59Gues__________________________ has joined #asahi-dev
21:00Gues__________________________ has quit []
21:08Dcow has quit [Remote host closed the connection]
21:09Dcow has joined #asahi-dev
21:11mac456 has joined #asahi-dev
21:14c10l has quit [Quit: Bye o/]
21:15Dcow has quit [Remote host closed the connection]
21:15c10l has joined #asahi-dev
21:15Dcow has joined #asahi-dev
21:16c10l has quit []
21:16c10l has joined #asahi-dev
21:24cylm_ has joined #asahi-dev
21:25cylm has quit [Ping timeout: 480 seconds]
21:41jeffmiw has joined #asahi-dev
22:04mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:04mac456 has joined #asahi-dev
22:15mkurz has joined #asahi-dev
22:32Dcow has quit [Remote host closed the connection]
22:48Dcow has joined #asahi-dev
22:56Dcow has quit [Ping timeout: 480 seconds]
23:16Dcow has joined #asahi-dev
23:18SSJ_GZ has quit [Ping timeout: 480 seconds]
23:25Dcow has quit [Ping timeout: 480 seconds]
23:39mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:43fossdd has quit [Ping timeout: 480 seconds]
23:51Dcow has joined #asahi-dev
23:59Dcow has quit [Ping timeout: 480 seconds]