#
#asahi-dev · 2026-06-02 15:56
yukaI will check it later
#asahi-dev · 2026-06-02 15:56
jannauI don't think we have the high perf ones yet. highest is above 4 GHz
#asahi-dev · 2026-06-02 15:54
yukaDo you maybe have less (actually distinct) p-states on your M3 Pro?
#asahi-dev · 2026-06-02 15:54
yukaso then these could have different p-states?
#asahi-dev · 2026-06-02 15:54
yukaIt lists M3 Max but not M3 Pro
#asahi-dev · 2026-06-02 15:54
jannau14-inch m3 max should have it as well
#asahi-dev · 2026-06-02 15:53
jannauhttps://support.apple.com/en-us/101613
#asahi-dev · 2026-06-02 15:53
jannauand 16-inch m1 max
#asahi-dev · 2026-06-02 15:52
jannau14-inch but didn't apple extended performance mode to all models? it was only the 16-inch m2 max iirc
#asahi-dev · 2026-06-02 15:43
yukaor was that only for the 16-inch max previously...
#asahi-dev · 2026-06-02 15:43
yukaCool. Do you happen to have a 16-inch model to check if it has more pstates?
#asahi-dev · 2026-06-02 15:42
jannaucpufreq works on t6030 as well. so much smoother. nice
#asahi-dev · 2026-06-02 13:53
yukaTraces make this so much easier
#asahi-dev · 2026-06-02 13:53
yukaso yeah
#asahi-dev · 2026-06-02 13:53
yukabut later the port doesn't reach idle state
#asahi-dev · 2026-06-02 13:52
yuka*and apply the tunables
#asahi-dev · 2026-06-02 13:52
yukaAfter some more fiddling I can read the full pcie phy-ip section on t8132 amd p
#asahi-dev · 2026-06-02 13:51
sofuskinda, but worse, i exported the pm functions and call them
#asahi-dev · 2026-06-02 12:38
LarstiQthe crazy modelling? :)
#asahi-dev · 2026-06-02 12:37
JamesCalligeros[m]What did you do :p
#asahi-dev · 2026-06-02 12:22
sofusThanks for the help, made an ugly hack that works for now :)
#asahi-dev · 2026-06-02 11:48
sofusOkay, i think i understand now thanks
#asahi-dev · 2026-06-02 11:47
chaos_princessyou have completely cleared all dart registers with the pmgr reset, ofc it will fault on every address
#asahi-dev · 2026-06-02 11:45
sofusexample: (NO TTBR FOR IOVA) at 0x0
#asahi-dev · 2026-06-02 11:45
sofusIm not sure if its relevant that i can do iommu_iova_to_phys on the same addres and that works? Also its on any address i send it
#asahi-dev · 2026-06-02 11:35
chadmedyou either need to save and restore the dart state when you reset avd (ew) or figure out how to reset avd without resetting dart or figure out why avd is faulting and fix that
#asahi-dev · 2026-06-02 11:34
chadmedthe driver is trying to talk to memory it thinks the dart has mapped, but the dart has been reset and has not mapped that address
#asahi-dev · 2026-06-02 11:34
chaos_princessthe driver and hw have different opinion of what the state is
#asahi-dev · 2026-06-02 11:33
chaos_princessyou need the state, that is the problem you are having
#asahi-dev · 2026-06-02 11:33
sofusi dont know alot about the dart. But is it not possible to reinitialize the dart? I dont think i need the state
#asahi-dev · 2026-06-02 11:31
chadmedclear m3 memory and reset it, reupload the fw and then kick it off again
#asahi-dev · 2026-06-02 11:31
sofusha, i hope thats not necessary
#asahi-dev · 2026-06-02 11:30
sofuschadmed: maybe im doing something wrong idk.
#asahi-dev · 2026-06-02 11:28
chadmedwe couldnt even get upstream to accept a dummy fixed regulator :P
#asahi-dev · 2026-06-02 11:28
chadmedthanks i hate it
#asahi-dev · 2026-06-02 11:27
chaos_princessok, so, crazy modelling and idk if it will fly upstream - put the dart as the reset controller of the avd, and add code to dart driver to save the sate, call its reset controller (the pmgr one) in turn and restore
#asahi-dev · 2026-06-02 11:27
chadmedim surprised that reinitialising the cm3 does not clear all hw faults, iirc (its been three years i am likely incorrect) after the fw is uploaded and the m3 starts running it, everything behind it gets reset
#asahi-dev · 2026-06-02 11:25
chadmeddoing that is likely the issue here :P
#asahi-dev · 2026-06-02 11:25
sofuscan i restart the dart somehow?
#asahi-dev · 2026-06-02 11:24
sofuschadmed: yes, it works... sometimes, i asume it depends on the error
#asahi-dev · 2026-06-02 11:22
sofusjannau: i dont think i can reset if the device is suspended?
#asahi-dev · 2026-06-02 11:20
chadmedhave you tried just resetting avd's cm3 and reinitialising rather than doing a full power cycle?
#asahi-dev · 2026-06-02 11:19
jannaunot sure if there is a good way to model this. what possible could work is to runtime suspend avd before the reset. That should runtime suspend the dart as well which saves its state and restores it when it goes out of suspend
#asahi-dev · 2026-06-02 11:17
jannaumy best guess is that the dart loses stated due to the reset. if you run under the HV you could check
#asahi-dev · 2026-06-02 11:12
sofusi have ps_avd_sys for dart, pmp_report_avd_sys for avd and ps_avd_sys for the reset control
#asahi-dev · 2026-06-02 11:10
sofusim using reset_control_reset
#asahi-dev · 2026-06-02 11:10
jannauwhich power-domains do your avd and dart_avd devices have?
#asahi-dev · 2026-06-02 11:10
sofuschadmed: im not sure theres another way to clear hw faults
#asahi-dev · 2026-06-02 11:09
chadmedcan we just like, not do that?
#asahi-dev · 2026-06-02 11:08
sofusjannau: im not sure what you mean by videobuf address. Its the address with bitsream slice data

plus ›