Home
last modified time | relevance | path

Searched refs:crtc_y (Results 1 – 25 of 45) sorted by relevance

12

/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c67 int crtc_x, crtc_y; in exynos_plane_mode_set() local
81 crtc_y = state->crtc_y; in exynos_plane_mode_set()
96 actual_h = exynos_plane_get_size(crtc_y, crtc_h, mode->vdisplay); in exynos_plane_mode_set()
104 if (crtc_y < 0) { in exynos_plane_mode_set()
106 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
107 crtc_y = 0; in exynos_plane_mode_set()
118 exynos_state->crtc.y = crtc_y; in exynos_plane_mode_set()
/drivers/gpu/drm/vc4/
Dvc4_plane.c57 int crtc_x, crtc_y, crtc_w, crtc_h; member
323 vc4_state->crtc_y = state->crtc_y; in vc4_plane_setup_clipping_and_scaling()
387 if (vc4_state->crtc_y < 0) { in vc4_plane_setup_clipping_and_scaling()
392 (-vc4_state->crtc_y) / subs); in vc4_plane_setup_clipping_and_scaling()
394 vc4_state->src_h[0] += vc4_state->crtc_y; in vc4_plane_setup_clipping_and_scaling()
395 vc4_state->src_h[1] += vc4_state->crtc_y / v_subsample; in vc4_plane_setup_clipping_and_scaling()
396 vc4_state->crtc_y = 0; in vc4_plane_setup_clipping_and_scaling()
581 VC4_SET_FIELD(vc4_state->crtc_y, SCALER_POS0_START_Y)); in vc4_plane_mode_set()
751 WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0); in vc4_plane_async_set_fb()
802 int crtc_x, int crtc_y, in vc4_update_plane() argument
[all …]
/drivers/gpu/drm/
Ddrm_plane_helper.c242 .crtc_y = dst->y1, in drm_plane_helper_check_update()
304 int crtc_x, int crtc_y, in drm_primary_helper_update() argument
325 .y1 = crtc_y, in drm_primary_helper_update()
327 .y2 = crtc_y + crtc_h, in drm_primary_helper_update()
547 int crtc_x, int crtc_y, in drm_plane_helper_update() argument
569 plane_state->crtc_y = crtc_y; in drm_plane_helper_update()
Ddrm_plane.c585 int32_t crtc_x, int32_t crtc_y, in __setplane_internal() argument
628 crtc_y > INT_MAX - (int32_t) crtc_h) { in __setplane_internal()
630 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_internal()
641 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
664 int32_t crtc_x, int32_t crtc_y, in setplane_internal() argument
679 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal()
737 plane_req->crtc_x, plane_req->crtc_y, in drm_mode_setplane()
757 int32_t crtc_x, crtc_y; in drm_mode_cursor_universal() local
790 crtc_y = req->y; in drm_mode_cursor_universal()
793 crtc_y = crtc->cursor_y; in drm_mode_cursor_universal()
[all …]
/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c38 unsigned int crtc_y; member
141 (splane->crtc_y << LDBBLOCR_CVLC_SHIFT) | in __shmob_drm_plane_setup()
177 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in shmob_drm_plane_update() argument
204 splane->crtc_y = crtc_y; in shmob_drm_plane_update()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c49 int crtc_y; member
369 state->crtc_y)); in atmel_hlcdc_plane_update_pos_and_size()
578 disc_y = ovl_state->crtc_y; in atmel_hlcdc_plane_prepare_disc_area()
642 state->crtc_y = s->crtc_y; in atmel_hlcdc_plane_atomic_check()
681 if (state->crtc_y + state->crtc_h > mode->vdisplay) in atmel_hlcdc_plane_atomic_check()
682 patched_crtc_h = mode->vdisplay - state->crtc_y; in atmel_hlcdc_plane_atomic_check()
686 if (state->crtc_y < 0) { in atmel_hlcdc_plane_atomic_check()
687 patched_crtc_h += state->crtc_y; in atmel_hlcdc_plane_atomic_check()
688 y_offset = -state->crtc_y; in atmel_hlcdc_plane_atomic_check()
689 state->crtc_y = 0; in atmel_hlcdc_plane_atomic_check()
[all …]
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c37 int crtc_x, int crtc_y,
790 int crtc_x, int crtc_y, in mdp5_hwpipe_mode_set() argument
819 MDP5_PIPE_OUT_XY_Y(crtc_y)); in mdp5_hwpipe_mode_set()
897 int crtc_x, crtc_y; in mdp5_plane_mode_set() local
921 crtc_y = dest->y1; in mdp5_plane_mode_set()
936 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
984 crtc_x, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
990 crtc_x_r, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
1001 int crtc_x, int crtc_y, in mdp5_update_cursor_plane_legacy() argument
1041 new_plane_state->crtc_y = crtc_y; in mdp5_update_cursor_plane_legacy()
[all …]
/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c173 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
238 plane->state->crtc_y, in virtio_gpu_cursor_plane_update()
256 plane->state->crtc_y); in virtio_gpu_cursor_plane_update()
261 output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y); in virtio_gpu_cursor_plane_update()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_plane.c56 int crtc_x, int crtc_y,
146 state->crtc_x, state->crtc_y, in mdp4_plane_atomic_update()
220 int crtc_x, int crtc_y, in mdp4_plane_mode_set() argument
250 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set()
321 MDP4_PIPE_DST_XY_Y(crtc_y)); in mdp4_plane_mode_set()
/drivers/gpu/drm/armada/
Darmada_trace.h30 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h,
32 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h),
Darmada_overlay.c99 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_ovl_plane_update() argument
113 .y1 = crtc_y, in armada_ovl_plane_update()
115 .y2 = crtc_y + crtc_h, in armada_ovl_plane_update()
127 crtc_x, crtc_y, crtc_w, crtc_h, in armada_ovl_plane_update()
/drivers/gpu/drm/i915/
Dintel_sprite.c244 int crtc_y = plane_state->base.dst.y1; in skl_update_plane() local
292 I915_WRITE_FW(SKL_PS_WIN_POS(pipe, scaler_id), (crtc_x << 16) | crtc_y); in skl_update_plane()
298 I915_WRITE_FW(PLANE_POS(pipe, plane_id), (crtc_y << 16) | crtc_x); in skl_update_plane()
507 int crtc_y = plane_state->base.dst.y1; in vlv_update_plane() local
533 I915_WRITE_FW(SPPOS(pipe, plane_id), (crtc_y << 16) | crtc_x); in vlv_update_plane()
658 int crtc_y = plane_state->base.dst.y1; in ivb_update_plane() local
687 I915_WRITE_FW(SPRPOS(pipe), (crtc_y << 16) | crtc_x); in ivb_update_plane()
814 int crtc_y = plane_state->base.dst.y1; in g4x_update_plane() local
843 I915_WRITE_FW(DVSPOS(pipe), (crtc_y << 16) | crtc_x); in g4x_update_plane()
906 int crtc_x, crtc_y; in intel_check_sprite_plane() local
[all …]
/drivers/gpu/drm/sun4i/
Dsun8i_mixer.c138 state->crtc_x, state->crtc_y); in sun8i_mixer_update_layer_coord()
141 SUN8I_MIXER_COORD(state->crtc_x, state->crtc_y)); in sun8i_mixer_update_layer_coord()
217 if (state->crtc_y < 0) in sun8i_mixer_update_layer_buffer()
218 paddr += -state->crtc_y * fb->pitches[0]; in sun8i_mixer_update_layer_buffer()
Dsun4i_backend.c165 state->crtc_x, state->crtc_y); in sun4i_backend_update_layer_coord()
168 state->crtc_y)); in sun4i_backend_update_layer_coord()
/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c785 int crtc_y, unsigned int crtc_w, in ade_update_channel() argument
798 crtc_x, crtc_y, crtc_w, crtc_h); in ade_update_channel()
813 ade_compositor_routing_set(base, ch, crtc_x, crtc_y, in_w, in_h, fmt); in ade_update_channel()
845 int crtc_y = state->crtc_y; in ade_plane_atomic_check() local
870 if (crtc_x < 0 || crtc_y < 0) in ade_plane_atomic_check()
874 crtc_y + crtc_h > crtc_state->adjusted_mode.vdisplay) in ade_plane_atomic_check()
886 ade_update_channel(aplane, state->fb, state->crtc_x, state->crtc_y, in ade_plane_atomic_update()
/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c115 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in nv10_update_plane() argument
160 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane()
363 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in nv04_update_plane() argument
405 nvif_wr32(dev, NV_PVIDEO_WINDOW_START, crtc_y << 16 | crtc_x); in nv04_update_plane()
/drivers/gpu/drm/meson/
Dmeson_plane.c92 .y1 = state->crtc_y, in meson_plane_atomic_update()
94 .y2 = state->crtc_y + state->crtc_h, in meson_plane_atomic_update()
Dmeson_crtc.c187 .y1 = state->crtc_y, in meson_crtc_irq()
189 .y2 = state->crtc_y + state->crtc_h, in meson_crtc_irq()
/drivers/staging/vboxvideo/
Dvbox_mode.c832 s32 crtc_y = in vbox_cursor_move() local
843 if (x + crtc_x < 0 || y + crtc_y < 0 || vbox->cursor_data_size == 0) in vbox_cursor_move()
847 y + crtc_y, &host_x, &host_y); in vbox_cursor_move()
865 if (y + crtc_y < host_y) in vbox_cursor_move()
866 hot_y = min(host_y - y - crtc_y, vbox->cursor_height); in vbox_cursor_move()
/drivers/gpu/drm/imx/
Dipuv3-plane.h39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/drivers/gpu/drm/omapdrm/
Domap_plane.c128 if (state->crtc_x < 0 || state->crtc_y < 0) in omap_plane_atomic_check()
134 if (state->crtc_y + state->crtc_h > crtc_state->adjusted_mode.vdisplay) in omap_plane_atomic_check()
/drivers/gpu/drm/sti/
Dsti_gdp.c630 dst_y = state->crtc_y; in sti_gdp_atomic_check()
714 (oldstate->crtc_y == state->crtc_y) && in sti_gdp_atomic_update()
739 dst_y = state->crtc_y; in sti_gdp_atomic_update()
Dsti_cursor.c200 dst_y = state->crtc_y; in sti_cursor_atomic_check()
271 dst_y = state->crtc_y; in sti_cursor_atomic_update()
/drivers/gpu/drm/tilcdc/
Dtilcdc_plane.c49 if (state->crtc_x || state->crtc_y) { in tilcdc_plane_atomic_check()
/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c59 .crtc_y = 0, in rcar_du_vsp_enable()
187 cfg.dst.top = state->state.crtc_y; in rcar_du_vsp_plane_setup()

12