dc_get_det_...e_from_state(9)
π dc_get_det_...e_from_state(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're fancy now π β and this page is all about one tiny little function that's honestly serving quiet-luxury main character energy. It doesn't do a lot, but what it does it does flawlessly. Let's get into it π
β¨ NAME β¨
dc_get_det_buffer_size_from_state β the function that extracts the detile buffer size from dc state. That's it. That's the whole job. Iconic unproblematic behavior honestly π§
πΈ SYNOPSIS πΈ
unsigned int dc_get_det_buffer_size_from_state (const struct dc_state
*context );
that's the whole signature, and yes it's unsigned int that comes back at you, no cap.
π¦ ARGUMENTS π¦
- context β a pointer to the
dc_statefrom which the detile buffer size is extracted. like, it hands you a state and you're grabbing the detile buffer size out of it. that's the vibe check. π«Ά
π DESCRIPTION π
so the way that this works is: this function is called to log the detile buffer size from the dc_state. literally that's the description, it's giving "she's a logger" and we respect it πβ¨
no hidden lore, no twist, no side quests. she logs. she slays. periodt.
π₯ RETURN π₯
she returns the size of the detile buffer π β or 0 if it's not available. like if there's no info, you get a 0, and honestly super fair of her, respecting boundaries fr fr.
π SEE ALSO π
okay this list is LONG and it's giving "the whole friend group tagged in the group chat" π every single one, here we go:
- Kernel file
./drivers/gpu/drm/amd/display/dc/core/dc.cOverview(9) 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)dc_check_update_surfaces_for_stream(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_host_router_index(9)should_commit_intermediate_context(9)dc_update_probes_prepare(9)dc_update_probes_execute(9)
like I said. the entire group chat. π but every single one is linked and valid, so go click around, iykyk π
okay bestie that's the whole page!! π one last thing for the receipts: this beauty lives in ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β mark your calendars, she's a libra (probably) πβ¨π¦ love u, go log ur buffers responsibly π«Άπ
π¦ 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