#
✕ nick:tryhard[m]
#asahi-dev · 2026-06-04 16:16
tryhard[m]devpwr is being sent for dispdfr. how is that related to gfx?
#asahi-dev · 2026-06-04 15:44
tryhard[m]ok actually devpwr isnt even being sent for gfx...
#asahi-dev · 2026-06-04 15:41
tryhard[m]otherwise it doesnt happen... why is that?
#asahi-dev · 2026-06-04 15:41
tryhard[m]its obviously happening when i'm changing from <&ps_gfx> to <&pmp_report_gfx> for gpu
#asahi-dev · 2026-06-04 15:40
tryhard[m]although the crash still happens
#asahi-dev · 2026-06-04 15:40
tryhard[m]now devpwr is being sent before
#asahi-dev · 2026-06-04 15:40
tryhard[m]alright i managed to do something
#asahi-dev · 2026-06-04 15:27
tryhard[m]maybe i should move the full initialization to the probe function? that way all socs will wait
#asahi-dev · 2026-06-04 15:18
tryhard[m]nevertheless inserting printfs on enable/disable function should show
#asahi-dev · 2026-06-04 15:01
tryhard[m]already send that :D
#asahi-dev · 2026-06-04 14:53
tryhard[m]https://github.com/dd-dreams/linux/commit/b9c08503f8e070cfb479d51dc0d7a1d8a7b3d186
#asahi-dev · 2026-06-04 14:51
tryhard[m]lemme push
#asahi-dev · 2026-06-04 14:51
tryhard[m]yeah
#asahi-dev · 2026-06-04 14:50
tryhard[m]it makes sense because i changed the power domains no?
#asahi-dev · 2026-06-04 14:50
tryhard[m]enable/disable doesnt really execute i guess
#asahi-dev · 2026-06-04 14:47
tryhard[m]and adding to enable/disable also dont print
#asahi-dev · 2026-06-04 14:47
tryhard[m]defining DEBUG doesnt print anything
#asahi-dev · 2026-06-04 14:34
tryhard[m]mhm. where should i add logging in pmgr?
#asahi-dev · 2026-06-04 13:31
tryhard[m]but like why would i care about pmgr changes if i dont cause them?
#asahi-dev · 2026-06-04 13:27
tryhard[m]because*
#asahi-dev · 2026-06-04 13:27
tryhard[m]there wont be any changes before of devpwr msgs because obviosuly they're not being sent right now
#asahi-dev · 2026-06-04 13:26
tryhard[m]chaos_princess: because of devpwr?
#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
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: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
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
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
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:18
tryhard[m]yea
#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
tryhard[m]the issue is it doesnt
#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
tryhard[m]yeah but the socs dont care if i track it right?
#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: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:07
tryhard[m]this status bit doesnt really exist
#asahi-dev · 2026-06-04 12:05
tryhard[m]thx
#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-03 19:31
tryhard[m]i thought that's what causes my new crash executing from non-executable memory after gpu init
#asahi-dev · 2026-06-03 19:30
tryhard[m]how do they know pmp is booting?

plus ›