HomeSort by: relevance | last modified time | path
    Searched refs:plane (Results 1 - 25 of 100) sorted by relevancy

1 2 3 4

  /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 in function:drm_plane_register_all
312 struct drm_plane *plane; local in function:drm_plane_unregister_all
401 struct drm_plane *plane; local in function:drm_plane_from_index
483 struct drm_plane *plane; local in function:drm_mode_getplane_res
521 struct drm_plane *plane; local in function:drm_mode_getplane
659 struct drm_plane *plane; local in function:drm_any_plane_has_format
799 struct drm_plane *plane; local in function:drm_mode_setplane
853 struct drm_plane *plane = crtc->cursor; local in function:drm_mode_cursor_universal
1044 struct drm_plane *plane; local in function:drm_mode_page_flip_ioctl
    [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 in function:drm_atomic_helper_crtc_normalize_zpos
    [all...]
drm_plane_helper.c 6 * DRM universal plane helper functions
46 * primary plane support on top of the normal CRTC configuration interface.
48 * plane together with the CRTC state this does not allow userspace to disable
49 * the primary plane itself. The default primary plane only expose XRBG8888 and
57 * gradually switch to the atomic helper infrastructure for plane updates. Once
59 * the proper legacy implementations for update and disable plane hooks provided
64 * The plane helpers share the function table structures with other helpers,
84 * Note: Once we change the plane hooks to more fine-grained locking we
104 static int drm_plane_helper_check_update(struct drm_plane *plane,
    [all...]
drm_atomic_state_helper.c 236 * __drm_atomic_helper_plane_state_reset - resets plane state to default values
237 * @plane_state: atomic plane state, must not be NULL
238 * @plane: plane object, must not be NULL
244 struct drm_plane *plane)
246 plane_state->plane = plane;
255 * __drm_atomic_helper_plane_reset - reset state on plane
256 * @plane: drm plane
    [all...]
drm_crtc.c 72 * &drm_crtc_funcs.set_config, legacy plane operations, see
218 * @primary: Primary plane for CRTC
219 * @cursor: Cursor plane for CRTC
226 * planes). For really simple hardware which has only 1 plane look at
370 struct drm_plane *plane; local in function:drm_mode_getcrtc
379 plane = crtc->primary;
383 drm_modeset_lock(&plane->mutex, NULL);
384 if (plane->state && plane->state->fb)
385 crtc_resp->fb_id = plane->state->fb->base.id
440 struct drm_plane *plane = tmp->primary; local in function:__drm_mode_set_config_internal
449 struct drm_plane *plane = crtc->primary; local in function:__drm_mode_set_config_internal
456 struct drm_plane *plane = tmp->primary; local in function:__drm_mode_set_config_internal
537 struct drm_plane *plane; local in function:drm_mode_setcrtc
    [all...]
drm_atomic.c 201 struct drm_plane *plane = state->planes[i].ptr; local in function:drm_atomic_state_default_clear
203 if (!plane)
206 plane->funcs->atomic_destroy_state(plane,
459 * drm_atomic_get_plane_state - get plane state
461 * @plane: plane to get state object for
463 * This function returns the plane state for the given plane, allocating it if
464 * needed. It will also grab the relevant plane lock to make sure that the stat
552 struct drm_plane *plane = new_plane_state->plane; local in function:drm_atomic_plane_check
663 struct drm_plane *plane = state->plane; local in function:drm_atomic_plane_print_state
1117 struct drm_plane *plane; local in function:drm_atomic_add_affected_planes
1150 struct drm_plane *plane; local in function:drm_atomic_check_only
1466 struct drm_plane *plane; local in function:__drm_state_dump
    [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 in function:virtio_gpu_plane_init
    [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...]
  /src/sys/external/bsd/drm2/drm/
drm_gem_framebuffer_helper.c 60 unsigned plane; local in function:drm_gem_fb_destroy
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 in function:drm_gem_fb_create_with_funcs
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_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_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...]
drm_atomic_helper.h 112 int drm_atomic_helper_update_plane(struct drm_plane *plane,
120 int drm_atomic_helper_disable_plane(struct drm_plane *plane,
156 * @plane: the loop cursor
165 #define drm_atomic_crtc_for_each_plane(plane, crtc) \
166 drm_for_each_plane_mask(plane, (crtc)->dev, (crtc)->state->plane_mask)
170 * @plane: the loop cursor
178 #define drm_atomic_crtc_state_for_each_plane(plane, crtc_state) \
179 drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask)
183 * @plane: the loop cursor
184 * @plane_state: loop cursor for the plane's state, must be cons
    [all...]
drm_modeset_helper_vtables.h 60 * These hooks are used by the legacy CRTC helpers, the transitional plane
176 * plane update checks only.
197 * position and framebuffer. Since it ties the primary plane to every
198 * mode change it is incompatible with universal plane support. And
216 * changing anything of the primary plane configuration. This fits the
218 * also used by the transitional plane helpers to implement a
309 * Drivers should check plane-update related CRTC constraints in this
335 * transitional plane helpers, but it is optional.
368 * This hook is called before any plane commit functions are called.
373 * the tradeoffs and variants of plane commit helpers
    [all...]
drm_gem_framebuffer_helper.h 18 unsigned int plane);
34 int drm_gem_fb_prepare_fb(struct drm_plane *plane,
drm_atomic.h 315 * @async_update: hint for asynchronous plane update
316 * @planes: pointer to array of structures with per-plane data
366 * When a connector or plane is not bound to any CRTC, it's still important
453 struct drm_plane *plane);
529 * drm_atomic_get_existing_plane_state - get plane state, if it exists
531 * @plane: plane to grab
533 * This function returns the plane state for the given plane, or NULL
534 * if the plane is not part of the global atomic state
    [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 in function:intel_plane_alloc
64 plane = kzalloc(sizeof(*plane), GFP_KERNEL)
232 struct intel_plane *plane = to_intel_plane(new_plane_state->uapi.plane); local in function:intel_plane_atomic_check_with_state
323 struct intel_plane *plane; local in function:skl_next_plane_to_commit
386 struct intel_plane *plane; local in function:skl_update_planes_on_crtc
415 struct intel_plane *plane; local in function:i9xx_update_planes_on_crtc
    [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_sprite.c 28 * New plane/sprite handling.
30 * The older chips had a separate interface for programming plane related
31 * registers; newer ones are much simpler and we can use the new DRM plane
227 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:intel_plane_check_stride
236 * kick in due the plane being invisible.
244 max_stride = plane->max_stride(plane, fb->format->format,
248 DRM_DEBUG_KMS("[FB:%d] stride (%d) exceeds [PLANE:%d:%s] max stride (%d)\n",
250 plane->base.base.id, plane->base.name, max_stride)
727 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:chv_update_csc
786 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:vlv_update_clrc
989 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:vlv_update_gamma
1398 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:ivb_update_gamma
1681 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:g4x_update_gamma
1713 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:ilk_update_gamma
1930 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:g4x_sprite_check
1978 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:chv_plane_check_rotation
2030 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:skl_plane_check_fb
2170 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:skl_plane_check
2243 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:intel_plane_set_ckey
2271 struct drm_plane *plane; local in function:intel_sprite_set_colorkey_ioctl
2679 struct intel_plane *plane = to_intel_plane(_plane); local in function:skl_plane_format_mod_supported
2749 struct intel_plane *plane = to_intel_plane(_plane); local in function:gen12_plane_format_mod_supported
2952 struct intel_plane *plane; local in function:skl_universal_plane_create
3062 struct intel_plane *plane; local in function:intel_sprite_plane_create
    [all...]
  /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 in function:nv10_overlay_init
475 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local in function:nv04_overlay_init
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_vma_types.h 106 struct intel_remapped_plane_info plane[2]; member in struct:intel_remapped_info
111 struct intel_remapped_plane_info plane[2]; member in struct:intel_rotation_info
133 BUILD_BUG_ON(offsetof(struct intel_remapped_info, plane[0]) !=
134 offsetof(struct intel_rotation_info, plane[0]));
135 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) !=
136 offsetofend(struct intel_rotation_info, plane[1]));
219 * use on each plane on each crtc, while also building the next atomic
  /src/games/atc/
struct.h 82 typedef struct plane { struct
83 struct plane *next, *prev;
100 } PLANE;
103 PLANE *head, *tail;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_wndw.c 109 struct nv50_disp *disp = nv50_disp(wndw->plane.dev);
174 struct nv50_disp *disp = nv50_disp(wndw->plane.dev);
190 struct nouveau_drm *drm = nouveau_drm(wndw->plane.dev);
191 NV_ATOMIC(drm, "%s release\n", wndw->plane.name);
243 struct nouveau_drm *drm = nouveau_drm(wndw->plane.dev);
246 NV_ATOMIC(drm, "%s acquire\n", wndw->plane.name);
399 nv50_wndw_atomic_check(struct drm_plane *plane, struct drm_plane_state *state)
401 struct nouveau_drm *drm = nouveau_drm(plane->dev);
402 struct nv50_wndw *wndw = nv50_wndw(plane);
403 struct nv50_wndw_atom *armw = nv50_wndw_atom(wndw->plane.state)
    [all...]

Completed in 57 milliseconds

1 2 3 4