drm_atomic_...put_bus_fmts(9)
π drm_atomic_...put_bus_fmts(9) β Kernel API Manual β¨
okay so bestie, buckle up, because this one lives in the kernel's DRM corner and it's giving "quiet helper function that the whole HDMI pipeline depends on" energy. The full name is a whole mouthful:
drm_atomic_helper_bridge_get_hdmi_output_bus_fmts
and yeah, that's the NAME: it's the helper that implements atomic_get_output_bus_fmts for HDMI. π
π SYNOPSIS
u32 * drm_atomic_helper_bridge_get_hdmi_output_bus_fmts (struct
drm_bridge *bridge , struct drm_bridge_state *bridge_state , struct
drm_crtc_state *crtc_state , struct drm_connector_state *conn_state ,
unsigned int *num_output_fmts );
five args, one return, zero chill. π
π¦ ARGUMENTS
bridgeβ pointer tostruct drm_bridge. the bridge we're doing all this for, main character energy fr.bridge_stateβ pointer to the current bridge state. the vibes of the bridge rn.crtc_stateβ pointer to the current CRTC state. that's the display controller side of things.conn_stateβ pointer to the current connector state. the "what's actually plugged in" side.num_output_fmtsβ pointer to where the number of entries in the returned array will be stored. Set to 0 if unsuccessful. so if it's 0, bestie, it didn't work π
β¨ DESCRIPTION
so this is the common implementation for the drm_bridge_funcs.atomic_get_output_bus_fmts operation, and it's the one that's applicable to HDMI connectors. lowkey the whole point. no cap. π«Ά
π RETURN
a newly allocated array of u32 values, of length fInum_output_fmts, representing all the MEDIA_BUS_FMTS_ for the current connector state's chosen HDMI output bits per compoennt. or NULL if it fails to allocate one β in which case, not slay, the allocation flopped π
heads up: yes, the original really does spell itfInum_output_fmtsandcompoenntup there β we're keeping the lore intact, don't come for me π
π SEE ALSO
okay this list is LONG and honestly iconic, so let's go, no skipping, periodt:
- Kernel file
./drivers/gpu/drm/drm_atomic_helper.coverview(9) drm_atomic_helper_check_modeset(9)drm_atomic_helper_check_wb_connector_state(9)drm_atomic_helper_check_plane_state(9)drm_atomic_helper_check_crtc_primary_plane(9)drm_atomic_helper_check_planes(9)drm_atomic_helper_check(9)drm_atomic_helper_commit_encoder_bridge_disable(9)drm_atomic_helper_commit_crtc_disable(9)drm_atomic_helper_commit_encoder_bridge_post_disable(9)drm_atomic_helper_update_legacy_modeset_state(9)drm_atomic_helper_calc_timestamping_constants(9)drm_atomic_helper_commit_crtc_set_mode(9)drm_atomic_helper_commit_modeset_disables(9)drm_atomic_helper_commit_writebacks(9)drm_atomic_helper_commit_encoder_bridge_pre_enable(9)drm_atomic_helper_commit_crtc_enable(9)drm_atomic_helper_commit_encoder_bridge_enable(9)drm_atomic_helper_commit_modeset_enables(9)drm_atomic_helper_wait_for_fences(9)drm_atomic_helper_wait_for_vblanks(9)drm_atomic_helper_wait_for_flip_done(9)drm_atomic_helper_commit_tail(9)drm_atomic_helper_commit_tail_rpm(9)drm_atomic_helper_async_check(9)drm_atomic_helper_async_commit(9)drm_atomic_helper_commit(9)- implementing nonblocking commit(9)
drm_atomic_helper_setup_commit(9)drm_atomic_helper_wait_for_dependencies(9)drm_atomic_helper_fake_vblank(9)drm_atomic_helper_commit_hw_done(9)drm_atomic_helper_commit_cleanup_done(9)drm_atomic_helper_prepare_planes(9)drm_atomic_helper_unprepare_planes(9)drm_atomic_helper_commit_planes(9)drm_atomic_helper_commit_planes_on_crtc(9)drm_atomic_helper_disable_planes_on_crtc(9)drm_atomic_helper_cleanup_planes(9)drm_atomic_helper_swap_state(9)drm_atomic_helper_update_plane(9)drm_atomic_helper_disable_plane(9)drm_atomic_helper_set_config(9)drm_atomic_helper_disable_all(9)drm_atomic_helper_reset_crtc(9)drm_atomic_helper_shutdown(9)drm_atomic_helper_duplicate_state(9)drm_atomic_helper_suspend(9)drm_atomic_helper_commit_duplicated_state(9)drm_atomic_helper_resume(9)drm_atomic_helper_page_flip(9)drm_atomic_helper_page_flip_target(9)drm_atomic_helper_bridge_propagate_bus_fmt(9)
like, that's the whole friend group right there πΈ
and that's the page!! this lil beauty lives in ./drivers/gpu/drm, dated October 2026 β go read the source, it's literally right there. iykyk πππ¦
π¦ 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