update_plane...ream_adapter(9)
π« NAME π«
update_planes_and_stream_adapter β send planes to be updated in DC, bestie β¨
π¦ SYNOPSIS π¦
bool update_planes_and_stream_adapter (struct dc *dc , int update_type ,
int planes_count , struct dc_stream_state *stream , struct
dc_stream_update *stream_update , struct dc_surface_update
*array_of_surface_update );
okay so it returns a bool, it's got six whole arguments, and honestly? she's serving function signature realness π
π ARGUMENTS π
dcβ the Display Core control structure. this is the main character of the whole situation, no cap πupdate_typeβ tells you whether it's aFULL/MEDIUM/FASTupdate. pick your vibe, but like, pick it correctly πplanes_countβ how many planes you're updating. the literal count. the number. the amount πstreamβ stream state. the stream's whole state of being, honestly πΈstream_updateβ the stream update. yes bestie, it's a different thing fromstream, they're both here, don't mix them up π«Άarray_of_surface_updateβ a dc surface update pointer. it's an array, it's surfaces, it's updates, it's giving everything at once β¨
π DESCRIPTION π
okay so here's the tea: DC already has a generic way to update planes and stream β that's dc_update_planes_and_stream, and she's iconic, she does her job π
but DM might need some adjustments and preparation before calling it. like, DC can't just be ambushed, the vibes have to be right first, y'know? π§
that's literally what this function is for: it's a wrapper for dc_update_planes_and_stream that does any required configuration before passing control to DC. prep work first, then hand over the keys to the main character π₯
so to recap: wrapper β does the setup β passes control to DC. periodt π
π SEE ALSO π
kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c β yes, the whole file, go read it, iykyk π
overview(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_mod_power_setup_streams(9)amdgpu_dm_atomic_commit_tail(9)amdgpu_dm_atomic_check(9)
that's the whole friend group, go say hi to all of them π«Άπ
and that's the page bestie!! live from./drivers/gpu/drm/amd/display/..., dated October 2026, and yes the title is stillupdate_plane...ream_adapter(9)because some things never change ππ
π¦ 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