| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_plane.c | 45 * A plane represents an image source that can be blended with or overlayed on 47 * &drm_framebuffer object. The plane itself specifies the cropping and scaling 49 * pipeline, represented by &drm_crtc. A plane can also have additional 53 * To create a plane, a KMS drivers allocates and zeroes an instances of 58 * primary plane per CRTC to avoid surprising userspace too much. See enum 60 * plane types. Special planes are associated with their CRTC by calling 63 * The type of a plane is exposed in the immutable "type" enumeration property, 91 static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane) 100 formats_size = sizeof(__u32) * plane->format_count; 107 sizeof(struct drm_format_modifier) * plane->modifier_count 297 struct drm_plane *plane; local 312 struct drm_plane *plane; local 401 struct drm_plane *plane; local 483 struct drm_plane *plane; local 521 struct drm_plane *plane; local 659 struct drm_plane *plane; local 799 struct drm_plane *plane; local 853 struct drm_plane *plane = crtc->cursor; local 1044 struct drm_plane *plane; local [all...] |
| drm_plane.c | 45 * A plane represents an image source that can be blended with or overlayed on 47 * &drm_framebuffer object. The plane itself specifies the cropping and scaling 49 * pipeline, represented by &drm_crtc. A plane can also have additional 53 * To create a plane, a KMS drivers allocates and zeroes an instances of 58 * primary plane per CRTC to avoid surprising userspace too much. See enum 60 * plane types. Special planes are associated with their CRTC by calling 63 * The type of a plane is exposed in the immutable "type" enumeration property, 91 static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane) 100 formats_size = sizeof(__u32) * plane->format_count; 107 sizeof(struct drm_format_modifier) * plane->modifier_count 297 struct drm_plane *plane; local 312 struct drm_plane *plane; local 401 struct drm_plane *plane; local 483 struct drm_plane *plane; local 521 struct drm_plane *plane; local 659 struct drm_plane *plane; local 799 struct drm_plane *plane; local 853 struct drm_plane *plane = crtc->cursor; local 1044 struct drm_plane *plane; local [all...] |
| drm_blend.c | 8 * DRM core plane blending related functions 46 * The basic plane composition model supported by standard plane properties only 54 * For the atomic ioctl the following standard (atomic) properties on the plane object 55 * encode the basic plane composition model: 82 * Mode object ID of the &drm_framebuffer this plane should scan out. 84 * Mode object ID of the &drm_crtc this plane should be connected to. 101 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be 104 * pre-multiplied by the global alpha associated to the plane. 115 * Signals that a drm plane is rotated <degrees> degrees in counte 439 struct drm_plane *plane; local [all...] |
| drm_blend.c | 8 * DRM core plane blending related functions 46 * The basic plane composition model supported by standard plane properties only 54 * For the atomic ioctl the following standard (atomic) properties on the plane object 55 * encode the basic plane composition model: 82 * Mode object ID of the &drm_framebuffer this plane should scan out. 84 * Mode object ID of the &drm_crtc this plane should be connected to. 101 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be 104 * pre-multiplied by the global alpha associated to the plane. 115 * Signals that a drm plane is rotated <degrees> degrees in counte 439 struct drm_plane *plane; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/virtio/ |
| virtgpu_plane.c | 75 static void virtio_gpu_plane_destroy(struct drm_plane *plane) 77 drm_plane_cleanup(plane); 78 kfree(plane); 90 static int virtio_gpu_plane_atomic_check(struct drm_plane *plane, 93 bool is_cursor = plane->type == DRM_PLANE_TYPE_CURSOR; 134 static void virtio_gpu_primary_plane_update(struct drm_plane *plane, 137 struct drm_device *dev = plane->dev; 143 if (plane->state->crtc) 144 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc); 150 if (!plane->state->fb || !output->enabled) 327 struct drm_plane *plane; local [all...] |
| virtgpu_plane.c | 75 static void virtio_gpu_plane_destroy(struct drm_plane *plane) 77 drm_plane_cleanup(plane); 78 kfree(plane); 90 static int virtio_gpu_plane_atomic_check(struct drm_plane *plane, 93 bool is_cursor = plane->type == DRM_PLANE_TYPE_CURSOR; 134 static void virtio_gpu_primary_plane_update(struct drm_plane *plane, 137 struct drm_device *dev = plane->dev; 143 if (plane->state->crtc) 144 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc); 150 if (!plane->state->fb || !output->enabled) 327 struct drm_plane *plane; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| fb_decoder.c | 199 * intel_vgpu_decode_primary_plane - Decode primary plane 201 * @plane: primary plane to save decoded info 202 * This function is called for decoding plane 208 struct intel_vgpu_primary_plane_format *plane) 219 plane->enabled = !!(val & DISPLAY_PLANE_ENABLE); 220 if (!plane->enabled) 224 plane->tiled = val & PLANE_CTL_TILED_MASK; 236 plane->bpp = skl_pixel_formats[fmt].bpp; 237 plane->drm_format = skl_pixel_formats[fmt].drm_format [all...] |
| fb_decoder.c | 199 * intel_vgpu_decode_primary_plane - Decode primary plane 201 * @plane: primary plane to save decoded info 202 * This function is called for decoding plane 208 struct intel_vgpu_primary_plane_format *plane) 219 plane->enabled = !!(val & DISPLAY_PLANE_ENABLE); 220 if (!plane->enabled) 224 plane->tiled = val & PLANE_CTL_TILED_MASK; 236 plane->bpp = skl_pixel_formats[fmt].bpp; 237 plane->drm_format = skl_pixel_formats[fmt].drm_format [all...] |
| /src/sys/external/bsd/drm2/drm/ |
| drm_gem_framebuffer_helper.c | 60 unsigned plane; local 62 for (plane = 0; plane < __arraycount(fb->obj); plane++) 63 drm_gem_object_put_unlocked(fb->obj[plane]); 71 * Create a GEM handle for the object of the first plane (plane=0) 103 unsigned plane; local 123 /* Get the object for each plane. */ 124 for (plane = 0; plane < fb->format->num_planes; plane++) [all...] |
| drm_gem_framebuffer_helper.c | 60 unsigned plane; local 62 for (plane = 0; plane < __arraycount(fb->obj); plane++) 63 drm_gem_object_put_unlocked(fb->obj[plane]); 71 * Create a GEM handle for the object of the first plane (plane=0) 103 unsigned plane; local 123 /* Get the object for each plane. */ 124 for (plane = 0; plane < fb->format->num_planes; plane++) [all...] |
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_blend.h | 47 int drm_plane_create_alpha_property(struct drm_plane *plane); 48 int drm_plane_create_rotation_property(struct drm_plane *plane, 54 int drm_plane_create_zpos_property(struct drm_plane *plane, 57 int drm_plane_create_zpos_immutable_property(struct drm_plane *plane, 61 int drm_plane_create_blend_mode_property(struct drm_plane *plane,
|
| drm_blend.h | 47 int drm_plane_create_alpha_property(struct drm_plane *plane); 48 int drm_plane_create_rotation_property(struct drm_plane *plane, 54 int drm_plane_create_zpos_property(struct drm_plane *plane, 57 int drm_plane_create_zpos_immutable_property(struct drm_plane *plane, 61 int drm_plane_create_blend_mode_property(struct drm_plane *plane,
|
| drm_plane.h | 41 * struct drm_plane_state - mutable plane state 50 /** @plane: backpointer to the plane */ 51 struct drm_plane *plane; member in struct:drm_plane_state 87 * Left position of visible portion of plane on crtc, signed dest 95 * Upper position of visible portion of plane on crtc, signed dest 100 /** @crtc_w: width of visible portion of plane on crtc */ 101 /** @crtc_h: height of visible portion of plane on crtc */ 105 * @src_x: left position of visible portion of plane within plane (i [all...] |
| drm_plane.h | 41 * struct drm_plane_state - mutable plane state 50 /** @plane: backpointer to the plane */ 51 struct drm_plane *plane; member in struct:drm_plane_state 87 * Left position of visible portion of plane on crtc, signed dest 95 * Upper position of visible portion of plane on crtc, signed dest 100 /** @crtc_w: width of visible portion of plane on crtc */ 101 /** @crtc_h: height of visible portion of plane on crtc */ 105 * @src_x: left position of visible portion of plane within plane (i [all...] |
| drm_atomic_state_helper.h | 56 struct drm_plane *plane); 57 void __drm_atomic_helper_plane_reset(struct drm_plane *plane, 59 void drm_atomic_helper_plane_reset(struct drm_plane *plane); 60 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, 63 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); 65 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
|
| drm_atomic_state_helper.h | 56 struct drm_plane *plane); 57 void __drm_atomic_helper_plane_reset(struct drm_plane *plane, 59 void drm_atomic_helper_plane_reset(struct drm_plane *plane); 60 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, 63 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); 65 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
|
| drm_plane_helper.h | 35 * Drivers that don't allow primary plane scaling may pass this macro in place 43 void drm_primary_helper_destroy(struct drm_plane *plane);
|
| drm_plane_helper.h | 35 * Drivers that don't allow primary plane scaling may pass this macro in place 43 void drm_primary_helper_destroy(struct drm_plane *plane);
|
| drm_fourcc.h | 78 * Number of bytes per pixel (per plane), this is aliased with 88 * Number of bytes per block (per plane), where blocks are 150 * format with data laid in a single plane 266 * drm_format_info_plane_width - width of the plane given the first plane 268 * @width: width of the first plane 269 * @plane: plane index 272 * The width of @plane, given that the width of the first plane is @width [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| intel_atomic_plane.c | 27 * DOC: atomic plane helpers 29 * The functions here are used by the atomic plane helper functions to 30 * implement legacy plane updates (i.e., drm_plane->update_plane() and 31 * drm_plane->disable_plane()). This allows plane updates to use the 32 * atomic state infrastructure and perform plane updates as separate 50 struct intel_plane *plane) 54 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); 62 struct intel_plane *plane; local 64 plane = kzalloc(sizeof(*plane), GFP_KERNEL) 232 struct intel_plane *plane = to_intel_plane(new_plane_state->uapi.plane); local 323 struct intel_plane *plane; local 386 struct intel_plane *plane; local 415 struct intel_plane *plane; local [all...] |
| intel_atomic_plane.c | 27 * DOC: atomic plane helpers 29 * The functions here are used by the atomic plane helper functions to 30 * implement legacy plane updates (i.e., drm_plane->update_plane() and 31 * drm_plane->disable_plane()). This allows plane updates to use the 32 * atomic state infrastructure and perform plane updates as separate 50 struct intel_plane *plane) 54 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); 62 struct intel_plane *plane; local 64 plane = kzalloc(sizeof(*plane), GFP_KERNEL) 232 struct intel_plane *plane = to_intel_plane(new_plane_state->uapi.plane); local 323 struct intel_plane *plane; local 386 struct intel_plane *plane; local 415 struct intel_plane *plane; local [all...] |
| intel_atomic_plane.h | 27 void intel_update_plane(struct intel_plane *plane, 30 void intel_disable_plane(struct intel_plane *plane, 33 void intel_plane_free(struct intel_plane *plane); 34 struct drm_plane_state *intel_plane_duplicate_state(struct drm_plane *plane); 35 void intel_plane_destroy_state(struct drm_plane *plane, 46 struct intel_plane *plane); 52 struct intel_plane *plane);
|
| intel_atomic_plane.h | 27 void intel_update_plane(struct intel_plane *plane, 30 void intel_disable_plane(struct intel_plane *plane, 33 void intel_plane_free(struct intel_plane *plane); 34 struct drm_plane_state *intel_plane_duplicate_state(struct drm_plane *plane); 35 void intel_plane_destroy_state(struct drm_plane *plane, 46 struct intel_plane *plane); 52 struct intel_plane *plane);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_overlay.c | 118 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, 125 struct nouveau_drm *drm = nouveau_drm(plane->dev); 128 container_of(plane, struct nouveau_plane, base); 196 nv10_disable_plane(struct drm_plane *plane, 199 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object; 201 container_of(plane, struct nouveau_plane, base); 213 nv_destroy_plane(struct drm_plane *plane) 215 drm_plane_force_disable(plane); 216 drm_plane_cleanup(plane); 217 kfree(plane); 286 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local 475 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local [all...] |
| nouveau_dispnv04_overlay.c | 118 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, 125 struct nouveau_drm *drm = nouveau_drm(plane->dev); 128 container_of(plane, struct nouveau_plane, base); 196 nv10_disable_plane(struct drm_plane *plane, 199 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object; 201 container_of(plane, struct nouveau_plane, base); 213 nv_destroy_plane(struct drm_plane *plane) 215 drm_plane_force_disable(plane); 216 drm_plane_cleanup(plane); 217 kfree(plane); 286 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local 475 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local [all...] |