dc_check_up...s_for_stream(9)
π 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' inupdates. 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:
dc_stream_get_last_used_drr_vtotal(9)dc_stream_configure_crc(9)dc_stream_get_crc(9)dc_stream_adjust_vmin_vmax(9)dc_commit_state_no_check(9)dc_commit_streams(9)dc_check_state_update(9)update_seamless_boot_flags(9)update_planes_and_stream_state(9)dc_check_address_only_update(9)build_dmub_cmd_list(9)could_mpcc_tree_change_for_active_pipes(9)commit_minimal_transition_state_in_dc_update(9)commit_minimal_transition_state(9)dc_update_state(9)dc_update_planes_and_stream(9)dc_enable_dcmode_clk_limit(9)dc_is_dmub_outbox_supported(9)dc_enable_dmub_notifications(9)dc_enable_dmub_outbox(9)dc_process_dmub_aux_transfer_async(9)dc_process_dmub_set_config_async(9)dc_process_dmub_set_mst_slots(9)dc_process_dmub_dpia_set_tps_notification(9)dc_process_dmub_dpia_hpd_int_enable(9)dc_print_dmub_diagnostic_data(9)dc_disable_accelerated_mode(9)dc_notify_vsync_int_state(9)dc_set_edp_power(9)dc_get_power_profile_for_dc_state(9)dc_get_det_buffer_size_from_state(9)dc_get_host_router_index(9)should_commit_intermediate_context(9)dc_update_probes_prepare(9)dc_update_probes_execute(9)
tiny heads up bestie: those names are copied exactly character for character β don't go "fixing" the spelling ofshould_commit_intermediate_contextorcould_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
- 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