#asahi-dev · 2023-04-24 11:05
_jannau_I can't remember what calender time was but afaik it was not seconds since epoch#asahi-dev · 2023-04-24 11:02
_jannau_I don't remember#asahi-dev · 2023-04-24 11:01
_jannau_DCP request APs calender_time at startup but I would expect problems under the HV, or maybe not since DCP might just too fast#asahi-dev · 2023-04-24 10:59
_jannau_not sure if that is the preferred swap time or just the current AP time#asahi-dev · 2023-04-24 10:59
_jannau_handlerug: there are 3 or 4 timestamp fields in IOMFBSwapRec. all timestamps are iirc in 24MHz resolution. not all timestamp files are always used. I think at boot only a single one is used#asahi-dev · 2023-04-21 15:03
_jannau_then it shouldn't be a problem#asahi-dev · 2023-04-21 15:01
_jannau_not sure, easiest is to check with DEBUG in apple-pmgr-pwrstate.c what actually happens#asahi-dev · 2023-04-21 14:59
_jannau_the dart driver has runtime-pm and will be probed before the device driver, the power domain can be turned off after the dart instance is probed but before sio is probed#asahi-dev · 2023-04-21 14:55
_jannau_hmm, is just the usual power-domain issue if the pd is shared with a dart instance#asahi-dev · 2023-04-21 14:49
_jannau_ah, that's not what I remembered#asahi-dev · 2023-04-21 14:34
_jannau_yes, it was unreliable as modules. boot failure ratio got better btw probably more like 1 in 2 boots resulted in a failure#asahi-dev · 2023-04-21 14:32
_jannau_povik: no, I tested with sio and dcp as modules#asahi-dev · 2023-04-18 15:05
_jannau_you can clear the always-on after you saved the initial config. did we drop that with runtime-pm?#asahi-dev · 2023-04-18 10:26
_jannau_I guess we would have to try on other devices if this is just a software limitation#asahi-dev · 2023-04-18 10:26
_jannau_Mac14,6 is the only device in geekbench with reported frequency higher than 3.5 GHz#asahi-dev · 2023-04-18 10:25
_jannau_macos high performance mode is 16" M{1,2} Max only https://support.apple.com/en-us/HT212852#asahi-dev · 2023-04-18 10:01
_jannau_err#asahi-dev · 2023-04-18 10:01
_jannau_or if charging cd#asahi-dev · 2023-04-18 08:37
_jannau_have to try if any of the PMGR hooks trigger during suspend#asahi-dev · 2023-04-18 08:34
_jannau_j314c 14" M1 Max mbp#asahi-dev · 2023-04-17 16:33
_jannau_didn't chadmed measure reasonable low power use for idle cpu cores? could it be something t60xx specific? I've seen more than 20h of battery life with j493 without s2idle#asahi-dev · 2023-04-17 15:35
_jannau_no, macos just panics with CLPC enabled#asahi-dev · 2023-04-17 15:29
_jannau_or we noticed and started disabling CLPC#asahi-dev · 2023-04-17 14:10
_jannau_yes#asahi-dev · 2023-04-17 14:10
_jannau_yes, we always had that one. I need to follow up on the series fixing that#asahi-dev · 2023-04-17 12:26
_jannau_connected to i2c5. aqc-a on the mac studio#asahi-dev · 2023-04-17 12:24
_jannau_might be i2c#asahi-dev · 2023-04-17 12:23
_jannau_I think there was something in the ADT which hinks how the aqantia nic is connected for the lights out management#asahi-dev · 2023-04-17 12:01
_jannau_CLOCK_BOOTTIME is supposed run during suspend if you can use that there. doesn't help of course for the battery state control when the system is actually suspended#asahi-dev · 2023-04-14 16:00
_jannau_I don't know who's supposed to handle the rotation#asahi-dev · 2023-04-14 15:57
_jannau_ChaosPrincess: is it reported correctly by drm_info https://gitlab.freedesktop.org/emersion/drm_info#asahi-dev · 2023-04-14 15:42
_jannau_ChaosPrincess: search for panel_orientation in https://www.kernel.org/doc/html/next/gpu/drm-kms.html#asahi-dev · 2023-04-14 15:40
_jannau_drm/kms has also panel orientation properties. Those should be used by userspace#asahi-dev · 2023-04-14 15:03
_jannau_ok for now but ideally it should be only non-fatal for the framebuffer. Should be easily possible after we handle the other reserved regions via the "segments" ADT property#asahi-dev · 2023-04-14 09:12
_jannau_dcp fails to take over card0 from simpledrm. I didn't care enough to check if we can ensure that it works. so card0 might be available after gpu and dcp driver are loaded. The next loaded driver (your module) gets it on init time then#asahi-dev · 2023-04-14 08:34
_jannau_does the fb console use the touchbar display as well?#asahi-dev · 2023-04-14 08:33
_jannau_only solution in practice will be to ensure the touchbar daemon is started early#asahi-dev · 2023-04-14 08:32
_jannau_I don't think so. does your driver gets card0? If so I need to see if there is a way the apple driver can ensure it gets card0 from simpledrm. That of course only helps if simpledrm is built-in and the other drivers are modules#asahi-dev · 2023-04-12 15:12
_jannau_ack#asahi-dev · 2023-04-11 15:41
_jannau_at least a short reset of the m1 max pcie pd in u-boot doesn't break anything. even the links stayed up. either config space or dart-apcie accesses resulted in SErrors though#asahi-dev · 2023-04-11 14:27
_jannau_see d11332288beb#asahi-dev · 2023-04-11 14:26
_jannau_I removed the fake support for argb210101010 after alyssa added support for xrgb2101010#asahi-dev · 2023-04-11 14:26
_jannau_no, just local testing#asahi-dev · 2023-04-11 14:15
_jannau_we will need a new mesa release to retain 30 bit color support. kwin will use xrgb2101010 with argb8888 cursor overlay if both are available#asahi-dev · 2023-04-11 14:10
_jannau_I think it can be stay as is for now it will get squashed eventually. I don't mind fixups being squashed at the next rebase#asahi-dev · 2023-04-11 13:55
_jannau_great#asahi-dev · 2023-04-11 13:53
_jannau_ah#asahi-dev · 2023-04-11 13:53
_jannau_that means I have to change the locked dart handling so that we can switch to unmanaged dma domains to map things at fixed dva#asahi-dev · 2023-04-11 13:40
_jannau_in the dcp dt node#asahi-dev · 2023-04-11 13:40
_jannau_so 'apple,asc-dram-mask = <0x100 0x00000000>;' instead of <0x1f0 0x00000000>?