DRM_IOCTL_DEF_DRV(9)
β¨ NAME β¨
DRM_IOCTL_DEF_DRV β helper macro to fill out a &struct drm_ioctl_desc. And yes bestie, this is the DRM_IOCTL_DEF_DRV(9) page in the Kernel API Manual π lowkey tiny, highkey useful.
πΈ SYNOPSIS πΈ
DRM_IOCTL_DEF_DRV (ioctl , _func , _flags );
π ARGUMENTS π
ioctlβ ioctl command suffix._funcβ handler for the ioctl._flagsβ a bitmask ofenum drm_ioctl_flags.
π¦ DESCRIPTION π¦
Bestie, this is a small helper macro that creates a struct drm_ioctl_desc entry. The ioctl command number is constructed by prepending DRM_IOCTL_ and passing that to DRM_IOCTL_NR. That's literally it β short and slay π
β¨
π SEE ALSO π
- Kernel file
./include/drm/drm_ioctl.h drm_ioctl_t(9)drm_ioctl_compat_t(9)enum drm_ioctl_flags(9)struct drm_ioctl_desc(9)
that's the whole page, bestie π«Ά β brought to you by ./include/drm, dated October 2026, and titled DRM_IOCTL_DEF_DRV(9). mwah πβ¨
π¦ 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