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 this
61 /* Bits 2..0 are defined in the UAPI. */
67 * All firmware-mapped memory uses (mostly) the same flags. Specifically,
68 * firmware-mapped memory should be:
71 * * Write-combined on the CPU.
79 * struct pvr_gem_object - powervr-specific wrapper for &struct drm_gem_object
91 * @flags: Options set at creation-time. Some of these options apply to
112 #define shmem_gem_from_pvr_gem(pvr_obj) (&(pvr_obj)->base)
116 #define gem_from_pvr_gem(pvr_obj) (&(pvr_obj)->base.base)
145 * pvr_gem_object_get() - Acquire reference on pvr_gem_object
155 * pvr_gem_object_put() - Release reference on pvr_gem_object
167 return gem_from_pvr_gem(pvr_obj)->size; in pvr_gem_object_size()