pvr_gem_create_object(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 ✨
  • -ENOMEM if the allocation failed 😭 (the memory said no, and we respect that)

🌈 SEE ALSO 🌈

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