#asahi-dev · 2023-04-24 11:25
svenone more week until work finally calms down a bit again so that I can continue with the typec mess :)#asahi-dev · 2023-04-24 11:21
marcanok, genpd next#asahi-dev · 2023-04-24 11:21
marcanpushed with your changes#asahi-dev · 2023-04-24 11:20
marcan(I also want to try to fix the asmedia firmware load, it's not reliable...)#asahi-dev · 2023-04-24 11:20
marcanmight punt on enabling pcie on release packages until a bit later, but we'll put it into the next update at the latest#asahi-dev · 2023-04-24 11:18
marcanexcellent :)#asahi-dev · 2023-04-24 11:18
_jannau_asmedia xhci works in linux whether uboot has or misses its firmware#asahi-dev · 2023-04-24 11:17
_jannau_thanks, with that change and kettenis t6020 uboot branch we can enable pcie in uboot#asahi-dev · 2023-04-24 11:15
marcan_jannau_: you have a bad comment reindent, other than that pcie change looks good. I'll fix it,.#asahi-dev · 2023-04-24 11:13
marcanI'm just going to guess it starts at c by analogy to t602x#asahi-dev · 2023-04-24 11:12
marcanDCP changes look good#asahi-dev · 2023-04-24 11:11
marcanyeah but that doesn't make any sense, SRAM start is aligned#asahi-dev · 2023-04-24 11:11
_jannau_for j493#asahi-dev · 2023-04-24 11:10
_jannau_the ADT has a region with something like 0x24ec98000, size 0x120000#asahi-dev · 2023-04-24 11:09
_jannau_only functional difference is D212 -> D208 update_backlight_factor_prop#asahi-dev · 2023-04-24 11:09
marcanlikely 4ec00000#asahi-dev · 2023-04-24 11:08
marcanhttps://github.com/AsahiLinux/linux/pull/138/commits/8005d178ccc4b4c358d9a28ca4e1c14d66a4a440 is probably wrong, I increased the size but also lowered the base on t602x IIRC (to where I saw the firmware start)#asahi-dev · 2023-04-24 11:08
_jannau_on top#asahi-dev · 2023-04-24 11:07
marcanlooking#asahi-dev · 2023-04-24 11:07
marcanah, on top, okay#asahi-dev · 2023-04-24 11:07
marcanare those different from what was in the bringup branch?#asahi-dev · 2023-04-24 11:07
_jannau_marcan: did you see my PR, with the DCP changes there I feel somewhat confident about 13.3 DCP but I only tested on t8103/t6002#asahi-dev · 2023-04-24 11:05
marcanmight be nanoseconds or something#asahi-dev · 2023-04-24 11:05
_jannau_s/afaik/iirc/#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:04
marcancalendar time should be UNIX time#asahi-dev · 2023-04-24 11:03
marcanthere's probably some weird reason DCP cares about calendar time, but it's probably not for VRR timing related stuff#asahi-dev · 2023-04-24 11:03
handlerugwould be weird to use that#asahi-dev · 2023-04-24 11:03
handlerugcalendar time can't be RTC, right?#asahi-dev · 2023-04-24 11:02
marcancalendar time is a bit different and I would expect it to be used only for more specific stuff#asahi-dev · 2023-04-24 11:02
_jannau_I don't remember#asahi-dev · 2023-04-24 11:02
marcanalmost everything in these SoCs uses the AIC timer for basic timing, and DCP's timer would also be synced to that#asahi-dev · 2023-04-24 11:01
marcan_jannau_: are they in calendar time though?#asahi-dev · 2023-04-24 11:01
marcan(which is a bit annoying on Linux because that is abstracted out behind the clock subsystem... in a pinch you could read the timer register directly to get the current time in the right domain)#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 11:00
marcanif the timestamps are 24MHz they should match the AIC timer / ARMv8 timer counter#asahi-dev · 2023-04-24 11:00
j`eyand that corresponds to struct dcp_swap in drivers/gpu/drm/apple/iomfb.h, right _jannau_ ?#asahi-dev · 2023-04-24 11:00
marcanjannau: how are you feeling about 13.3 DCP? once lina gets the GPU to parity I think it's time for a release for the new macbooks at least. I don't plan on pushing 13.3 for previous chips *yet*, we can leave that for a bit later.#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
handleruginteresting#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-24 10:56
marcanand next I'm going to try to fix the stupid genpd thing with on-at-boot domains#asahi-dev · 2023-04-24 10:53
marcanfolding in the t602x stuff into the main branches now#asahi-dev · 2023-04-24 10:45
handlerugdusts off his old trusty Core i5 laptop#asahi-dev · 2023-04-24 10:43
marcancorrect, use the DCP tracing stuff#asahi-dev · 2023-04-24 10:40
handlerughm, say I want to look at making VRR work. I probably should look around with m1n1 in hypervisor mode and check the packets the macOS drivers send, right?#asahi-dev · 2023-04-24 06:37
chadmed_but its the kind of work that is now beyond what i can currently do and what i have time to learn how to do#asahi-dev · 2023-04-24 06:36
cy8aeryes I know, I have been observing your work for some time now.#asahi-dev · 2023-04-24 06:35
chadmed_the safety daemon needs a fair bit of work#asahi-dev · 2023-04-24 06:35
chadmed_soon(tm)