#
#asahi-dev · 2026-06-04 13:25
chaos_princessand to report drivers too, why not
#asahi-dev · 2026-06-04 13:25
chaos_princessadd logging to pmgr driver to see if you are actually causing pmgr changes
#asahi-dev · 2026-06-04 13:25
tryhard[m]if its correct
#asahi-dev · 2026-06-04 13:25
tryhard[m]yes
#asahi-dev · 2026-06-04 13:24
chaos_princessdo you have all of this in your report init https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/pmdomain/apple/pmp-report.c#L177
#asahi-dev · 2026-06-04 13:24
tryhard[m]sent a code block: https://matrix.org/oftc/media/v1/media/download/AXsQtlCkV0DI5awOuvS-4HgCzsqtv289QRuEjrwAZgfTYwUXyKKtwu-jcwhu2zELKQErVL1sypWFtDnAP42naSVCee2udm3wAG1hdHJpeC5vcmcvYnJZRmdjeHhhY01ZRURmTm9vZ1pRbE9o
#asahi-dev · 2026-06-04 13:23
tryhard[m]sure but if you see in the logs, gpu is crashing before full init
#asahi-dev · 2026-06-04 13:23
chaos_princess... but your send_devpwr does not send anything
#asahi-dev · 2026-06-04 13:22
tryhard[m]sent a rust code block: https://matrix.org/oftc/media/v1/media/download/AUeVG2S8qDrMlI7iZuJMCS3chSrvUsixeSXB7EYOlnozvgddNGm9OTw26hlwSFe2o50UwY54TCNNxJdwrFSyGgZCee2uXYPQAG1hdHJpeC5vcmcvSGFXa3dWV3p6Q0h0YU5ZRk1JZmFMQWNT
#asahi-dev · 2026-06-04 13:22
tryhard[m]i kinda ignore devpwrs until pmp is fully booted but it shouldn't matter right now because gpu should wait
#asahi-dev · 2026-06-04 13:21
chaos_princessrecv_message
#asahi-dev · 2026-06-04 13:21
tryhard[m]sent a rust code block: https://matrix.org/oftc/media/v1/media/download/ASB8rmlO4dcL0CIXriEZK4MSx_p6JiJcoj_LrA2x2EsDcjJFs3AnJd4B57NY-GdPFTRykRkbIjJcRLTUGvCGaHJCee2uSG7gAG1hdHJpeC5vcmcveElCdXZNblFYUFRvZXBoV0xndElJSVRo
#asahi-dev · 2026-06-04 13:20
chaos_princessshow send_devpwr
#asahi-dev · 2026-06-04 13:20
tryhard[m]sent a rust code block: https://matrix.org/oftc/media/v1/media/download/Ae-OhzDVR34TT4uHgUWl5uG9BkBDFanB7D9JipoBgjqwNXDVBZpv-LmJrQWxgVNXwESa337l8mS0lxlcdY80ullCee2uPUvwAG1hdHJpeC5vcmcvU3BxUHpJbmZieUZqWmNtalRvd1hCZkpZ
#asahi-dev · 2026-06-04 13:19
chaos_princessreport
#asahi-dev · 2026-06-04 13:19
chaos_princessyou have a dependency on ps_gfx on pmp_report_gfx, right?
#asahi-dev · 2026-06-04 13:19
tryhard[m]report or pmp
#asahi-dev · 2026-06-04 13:19
tryhard[m]on which driver
#asahi-dev · 2026-06-04 13:19
tryhard[m]turning it back to ps_gfx resolves the crash obviosuly
#asahi-dev · 2026-06-04 13:19
chaos_princessshow your enable function
#asahi-dev · 2026-06-04 13:18
tryhard[m]yea
#asahi-dev · 2026-06-04 13:18
chaos_princessso, pmp_report_gfx?
#asahi-dev · 2026-06-04 13:18
tryhard[m]gfx
#asahi-dev · 2026-06-04 13:18
tryhard[m]one
#asahi-dev · 2026-06-04 13:18
chaos_princesshow many pm domains do you have on gpu
#asahi-dev · 2026-06-04 13:18
tryhard[m]the issue is it doesnt
#asahi-dev · 2026-06-04 13:18
chaos_princessit should wait
#asahi-dev · 2026-06-04 13:17
tryhard[m]i mean, in this instance, gpu doesnt wait for gfx
#asahi-dev · 2026-06-04 13:17
chaos_princessyep, you track it driver-side, not pmp-side
#asahi-dev · 2026-06-04 13:17
tryhard[m]yeah but the socs dont care if i track it right?
#asahi-dev · 2026-06-04 13:17
chaos_princessright, that is what i am saying - mark it as pending in your driver, and once it is ready - send
#asahi-dev · 2026-06-04 13:16
tryhard[m]but i cant send the required rtkit msgs before its fully boot
#asahi-dev · 2026-06-04 13:16
chaos_princessin your case - it will be harder, you will have to track your own set of things that should be reported to pmp, and when it is at the state when it is ready to accept them - send them all via a rtkit message
#asahi-dev · 2026-06-04 13:15
chaos_princessi told you - i track whether pmp has finished booting, and if it haven't - i just set the bits and not wait for acks
#asahi-dev · 2026-06-04 13:14
tryhard[m]chaos_princess, how did you overcome this? i need to delay every soc init to after pmp
#asahi-dev · 2026-06-04 13:13
tryhard[m]uh, i'm feel kinda dumb i didn't figure it out before. its just that pmp isnt fully boot so gfx isnt on and thus init the gpu causes a crasah
#asahi-dev · 2026-06-04 12:33
tryhard[m]i think it's something related to the power domains?
#asahi-dev · 2026-06-04 12:32
tryhard[m]anybody understands what may be causing this? https://pastebin.com/AHc22Hb0
#asahi-dev · 2026-06-04 12:30
tryhard[m]i think ill just use atomicbool
#asahi-dev · 2026-06-04 12:25
chaos_princessso synthesize it based on rtkit messages
#asahi-dev · 2026-06-04 12:07
tryhard[m]this status bit doesnt really exist
#asahi-dev · 2026-06-04 12:06
chaos_princessthis specific bit is probably different with rtkit pmp
#asahi-dev · 2026-06-04 12:06
chaos_princessas you can see, i do set it in the shared sram area, i just don't wait for pmp to ack that
#asahi-dev · 2026-06-04 12:05
tryhard[m]thx
#asahi-dev · 2026-06-04 12:05
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/pmdomain/apple/pmp-report.c#L117-L118
#asahi-dev · 2026-06-04 12:04
tryhard[m]chaos_princess: where do you ignore devpwr requests before full boot in pmp v2?
#asahi-dev · 2026-06-04 11:51
jannaufaster e-cores at a lower freq and slower p-cores compared to m3: https://paste.debian.net/hidden/1791542a
#asahi-dev · 2026-06-04 11:49
yuka933 then
#asahi-dev · 2026-06-04 11:49
yukahttps://yuyu.yuka.dev/public/t6034-coremark.txt
#asahi-dev · 2026-06-04 11:47
jannaumy script does that: https://github.com/AsahiLinux/linux/commit/74dcb65d70320967842fc774591724a7fe53756b

plus ›