Home
last modified time | relevance | path

Searched refs:zpos (Results 1 – 25 of 35) sorted by relevance

12

/drivers/gpu/drm/
Ddrm_blend.c370 unsigned int zpos, in drm_plane_create_zpos_property() argument
379 drm_object_attach_property(&plane->base, prop, zpos); in drm_plane_create_zpos_property()
384 plane->state->zpos = zpos; in drm_plane_create_zpos_property()
385 plane->state->normalized_zpos = zpos; in drm_plane_create_zpos_property()
409 unsigned int zpos) in drm_plane_create_zpos_immutable_property() argument
414 "zpos", zpos, zpos); in drm_plane_create_zpos_immutable_property()
418 drm_object_attach_property(&plane->base, prop, zpos); in drm_plane_create_zpos_immutable_property()
423 plane->state->zpos = zpos; in drm_plane_create_zpos_immutable_property()
424 plane->state->normalized_zpos = zpos; in drm_plane_create_zpos_immutable_property()
436 if (sa->zpos != sb->zpos) in drm_atomic_state_zpos_cmp()
[all …]
/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c27 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable() argument
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()
98 unsigned int zpos) in sun8i_ui_layer_update_coord() argument
185 SUN8I_MIXER_BLEND_ATTR_COORD(bld_base, zpos), in sun8i_ui_layer_update_coord()
188 SUN8I_MIXER_BLEND_ATTR_INSIZE(bld_base, zpos), in sun8i_ui_layer_update_coord()
312 unsigned int zpos = new_state->normalized_zpos; in sun8i_ui_layer_atomic_update() local
323 layer->overlay, plane, zpos); in sun8i_ui_layer_atomic_update()
[all …]
Dsun8i_vi_layer.c21 int overlay, bool enable, unsigned int zpos, in sun8i_vi_layer_enable() argument
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()
101 unsigned int zpos) in sun8i_vi_layer_update_coord() argument
235 SUN8I_MIXER_BLEND_ATTR_COORD(bld_base, zpos), in sun8i_vi_layer_update_coord()
238 SUN8I_MIXER_BLEND_ATTR_INSIZE(bld_base, zpos), in sun8i_vi_layer_update_coord()
416 unsigned int zpos = new_state->normalized_zpos; in sun8i_vi_layer_atomic_update() local
427 layer->overlay, plane, zpos); in sun8i_vi_layer_atomic_update()
[all …]
Dsun4i_layer.c36 plane->state->zpos = layer->id; in sun4i_backend_layer_reset()
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_kms.c129 if (!last || (new->base.zpos > last->base.zpos)) { in komeda_plane_state_list_add()
136 if (new->base.zpos < node->base.zpos) { in komeda_plane_state_list_add()
139 } else if (node->base.zpos == new->base.zpos) { in komeda_plane_state_list_add()
147 a->name, b->name, node->base.zpos); in komeda_plane_state_list_add()
202 plane_st->zpos, plane_st->normalized_zpos); in komeda_crtc_normalize_zpos()
Dkomeda_plane.c151 state->base.zpos = kplane->layer->base.id; in komeda_plane_reset()
/drivers/gpu/drm/sti/
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()
/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c138 plane->state->zpos = exynos_plane->config->zpos; in exynos_drm_plane_reset()
290 int zpos, bool immutable) in exynos_plane_attach_zpos_property() argument
293 drm_plane_create_zpos_immutable_property(plane, zpos); in exynos_plane_attach_zpos_property()
295 drm_plane_create_zpos_property(plane, zpos, 0, MAX_PLANE - 1); in exynos_plane_attach_zpos_property()
324 exynos_plane_attach_zpos_property(&exynos_plane->base, config->zpos, in exynos_plane_init()
Dexynos_drm_drv.h111 unsigned int zpos; member
Dexynos_mixer.c124 .zpos = 0,
133 .zpos = 1,
142 .zpos = 2,
Dexynos_drm_vidi.c395 plane_config.zpos = i; in vidi_bind()
/drivers/gpu/drm/omapdrm/
Domap_plane.c102 new_state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY ? 0 : omap_plane->id; in omap_plane_atomic_disable()
201 plane->state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY in omap_plane_reset()
215 state->zpos = val; in omap_plane_atomic_set_property()
230 *val = state->zpos; in omap_plane_atomic_get_property()
Domap_crtc.c25 unsigned int zpos; member
601 omap_crtc_state->zpos = pri_state->zpos; in omap_crtc_atomic_check()
685 plane_state->zpos = val; in omap_crtc_atomic_set_property()
703 *val = omap_state->zpos; in omap_crtc_atomic_get_property()
740 state->zpos = current_state->zpos; in omap_crtc_duplicate_state()
/drivers/gpu/drm/imx/
Dipuv3-plane.c300 unsigned int zpos = (plane->type == DRM_PLANE_TYPE_PRIMARY) ? 0 : 1; in ipu_plane_state_reset() local
314 ipu_state->base.zpos = zpos; in ipu_plane_state_reset()
315 ipu_state->base.normalized_zpos = zpos; in ipu_plane_state_reset()
892 unsigned int zpos = (type == DRM_PLANE_TYPE_PRIMARY) ? 0 : 1; in ipu_plane_init() local
917 zpos ? "overlay" : "primary"); in ipu_plane_init()
928 ret = drm_plane_create_zpos_property(&ipu_plane->base, zpos, 0, in ipu_plane_init()
948 zpos ? "overlay" : "primary", &ret); in ipu_plane_init()
/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c73 .zpos = 0, in rcar_du_vsp_enable()
161 .zpos = state->state.zpos, in rcar_du_vsp_plane_setup()
339 state->state.zpos = plane->type == DRM_PLANE_TYPE_PRIMARY ? 0 : 1; in rcar_du_vsp_plane_reset()
/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c372 unsigned int zpos) in dcss_plane_init() argument
378 if (zpos > 2) in dcss_plane_init()
402 ret = drm_plane_create_zpos_immutable_property(&dcss_plane->base, zpos); in dcss_plane_init()
419 dcss_plane->ch_num = zpos; in dcss_plane_init()
Ddcss-kms.h42 unsigned int zpos);
/drivers/media/platform/vsp1/
Dvsp1_drm.h63 unsigned int zpos; member
Dvsp1_drm.c363 return vsp1->drm->inputs[rpf->entity.index].zpos; in rpf_zpos()
838 &cfg->mem[2], cfg->zpos); in vsp1_du_atomic_update()
857 vsp1->drm->inputs[rpf_index].zpos = cfg->zpos; in vsp1_du_atomic_update()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h247 __field(unsigned int, zpos)
276 __entry->zpos = state->zpos;
301 __entry->zpos, __entry->normalized_zpos,
/drivers/gpu/drm/i915/display/
Dintel_cursor.c755 int ret, zpos; in intel_cursor_plane_create() local
802 zpos = RUNTIME_INFO(dev_priv)->num_sprites[pipe] + 1; in intel_cursor_plane_create()
803 drm_plane_create_zpos_immutable_property(&cursor->base, zpos); in intel_cursor_plane_create()
Di9xx_plane.c773 int ret, zpos; in intel_primary_plane_create() local
912 zpos = 0; in intel_primary_plane_create()
913 drm_plane_create_zpos_immutable_property(&plane->base, zpos); in intel_primary_plane_create()
Dintel_sprite.c1758 int ret, zpos; in intel_sprite_plane_create() local
1856 zpos = sprite + 1; in intel_sprite_plane_create()
1857 drm_plane_create_zpos_immutable_property(&plane->base, zpos); in intel_sprite_plane_create()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c80 drm_printf(p, "\tzpos=%u\n", pstate->base.zpos); in mdp5_plane_atomic_print_state()
100 mdp5_state->base.zpos = STAGE_BASE; in mdp5_plane_reset()
102 mdp5_state->base.zpos = STAGE0 + drm_plane_index(plane); in mdp5_plane_reset()
103 mdp5_state->base.normalized_zpos = mdp5_state->base.zpos; in mdp5_plane_reset()
/drivers/gpu/drm/tegra/
Dhub.c538 unsigned int zpos = new_state->normalized_zpos; in tegra_shared_plane_atomic_update() local
579 value = K2(255) | K1(255) | WINDOW_LAYER_DEPTH(255 - zpos); in tegra_shared_plane_atomic_update()

12