Lines Matching +full:uapi +full:- +full:header
1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
10 #include <uapi/drm/pvr_drm.h>
32 * DOC: Flags for DRM_IOCTL_PVR_CREATE_BO (kernel-only)
34 * Kernel-only values allowed in &pvr_gem_object->flags. The majority of options
35 * for this field are specified in the UAPI header "pvr_drm.h" with a
37 * in ranges marked as "reserved" in the UAPI header), we drop the DRM prefix.
40 * To avoid potentially confusing gaps in the UAPI options, these kernel-only
43 * We use "reserved" to refer to bits defined here and not exposed in the UAPI.
47 * :PVR_BO_CPU_CACHED: By default, all GEM objects are mapped write-combined on the CPU. Set
63 /* Bits 2..0 are defined in the UAPI. */
69 * All firmware-mapped memory uses (mostly) the same flags. Specifically,
70 * firmware-mapped memory should be:
73 * * Write-combined on the CPU.
81 * struct pvr_gem_object - powervr-specific wrapper for &struct drm_gem_object
93 * @flags: Options set at creation-time. Some of these options apply to
114 #define shmem_gem_from_pvr_gem(pvr_obj) (&(pvr_obj)->base)
118 #define gem_from_pvr_gem(pvr_obj) (&(pvr_obj)->base.base)
147 * pvr_gem_object_get() - Acquire reference on pvr_gem_object
157 * pvr_gem_object_put() - Release reference on pvr_gem_object
169 return gem_from_pvr_gem(pvr_obj)->size;