pvr_gem_create_object(9)
β¨ pvr_gem_create_object β¨
okay so bestie, welcome to the pvr_gem_create_object(9) page β it's a Kernel API Manual moment, and honestly it's a short one, so grab your lil strawberry drink and let's go ππ
This is the function that allocates a pvr_gem_object and pre-initializes it. Two jobs, one function, main character energy fr fr π
πΈ SYNOPSIS πΈ
struct drm_gem_object * pvr_gem_create_object (struct drm_device *drm_dev , size_t size );
literally that's the whole vibe check β you hand it a device and a size, it hands you back a struct drm_gem_object *. simple as. π«Ά
π ARGUMENTS π
drm_devβ the DRM device that's creating this object. like, whose baby is this? this one. πsizeβ the size of the object you want to allocate, measured in bytes. no cap, just bytes. π
π¦ RETURN π¦
- The brand-new, pre-initialized GEM object when everything slays β¨
-ENOMEMif the allocation failed π (the memory said no, and we respect that)
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/imagination/pvr_gem.c pvr_gem_object_flags_validate(9)pvr_gem_object_into_handle(9)pvr_gem_object_from_handle(9)pvr_gem_object_vmap(9)pvr_gem_object_vunmap(9)pvr_gem_object_zero(9)pvr_gem_object_create(9)pvr_gem_get_dma_addr(9)
go read the whole friend group, they're all iconic π
and that's the page, bestie!! this lil drop of kernel lore comes to you from ./drivers/gpu/drm/imagination, dated October 2026, and it's filed under pvr_gem_create_object(9) β mwah, stan, 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