STRUCT DRM_GEM_CLOSE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hiii bestie, welcome to the Kernel API Manual page for struct drm_gem_close(9). She’s the argument for the &DRM_IOCTL_GEM_CLOSE ioctl, and she’s literally right here, being small and iconic. no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

Here’s the whole struct in all her tiny, legendary glory β€” copy it exactly, bestie:

struct drm_gem_close {
    __u32 handle;
    __u32 pad;
 };

🫢 Members 🫢

  • handle β€” the handle of the object to be closed. That’s her whole job, and she ate.
  • pad β€” padding. Literally just padding, no notes, we move.

πŸ’… Description πŸ’…

Okay so the actual plot is short and sweet: this releases the handle to an mm object. That’s the assignment. periodt. ✨


🌈 SEE ALSO 🌈

First up, the kernel file drop: ./tools/perf/trace/beauty/include/uapi/drm/drm.h. Then the whole friend group of cross-refs, no skips, iykyk:


Cute sign-off time, bestie: the source/version string is ./tools/perf/trace/beauty/incl..., the date is October 2026, and the footer is still repping struct drm_gem_close(9). byeee πŸ‘‘πŸ’–

πŸ“¦ where this page comes from