STRUCT DRM_IOCTL_DESC(9)
π 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 ofenum 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 π
- Kernel file
./include/drm/drm_ioctl.h drm_ioctl_t(9)drm_ioctl_compat_t(9)enum drm_ioctl_flags(9)DRM_IOCTL_DEF_DRV(9)
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
- 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