FLAGS FOR DRM_IOCTL_PVR_CREATE_BO (KERNEL-ONLY)(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ Flags for DRM_IOCTL_PVR_CREATE_BO (kernel-only) ✨

okay bestie, the Kernel API Manual has entered the chat, and this page is all about the kernel-only values allowed in pvr_gem_object->flags. The majority of options for this field are specified in the UAPI header pvr_drm.h with a DRM_PVR_BO_ prefix. To distinguish these internal options (which must exist in ranges marked as "reserved" in the UAPI header), we drop the DRM prefix. The public options should be used directly, DRM prefix and all. πŸ’…

To avoid potentially confusing gaps in the UAPI options, these kernel-only options are specified "in reverse", starting at bit 63. We use "reserved" to refer to bits defined here and not exposed in the UAPI. Bits not defined anywhere are "undefined". Not me explaining bit ranges like a group project, but here we are. πŸŽ€

πŸ¦‹ CPU mapping options πŸ¦‹

  • PVR_BO_CPU_CACHED β€” bestie, by default all GEM objects are mapped write-combined on the CPU. Set this flag to override that behaviour and map the object cached. If the dma_coherent property is present in devicetree, all allocations will be mapped as if this flag was set. This does not require any additional consideration at allocation time. πŸ’–

πŸ”₯ Firmware options πŸ”₯

  • PVR_BO_FW_NO_CLEAR_ON_RESET β€” by default all FW objects are cleared and reinitialised on hard reset. Set this flag to override this behaviour and preserve buffer contents on reset. ✨

πŸ‘€ SEE ALSO πŸ‘€


source/version: ./drivers/gpu/drm/imagination Β· date: October 2026 β€” byeee, ily πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from