STRUCT DRM_NOVA_GEM_INFO(9)
β¨ 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
- 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