drm_atomic_...dependencies(9)
π drm_atomic_...dependencies β like, the Kernel API Manual page, bestie
okay so you're reading the drm_atomic_...dependencies(9) page from the Kernel API Manual and honestly? it's a short one but it's important, so grab your iced coffee π
β¨ NAME β¨
drm_atomic_helper_wait_for_dependencies β wait for required preceding commits π«Ά
like... you literally just sit there and wait for the commits that came before you. that's the whole job. no cap.
πΈ SYNOPSIS πΈ
void drm_atomic_helper_wait_for_dependencies (struct drm_atomic_commit
*state );
that's it. that's the whole signature. one argument, void return, she's lowkey minimal π
π ARGUMENTS π
stateβ the atomic state object being committed. that's your main character right there π
π¦ DESCRIPTION π¦
okay so here's the tea β β this function waits for all the preceding commits that touch the same CRTC as state. and it doesn't just wait for one thing, it waits for two things, because she's thorough:
- that they're committed to the hardware β as signalled by
drm_atomic_helper_commit_hw_done - and that they're executed by the hardware β as signalled by calling
drm_crtc_send_vblank_eventon thedrm_crtc_state.event
both. no shortcuts. it's giving "responsible older sibling" energy fr fr π
this whole thing is part of the atomic helper support for nonblocking commits, so if you wanna know the bigger picture, go see drm_atomic_helper_setup_commit for an overview π§
π SEE ALSO π
like, the whole friend group honestly. it's a long list but every single one of them matters, i don't make the rules:
- 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_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)drm_atomic_helper_bridge_get_hdmi_output_bus_fmts(9)
like i said. everyone is here. it's a party π
no warnings, no bugs, no nothing on this one β it's a clean page, bestie. go commit your state and wait your turn π
and that's the whole page!! π this little cutie comes from the source tree over at ./drivers/gpu/drm, dated October 2026, and it's filed under drm_atomic_...dependencies(9) β¨ mwah, go read drm_atomic_helper_setup_commit(9) next, i'm obsessed with you for reading kernel docs ππ«Ά
π¦ 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