update_plane...ream_adapter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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 a FULL/MEDIUM/FAST update. 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 from stream, 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 πŸ“–

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 still update_plane...ream_adapter(9) because some things never change πŸ’€πŸ’–
πŸ“¦ where this page comes from