STRUCT DRM_FLIP_WORK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_flip_work(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one is literally all about struct drm_flip_work, aka the flip work queue πŸŽ€


✨ NAME ✨

struct drm_flip_work β€” flip work queue πŸ¦‹


🌸 SYNOPSIS 🌸

here’s the whole struct, no cap:

struct drm_flip_work {
    const char *name;
    drm_flip_func_t func;
    struct work_struct worker;
    struct list_head queued;
    struct list_head commited;
    spinlock_t lock;
 };

πŸ’– Members πŸ’–

  • name β€” debug name πŸ‘‘
  • func β€” callback fxn called for each committed item πŸ”₯ (yes, fxn, keep it exactly like that)
  • worker β€” worker which calls func πŸ› οΈ
  • queued β€” queued tasks 🧚
  • commited β€” commited tasks πŸ’€ (spelled commited in the struct, periodt)
  • lock β€” lock to access queued and commited lists πŸ”’

🌈 SEE ALSO 🌈

  • Kernel file ./include/drm/drm_flip_work.h πŸ“
  • flip utils(9) 🫢

okay bye bestie πŸ’– signed off from ./include/drm, October 2026, for struct drm_flip_work(9) ✨

πŸ“¦ where this page comes from