STRUCT DRM_IOCTL_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

✨ NAME ✨

struct drm_ioctl_desc β€” DRM driver ioctl entry. Okay so this is the Kernel API Manual page for it, bestie, and it’s literally the little struct that describes one DRM driver ioctl entry πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

struct drm_ioctl_desc {
    unsigned int cmd;
    enum drm_ioctl_flags flags;
    drm_ioctl_t *func;
    const char *name;
 };

πŸ¦‹ Members πŸ¦‹

  • cmd β€” the ioctl command number, without flags. No cap, that’s the whole vibe ✨
  • flags β€” a bitmask of enum drm_ioctl_flags 🎯
  • func β€” the handler for this ioctl πŸ‘‘
  • name β€” a user-readable name for debug output, so debugging can actually slay πŸ”₯

🌸 Description 🌸

For convenience it’s easier to create these using the DRM_IOCTL_DEF_DRV macro. That’s it, that’s the note β€” iconic little shortcut behavior, fr fr 🫢


🌈 SEE ALSO 🌈


source/version: ./include/drm Β· date: October 2026 πŸ’œβœ¨ bestie, that’s the whole page β€” go be iconic with your ioctl structs πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from