drm_modeset_acquire_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_modeset_acquire_init(9) β€” Kernel API Manual πŸ’…

okay so welcome to the drm_modeset_acquire_init(9) page in the Kernel API Manual, bestie 🫢 this is the little setup moment for an acquire context, and it's lowkey iconic.


🌸 NAME 🌸

drm_modeset_acquire_init β€” initialize acquire context πŸ’«

✨ SYNOPSIS ✨

void drm_modeset_acquire_init (struct drm_modeset_acquire_ctx *ctx ,
       uint32_t flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” the acquire context. That's the main-character struct you're setting up, periodt πŸ’…
  • flags β€” 0 or DRM_MODESET_ACQUIRE_INTERRUPTIBLE. Those are literally the two options, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

When you pass DRM_MODESET_ACQUIRE_INTERRUPTIBLE to flags, all calls to drm_modeset_lock will perform an interruptible wait. That's the whole tea β˜•βœ¨

🌈 SEE ALSO 🌈


okay bye bestie 🫢 this page lives under ./drivers/gpu/drm, is dated October 2026, and it's still literally drm_modeset_acquire_init(9) β€” periodt πŸ’–

πŸ“¦ where this page comes from