drm_atomic_helper_page_flip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual page for drm_atomic_helper_page_flip(9) β€” it’s literally here to execute a legacy page flip βœ¨πŸ’…


✨ SYNOPSIS ✨

the whole signature is giving:

int drm_atomic_helper_page_flip (struct drm_crtc *crtc , struct
       drm_framebuffer *fb , struct drm_pending_vblank_event *event , uint32_t
       flags , struct drm_modeset_acquire_ctx *ctx );

πŸŽ€ ARGUMENTS πŸŽ€

okay so the args are, in order, no skip:

  • crtc β€” DRM CRTC 🫢
  • fb β€” DRM framebuffer 🌸
  • event β€” optional DRM event to signal upon completion πŸ‘€
  • flags β€” flip flags for non-vblank sync'ed updates πŸ’…
  • ctx β€” lock acquisition context πŸ”

πŸ’… DESCRIPTION πŸ’…

so what does it actually do? It provides a default drm_crtc_funcs.page_flip implementation using the atomic driver interface. that’s the vibe, that’s the job πŸ’–

See also: drm_atomic_helper_page_flip_target πŸ‘‘πŸ¦‹


🌈 RETURN 🌈

Returns 0 on success, negative errno numbers on failure. no cap 🫢✨


πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, iykyk πŸ’œ:


xoxo, this page is from ./drivers/gpu/drm πŸ’– dated October 2026 β€” drm_atomic_helper_page_flip(9) out πŸ’…βœ¨

πŸ“¦ where this page comes from