amdgpu_dm_m...etup_streams(9)
π amdgpu_dm_mod_power_setup_streams(9) β the glow-up
okay so bestie, welcome to the Kernel API Manual β¨ this one's a function page from the kernel docs, and honestly? she's short but she matters. Let's get into it π«Ά
β¨ NAME β¨
amdgpu_dm_mod_power_setup_streams β the girl who sets up the mod_power stream state after the modeset is done π
like, post-modeset cleanup era, no cap.
πΈ SYNOPSIS πΈ
void amdgpu_dm_mod_power_setup_streams (struct drm_atomic_commit *state
, struct amdgpu_display_manager *dm );
that's it. that's the whole signature. she takes two things and gives you nothing back (void, iconic, unbothered π).
π ARGUMENTS π
stateβ the drm atomic state π¦ like, the whole commit vibe you're working with.dmβ the display manager you're updatingmod_poweron π this is the main character she's operating on.
π DESCRIPTION π
so what she does is notify mod_power of mode_change. simple. but here's the tea β β the timing matters, fr fr:
this needs to be done after the dc_stream updates have been committed, and after the VRR parameters have been updated. do it out of order and it's giving chaos π
so like: commit the streams β update VRR β then call this. order is everything, iykyk π
π₯ SEE ALSO π₯
peep the related lore bestie, all of these are linked in the docs:
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.cπ (she lives here) 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_update_streams(9)amdgpu_dm_atomic_commit_tail(9)amdgpu_dm_atomic_check(9)
π¦ sign-off π¦
this page came from ./drivers/gpu/drm/amd/display/..., dated October 2026, and she's filed right back under amdgpu_dm_m...etup_streams(9) π that's the whole thing bestie, go commit some streams (in the right order!!) π
β¨
π¦ 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