ttm_prime_refcount_release(9)
β¨ ttm_prime_refcount_release(9) β Kernel API Manual β¨
π NAME π
ttm_prime_refcount_release β refcount release method for a prime object. Thatβs the whole vibe, bestie: itβs the release method, and itβs for a prime object. Slay. π
πΈ SYNOPSIS πΈ
Hereβs the signature, copy it exactly:
void ttm_prime_refcount_release (struct ttm_base_object **p_base );
π¬ ARGUMENTS π¬
p_baseβ pointer to attm_base_objectpointer. Yes, pointer-to-pointer. Double-pointer realness. π«Ά
π¦ DESCRIPTION π¦
This is a wrapper that calls the underlying objectβs refcount_release founction (yes bestie, thatβs the manpageβs spelling π) β and at the same time it cleans up the prime object.
Itβs called when all references to the base object we derive from are gone. So: zero refs left, time to release and clean up. Periodt. β¨
π SEE ALSO π
Go check these out, theyβre all connected:
- Kernel file
./drivers/gpu/drm/vmwgfx/ttm_object.c struct ttm_object_file(9)get_dma_buf_unless_doomed(9)ttm_prime_dmabuf_release(9)ttm_prime_fd_to_handle(9)ttm_prime_handle_to_fd(9)ttm_prime_object_init(9)
Sign-off time, bestie: source/version ./drivers/gpu/drm/vmwgfx, date October 2026, and itβs ttm_prime_refcount_release(9) out. Byeee! πππ¦
π¦ 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