amdgpu_dm_mo...date_streams(9)
β¨ amdgpu_dm_mod_power_update_streams(9) β¨
okay bestie, welcome to the Kernel API Manual β this one's a little function with a big job, and yes the page title got chopped by the terminal (amdgpu_dm_mo...date_streams(9), iconic truncation energy π
) but we move.
πΈ NAME πΈ
amdgpu_dm_mod_power_update_streams β updates the mod_power stream state whenever a modeset happens π
π¦ SYNOPSIS π¦
void amdgpu_dm_mod_power_update_streams (struct drm_atomic_commit *state
, struct amdgpu_display_manager *dm );
like. that's the whole signature. no return value, she just does things π«
π ARGUMENTS π
stateβ the drm atomic state, aka the whole current vibe of what's being committed β¨dmβ the display manager that we're updating mod_power on π«Ά
π DESCRIPTION π
so here's the tea β β this function notifies mod_power about stream changes on modeset events, and it also disables PSR/Replay to get everything prepped for hardware programming. think of it as clearing the runway before the plane lands, no cap π₯
and if you wanna see the after party, check out amdgpu_dm_mod_power_setup_streams β that's the post-modeset mod_power setup, the sequel to this main character moment π
fr fr, this is the "before hardware programming" step β remember it disables PSR/Replay, so don't be surprised when that happens π
β SEE ALSO β
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c overview(9)update_planes_and_stream_adapter(9)dm_hw_init(9)dm_hw_fini(9)amdgpu_dm_dump_links_and_sinks(9)DM Lifecycle(9)atomic(9)fill_dc_dirty_rects(9)dm_arm_vblank_event_pre_programming(9)amdgpu_dm_crtc_complete_writeback(9)amdgpu_dm_mod_power_setup_streams(9)amdgpu_dm_atomic_commit_tail(9)amdgpu_dm_atomic_check(9)
like, go read them all, they're all slay, iykyk π
and that's the whole page bestie!! π source/version lives at ./drivers/gpu/drm/amd/display/... and the date is October 2026 β so mark your calendar, she's stamped and everything π
π byeee π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms