ethosu_gem_create_object(9)
π NAME π
okay bestie, welcome to the ethosu_gem_create_object(9) page from the Kernel API Manual β¨ This one is literally the implementation of driver->gem_create_object, and itβs here to explain the GEM object creation hook. No cap. π«Ά
β¨ SYNOPSIS β¨
okay so hereβs the exact signature, copy it like your life depends on it (it doesnβt, but respect the C):
struct drm_gem_object * ethosu_gem_create_object (struct drm_device *ddev , size_t size );
π«Ά ARGUMENTS π«Ά
ddevβ the DRM device, periodt. πsizeβ Size in bytes of the memory the object will reference. Yep, bytes, not vibes. π
π§ DESCRIPTION π§
The way this works is lowkey iconic: it lets the GEM helpers allocate object structs for us, and it keeps our BO stats correct. Thatβs the whole tea. β¨
π SEE ALSO π
go peek at these besties:
- Kernel file
./drivers/accel/ethosu/ethosu_gem.c ethosu_gem_create_with_handle(9)ethosu_gem_cmdstream_create(9)
mwah π this page is from the ./drivers/accel/ethosu corner of the kernel, dated October 2026, and itβs literally ethosu_gem_create_object(9). slay. π
π¦ 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