DRM_IOCTL_DEF_DRV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 of enum 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 🌈


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