PVR_UOBJ_SET_ARRAY(9)
π PVR_UOBJ_SET_ARRAY π
ok so real talk bestie, this one's from the Kernel API Manual and it's a macro in the DRM Imagination driver world β it copies stuff from _src_array over to @_dest_drm_pvr_obj_array.array. that's it, that's the whole vibe. a little kernel-space-to-user-space handoff, no cap β¨
π SYNOPSIS π
PVR_UOBJ_SET_ARRAY (_dest_drm_pvr_obj_array , _src_array );
two args, in that order, and yes the spacing is exactly like that because that's how it's written π
πΈ ARGUMENTS πΈ
_dest_drm_pvr_obj_arrayβ this is thestruct drm_pvr_obj_arrayand it's giving "destination details" energy π«Ά. inside it you've got a__u64raw pointer to the destination C array in user space, plus the size of each array element in user space (that's the 'stride', iykyk). so like β where it's going, and how big each thing is on the way there π¦_src_arrayβ the source C array object in kernel space. this is the stuff you're actually copying FROM, sitting pretty on the kernel side π
β RETURN β
it hands you back an error code, bestie. and if you wanna know the specifics? go check pvr_set_uobj_array β that's where the real lore lives π₯
lowkey important: this page literally says "Error code. See pvr_set_uobj_array." so don't come for me asking for more deets, the manpage said what it said π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/imagination/pvr_drv.hPVR user objects.(9) PVR_UOBJ_MIN_SIZE(9)PVR_UOBJ_GET(9)PVR_UOBJ_SET(9)PVR_UOBJ_GET_ARRAY(9)
the whole little uobj family reunion, honestly obsessed π§
ok that's the page!! π this beauty lives over in ./drivers/gpu/drm/imagination, it's dated October 2026, and it's filed under PVR_UOBJ_SET_ARRAY(9) β go forth and copy those arrays, bestie, you're gonna 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