drm_gpuvm_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is drm_gpuvm_get(9) β€” acquire a struct drm_gpuvm reference. that’s the whole vibe: you’re grabbing one more reference to a drm_gpuvm, bestie. πŸ’…


✨ SYNOPSIS ✨

struct drm_gpuvm * drm_gpuvm_get (struct drm_gpuvm *gpuvm );

πŸŽ€ ARGUMENTS πŸŽ€

  • gpuvm β€” the drm_gpuvm to acquire the reference of. that’s the one you’re pointing at, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This function acquires an additional reference to gpuvm. no cap, that’s the whole job.

It is illegal to call this without already holding a reference. not me showing up empty-handed and expecting a reference anyway 😭

No locks required. lowkey convenient, highkey still respect the existing-reference rule.

⚠️ bestie, for real: you must already hold a reference before calling this. no existing reference = illegal call. the lock situation is chill, but the reference situation is not a drill. πŸ’€

πŸ’– RETURN πŸ’–

the struct drm_gpuvm pointer. that’s it, that’s the return. πŸ‘‘


🌈 SEE ALSO 🌈


that’s the whole page, bestie β€” brought to you by the Kernel API Manual, source path ./include/drm, dated October 2026. πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from