STRUCT DRM_NOVA_GEM_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct drm_nova_gem_info ✨

okay so bestie, this is from the Kernel API Manual β€” welcome to the struct that literally just asks the DRM GEM object "hey, what's your deal?" πŸ’…


🌸 NAME 🌸

struct drm_nova_gem_info β€” query DRM GEM object metadata

like, it's the little info-gathering struct. that's the whole vibe. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct drm_nova_gem_info {
    __u32 handle;
    __u32 pad;
    __u64 size;
 };

yes she's small. yes she's iconic. no notes. ✨


πŸ¦‹ Members πŸ¦‹

  • handle β€” the handle of the DRM GEM object you're querying. this is which object you're asking about, bestie. πŸ”
  • pad β€” 32 bit padding, and it should be 0. do not be quirky with this one, just put a 0 there fr fr πŸ™ˆ
  • size β€” the size of the DRM GEM object. it's giving "how big is it" but make it kernel API. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/uapi/drm/nova_drm.h
  • struct drm_nova_getparam(9)
  • struct drm_nova_gem_create(9)

like, go read those next, iykyk 🧚


no cap, this struct has literally three members and one of them is padding. she understood the assignment and the assignment was "be compact." πŸ”₯

okay that's the whole page, periodt πŸ’œ β€” it lives under ./include/uapi/drm, the source is the Kernel API Manual, and it's dated October 2026. love that for us πŸŽ€βœ¨

πŸ“¦ where this page comes from