dc_check_up...s_for_stream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dc_check_update_surfaces_for_stream(9) β€” Kernel API Manual ✨

okay bestie so this is a page out of the Kernel API Manual and it's lowkey iconic πŸŽ€ it's all about dc_check_update_surfaces_for_stream β€” a lil shim function that's giving "middle management" energy in the best way possible (iykyk) πŸ¦‹


🌸 NAME 🌸

dc_check_update_surfaces_for_stream β€” the shim for dc_check_state_update, periodt πŸ’…


⭐ SYNOPSIS ⭐

struct dc_update_descriptor dc_check_update_surfaces_for_stream (const
struct dc_check_config *check_config , struct dc_surface_update *updates
, int surface_count , struct dc_stream_update *stream_update );

no cap, that's the whole signature β€” every arg, every pointer, exactly as written 🫢


🧚 ARGUMENTS 🧚

okay so let's meet the cast of characters πŸ’–

  • check_config β€” ASIC capabilities and display configuration context. it's literally the vibe check for your hardware 😌
  • updates β€” an array of surface update descriptors. yes, array, bestie πŸ“
  • surface_count β€” how many entries are actually chillin' in updates. don't lie about this one πŸ™ˆ
  • stream_update β€” optional stream update. optional!! she can ghost if she wants ✨

πŸ’€ DESCRIPTION πŸ’€

so what does she actually do? she packs all those individual arguments into a dc_state_update and forwards everything to dc_check_state_update. main character energy, but make it delegation πŸ‘‘

and why does this exist? because it's preserved for out-of-tree and incremental callers β€” so if you're coding outside the tree, this one's got you fr fr πŸ’œ


πŸ”₯ RETURN πŸ”₯

you get back a dc_update_descriptor with update_type and lock_descriptor. that's it, that's the tea β˜• slay.


🌈 SEE ALSO 🌈

okay this list is LONG and honestly kind of iconic β€” the whole friend group showed up πŸŽ€ this is straight out of the kernel file ./drivers/gpu/drm/amd/display/dc/core/dc.c Overview(9), plus all these:


tiny heads up bestie: those names are copied exactly character for character β€” don't go "fixing" the spelling of should_commit_intermediate_context or could_mpcc_tree_change_for_active_pipes, she's built different and we respect it πŸ’…

and that's the page!! πŸ¦‹ source is ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so yeah, future-coded of her honestly ⭐ mwah, go read the source, ily, bye πŸ’–

πŸ“¦ where this page comes from