Home
last modified time | relevance | path

Searched refs:zpos (Results 1 - 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_blend.c129 * zpos:
139 * any plane has a zpos property (either mutable or immutable), then all
140 * planes shall have a zpos property.
333 * drm_plane_create_zpos_property - create mutable zpos property
335 * @zpos: initial value of zpos property
336 * @min: minimal possible value of zpos property
337 * @max: maximal possible value of zpos property
339 * This function initializes generic mutable zpos property and enables support
342 * Drivers that attach a mutable zpos propert
362 drm_plane_create_zpos_property(struct drm_plane *plane, unsigned int zpos, unsigned int min, unsigned int max) drm_plane_create_zpos_property() argument
401 drm_plane_create_zpos_immutable_property(struct drm_plane *plane, unsigned int zpos) drm_plane_create_zpos_immutable_property() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_blend.c129 * zpos:
139 * any plane has a zpos property (either mutable or immutable), then all
140 * planes shall have a zpos property.
340 * drm_plane_create_zpos_property - create mutable zpos property
342 * @zpos: initial value of zpos property
343 * @min: minimal possible value of zpos property
344 * @max: maximal possible value of zpos property
346 * This function initializes generic mutable zpos property and enables support
349 * Drivers that attach a mutable zpos propert
369 drm_plane_create_zpos_property(struct drm_plane *plane, unsigned int zpos, unsigned int min, unsigned int max) drm_plane_create_zpos_property() argument
408 drm_plane_create_zpos_immutable_property(struct drm_plane *plane, unsigned int zpos) drm_plane_create_zpos_immutable_property() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c104 /* Considering the list sequence is zpos increasing, so if list is empty in komeda_plane_state_list_add()
105 * or the zpos of new node bigger than the last node in list, no need in komeda_plane_state_list_add()
108 if (!last || (new->base.zpos > last->base.zpos)) { in komeda_plane_state_list_add()
113 /* Build the list by zpos increasing */ in komeda_plane_state_list_add()
115 if (new->base.zpos < node->base.zpos) { in komeda_plane_state_list_add()
118 } else if (node->base.zpos == new->base.zpos) { in komeda_plane_state_list_add()
122 /* Komeda doesn't support setting a same zpos fo in komeda_plane_state_list_add()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c122 /* Considering the list sequence is zpos increasing, so if list is empty in komeda_plane_state_list_add()
123 * or the zpos of new node bigger than the last node in list, no need in komeda_plane_state_list_add()
126 if (!last || (new->base.zpos > last->base.zpos)) { in komeda_plane_state_list_add()
131 /* Build the list by zpos increasing */ in komeda_plane_state_list_add()
133 if (new->base.zpos < node->base.zpos) { in komeda_plane_state_list_add()
136 } else if (node->base.zpos == new->base.zpos) { in komeda_plane_state_list_add()
140 /* Komeda doesn't support setting a same zpos fo in komeda_plane_state_list_add()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A Dsun8i_vi_layer.c21 int overlay, bool enable, unsigned int zpos, in sun8i_vi_layer_enable()
41 if (!enable || zpos != old_zpos) { in sun8i_vi_layer_enable()
54 val = SUN8I_MIXER_BLEND_PIPE_CTL_EN(zpos); in sun8i_vi_layer_enable()
60 val = channel << SUN8I_MIXER_BLEND_ROUTE_PIPE_SHIFT(zpos); in sun8i_vi_layer_enable()
64 SUN8I_MIXER_BLEND_ROUTE_PIPE_MSK(zpos), in sun8i_vi_layer_enable()
71 unsigned int zpos) in sun8i_vi_layer_update_coord()
205 SUN8I_MIXER_BLEND_ATTR_COORD(bld_base, zpos), in sun8i_vi_layer_update_coord()
208 SUN8I_MIXER_BLEND_ATTR_INSIZE(bld_base, zpos), in sun8i_vi_layer_update_coord()
384 unsigned int zpos = plane->state->normalized_zpos; in sun8i_vi_layer_atomic_update() local
395 layer->overlay, plane, zpos); in sun8i_vi_layer_atomic_update()
20 sun8i_vi_layer_enable(struct sun8i_mixer *mixer, int channel, int overlay, bool enable, unsigned int zpos, unsigned int old_zpos) sun8i_vi_layer_enable() argument
69 sun8i_vi_layer_update_coord(struct sun8i_mixer *mixer, int channel, int overlay, struct drm_plane *plane, unsigned int zpos) sun8i_vi_layer_update_coord() argument
[all...]
H A Dsun8i_ui_layer.c27 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable()
47 if (!enable || zpos != old_zpos) { in sun8i_ui_layer_enable()
60 val = SUN8I_MIXER_BLEND_PIPE_CTL_EN(zpos); in sun8i_ui_layer_enable()
66 val = channel << SUN8I_MIXER_BLEND_ROUTE_PIPE_SHIFT(zpos); in sun8i_ui_layer_enable()
70 SUN8I_MIXER_BLEND_ROUTE_PIPE_MSK(zpos), in sun8i_ui_layer_enable()
77 unsigned int zpos) in sun8i_ui_layer_update_coord()
164 SUN8I_MIXER_BLEND_ATTR_COORD(bld_base, zpos), in sun8i_ui_layer_update_coord()
167 SUN8I_MIXER_BLEND_ATTR_INSIZE(bld_base, zpos), in sun8i_ui_layer_update_coord()
281 unsigned int zpos = plane->state->normalized_zpos; in sun8i_ui_layer_atomic_update() local
292 layer->overlay, plane, zpos); in sun8i_ui_layer_atomic_update()
26 sun8i_ui_layer_enable(struct sun8i_mixer *mixer, int channel, int overlay, bool enable, unsigned int zpos, unsigned int old_zpos) sun8i_ui_layer_enable() argument
75 sun8i_ui_layer_update_coord(struct sun8i_mixer *mixer, int channel, int overlay, struct drm_plane *plane, unsigned int zpos) sun8i_ui_layer_update_coord() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_layer.c28 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable()
48 if (!enable || zpos != old_zpos) { in sun8i_ui_layer_enable()
61 val = SUN8I_MIXER_BLEND_PIPE_CTL_EN(zpos); in sun8i_ui_layer_enable()
67 val = channel << SUN8I_MIXER_BLEND_ROUTE_PIPE_SHIFT(zpos); in sun8i_ui_layer_enable()
71 SUN8I_MIXER_BLEND_ROUTE_PIPE_MSK(zpos), in sun8i_ui_layer_enable()
99 unsigned int zpos) in sun8i_ui_layer_update_coord()
156 SUN8I_MIXER_BLEND_ATTR_COORD(bld_base, zpos), in sun8i_ui_layer_update_coord()
159 SUN8I_MIXER_BLEND_ATTR_INSIZE(bld_base, zpos), in sun8i_ui_layer_update_coord()
283 unsigned int zpos = new_state->normalized_zpos; in sun8i_ui_layer_atomic_update() local
294 layer->overlay, plane, zpos); in sun8i_ui_layer_atomic_update()
27 sun8i_ui_layer_enable(struct sun8i_mixer *mixer, int channel, int overlay, bool enable, unsigned int zpos, unsigned int old_zpos) sun8i_ui_layer_enable() argument
97 sun8i_ui_layer_update_coord(struct sun8i_mixer *mixer, int channel, int overlay, struct drm_plane *plane, unsigned int zpos) sun8i_ui_layer_update_coord() argument
[all...]
H A Dsun8i_vi_layer.c22 int overlay, bool enable, unsigned int zpos, in sun8i_vi_layer_enable()
42 if (!enable || zpos != old_zpos) { in sun8i_vi_layer_enable()
55 val = SUN8I_MIXER_BLEND_PIPE_CTL_EN(zpos); in sun8i_vi_layer_enable()
61 val = channel << SUN8I_MIXER_BLEND_ROUTE_PIPE_SHIFT(zpos); in sun8i_vi_layer_enable()
65 SUN8I_MIXER_BLEND_ROUTE_PIPE_MSK(zpos), in sun8i_vi_layer_enable()
102 unsigned int zpos) in sun8i_vi_layer_update_coord()
236 SUN8I_MIXER_BLEND_ATTR_COORD(bld_base, zpos), in sun8i_vi_layer_update_coord()
239 SUN8I_MIXER_BLEND_ATTR_INSIZE(bld_base, zpos), in sun8i_vi_layer_update_coord()
417 unsigned int zpos = new_state->normalized_zpos; in sun8i_vi_layer_atomic_update() local
428 layer->overlay, plane, zpos); in sun8i_vi_layer_atomic_update()
21 sun8i_vi_layer_enable(struct sun8i_mixer *mixer, int channel, int overlay, bool enable, unsigned int zpos, unsigned int old_zpos) sun8i_vi_layer_enable() argument
100 sun8i_vi_layer_update_coord(struct sun8i_mixer *mixer, int channel, int overlay, struct drm_plane *plane, unsigned int zpos) sun8i_vi_layer_update_coord() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
H A Dsti_plane.c118 plane->state->zpos = sti_plane_get_default_zpos(plane->type); in sti_plane_reset()
124 int zpos = sti_plane_get_default_zpos(type); in sti_plane_attach_zorder_property() local
129 drm_plane_create_zpos_property(drm_plane, zpos, 0, 6); in sti_plane_attach_zorder_property()
132 drm_plane_create_zpos_immutable_property(drm_plane, zpos); in sti_plane_attach_zorder_property()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c138 plane->state->zpos = exynos_plane->config->zpos; in exynos_drm_plane_reset()
286 int zpos, bool immutable) in exynos_plane_attach_zpos_property()
289 drm_plane_create_zpos_immutable_property(plane, zpos); in exynos_plane_attach_zpos_property()
291 drm_plane_create_zpos_property(plane, zpos, 0, MAX_PLANE - 1); in exynos_plane_attach_zpos_property()
320 exynos_plane_attach_zpos_property(&exynos_plane->base, config->zpos, in exynos_plane_init()
285 exynos_plane_attach_zpos_property(struct drm_plane *plane, int zpos, bool immutable) exynos_plane_attach_zpos_property() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c139 plane->state->zpos = exynos_plane->config->zpos; in exynos_drm_plane_reset()
291 int zpos, bool immutable) in exynos_plane_attach_zpos_property()
294 drm_plane_create_zpos_immutable_property(plane, zpos); in exynos_plane_attach_zpos_property()
296 drm_plane_create_zpos_property(plane, zpos, 0, MAX_PLANE - 1); in exynos_plane_attach_zpos_property()
325 exynos_plane_attach_zpos_property(&exynos_plane->base, config->zpos, in exynos_plane_init()
290 exynos_plane_attach_zpos_property(struct drm_plane *plane, int zpos, bool immutable) exynos_plane_attach_zpos_property() argument
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_blend.h53 unsigned int zpos,
56 unsigned int zpos);
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_blend.h53 unsigned int zpos,
56 unsigned int zpos);
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
H A Dsti_plane.c119 int zpos = sti_plane_get_default_zpos(type); in sti_plane_attach_zorder_property() local
124 drm_plane_create_zpos_property(drm_plane, zpos, 0, 6); in sti_plane_attach_zorder_property()
127 drm_plane_create_zpos_immutable_property(drm_plane, zpos); in sti_plane_attach_zorder_property()
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_plane.c187 new_state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY ? 0 : omap_plane->id; in omap_plane_atomic_disable()
468 state->zpos = val; in omap_plane_atomic_set_property()
483 *val = state->zpos; in omap_plane_atomic_get_property()
527 unsigned int zpos; in omap_plane_init() local
561 * Set the zpos default depending on whether we are a primary or overlay in omap_plane_init()
565 zpos = 0; in omap_plane_init()
567 zpos = omap_plane->id; in omap_plane_init()
568 drm_plane_create_zpos_property(plane, zpos, 0, num_planes - 1); in omap_plane_init()
H A Domap_crtc.c24 unsigned int zpos; member
599 /* Mirror new values for zpos and rotation in omap_crtc_state */ in omap_crtc_atomic_check()
600 omap_crtc_state->zpos = pri_state->zpos; in omap_crtc_atomic_check()
684 plane_state->zpos = val; in omap_crtc_atomic_set_property()
702 *val = omap_state->zpos; in omap_crtc_atomic_get_property()
739 state->zpos = current_state->zpos; in omap_crtc_duplicate_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Domap_plane.c93 plane->state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY in omap_plane_atomic_disable()
187 * Set the zpos default depending on whether we are a primary or overlay in omap_plane_reset()
190 plane->state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY in omap_plane_reset()
202 state->zpos = val; in omap_plane_atomic_set_property()
217 *val = state->zpos; in omap_plane_atomic_get_property()
H A Domap_crtc.c25 unsigned int zpos; member
589 /* Mirror new values for zpos and rotation in omap_crtc_state */ in omap_crtc_atomic_check()
590 omap_crtc_state->zpos = pri_state->zpos; in omap_crtc_atomic_check()
674 plane_state->zpos = val; in omap_crtc_atomic_set_property()
692 *val = omap_state->zpos; in omap_crtc_atomic_get_property()
729 state->zpos = current_state->zpos; in omap_crtc_duplicate_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c364 unsigned int zpos) in dcss_plane_init()
370 if (zpos > 2) in dcss_plane_init()
394 ret = drm_plane_create_zpos_immutable_property(&dcss_plane->base, zpos); in dcss_plane_init()
407 dcss_plane->ch_num = zpos; in dcss_plane_init()
361 dcss_plane_init(struct drm_device *drm, unsigned int possible_crtcs, enum drm_plane_type type, unsigned int zpos) dcss_plane_init() argument
H A Ddcss-kms.h42 unsigned int zpos);
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_vsp.c71 .zpos = 0, in rcar_du_vsp_enable()
159 .zpos = state->state.zpos, in rcar_du_vsp_plane_setup()
332 state->state.zpos = plane->type == DRM_PLANE_TYPE_PRIMARY ? 0 : 1; in rcar_du_vsp_plane_reset()
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c374 unsigned int zpos) in dcss_plane_init()
380 if (zpos > 2) in dcss_plane_init()
404 ret = drm_plane_create_zpos_immutable_property(&dcss_plane->base, zpos); in dcss_plane_init()
421 dcss_plane->ch_num = zpos; in dcss_plane_init()
371 dcss_plane_init(struct drm_device *drm, unsigned int possible_crtcs, enum drm_plane_type type, unsigned int zpos) dcss_plane_init() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c470 unsigned int zpos; in logicvc_layer_init() local
534 zpos = logicvc->config.layers_count - index - 1; in logicvc_layer_init()
535 drm_dbg_kms(drm_dev, "Giving layer #%d zpos %d\n", index, zpos); in logicvc_layer_init()
540 drm_plane_create_zpos_immutable_property(&layer->drm_plane, zpos); in logicvc_layer_init()
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_drm.h63 unsigned int zpos; member
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drm.h63 unsigned int zpos; member

Completed in 14 milliseconds

1234