drm_gem_gpuva_init(9)
β¨ drm_gem_gpuva_init β¨
Ok so bestie, you're in the Kernel API Manual now β welcome to the DRM section, it's giving backstage-pass energy π This one's a tiny little init function and honestly? It ate. Let's go π
πΈ NAME πΈ
drm_gem_gpuva_init β the function that sets up (initializes) the gpuva list of a GEM object β¨
π¦ SYNOPSIS π¦
void drm_gem_gpuva_init (struct drm_gem_object *obj );
π ARGUMENTS π
objβ thedrm_gem_object, aka the main character of this whole situation π
π DESCRIPTION π
So what does it actually do? It initializes the drm_gem_object's drm_gpuvm_bo list. That's it, that's the vibe β one list, freshly initialized, no cap π«
Also, like, go look at drm_gem_gpuva_set_lock too, because that one's the sibling function and you're gonna want the whole set π«Ά
β SEE ALSO β
Kernel file ./include/drm/drm_gem.h β and honestly the whole friend group:
enum drm_gem_object_status(9)struct drm_gem_object_funcs(9)struct drm_gem_lru(9)struct drm_gem_object(9)DRM_GEM_FOPS(9)DEFINE_DRM_GEM_FOPS(9)drm_gem_get_huge_mnt(9)drm_gem_object_get(9)drm_gem_object_put(9)drm_gem_object_is_shared_for_memory_stats(9)drm_gem_is_imported(9)drm_gem_for_each_gpuvm_bo(9)drm_gem_for_each_gpuvm_bo_safe(9)
ngl bestie, if you're touching GEM objects and gpuva lists, read the whole lineup β iykyk π₯
Ok that's the page!! π This lil icon lives over in ./include/drm and the version vibes are dated October 2026 β so like, future energy fr fr π¦π Mwah, go initialize something iconic, periodt β¨
π¦ 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