PVR USER OBJECTS.(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ PVR user objects πŸŽ€

(section 9, from the Kernel API Manual, bestie πŸ’œ)

πŸ’– DESCRIPTION πŸ’–

Okay so these are the macros that help you copy structured data and array data to and from userspace. Literally their whole job. ✨ Objects can differ in size, provided the minimum size allowed is specified β€” and you specify that using the last mandatory field in the struct. The way that works? Iconic. 🫢

All types used with the PVR_UOBJ_GET/SET macros must be listed here under PVR_UOBJ_MIN_SIZE, with the last mandatory struct field specified. No cap, that’s the rule. πŸŽ€

πŸ”— SEE ALSO πŸ”—


Cute little sign-off: source/version tag is ./drivers/gpu/drm/imagination, dated October 2026. πŸ’–βœ¨

πŸ“¦ where this page comes from