dc_update_state(9)
π dc_update_state(9) β the Kernel API Manual glow-up π
okay bestie, welcome to dc_update_state(9), fresh out of the Kernel API Manual and honestly? iconic. this is the page where you commit an absolute dc_state_update and honestly it's giving main character energy π
β¨ NAME β¨
dc_update_state β commit an absolute dc_state_update. that's it. that's the whole vibe. no cap π«Ά
πΈ SYNOPSIS πΈ
bool dc_update_state (struct dc *dc , const struct dc_state_update
*updates );
look at her. two args. returns a bool. she's lowkey so clean for it π
π¦ ARGUMENTS π¦
dcβ the DC structure. your whole display core situation, the main character of this function fr fr πupdatesβ the root update object, and she's carrying everything: stream updates, plane updates, and probe updates. like a bestie holding all the snacks πβ¨
β RETURN β
true on success, false on failure. that's the vibe check β if it comes back true we're slaying, if it comes back false... π well. at least you know.
π₯ SEE ALSO π₯
okay this list is LONG but every single one of these is a real one, no skips, we don't do skips here π
- the kernel file
./drivers/gpu/drm/amd/display/dc/dc.h MAX_SURFACES(9)MAX_PLANES(9)color-management-caps(9)struct rom_curve_caps(9)struct dpp_color_caps(9)struct mpc_color_caps(9)struct dc_color_caps(9)enum pipe_split_policy(9)dc_check_state_update(9)dc_update_state_init(9)dc_update_state_prepare(9)dc_update_state_execute(9)dc_update_state_cleanup(9)struct dc_probe_latencies(9)struct dc_probe_status(9)enum dc_get_status_type(9)struct dc_get_status_options(9)struct dc_state_status(9)dc_state_get_status(9)struct dc_validation_stream(9)struct dc_validation_set(9)dc_get_underflow_debug_data_for_otg(9)dc_capture_register_software_state(9)dc_get_qos_info(9)dc_override_memory_bandwidth_request(9)
ngl the state-update pipeline is a whole friend group:dc_check_state_update(9)checks,dc_update_state_init(9)sets it up,dc_update_state_prepare(9)gets ready,dc_update_state_execute(9)does the thing,dc_update_state_cleanup(9)cleans up after β anddc_update_stateis the one who commits. everybody plays their part, periodt π
kay that's the whole page bestie, go commit some state responsibly πβ¨
this serve was brought to you by ./drivers/gpu/drm/amd/display/dc, dated October 2026 β mwah, catch you on the next manpage ππ¦
π¦ 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