Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/gpu/drm/armada/
Darmada_trace.h33 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h,
35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h),
41 __field(int, crtc_y)
54 __entry->crtc_y = crtc_y;
64 __entry->crtc_x, __entry->crtc_y,
Darmada_overlay.c258 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_overlay_plane_update() argument
267 crtc_x, crtc_y, crtc_w, crtc_h, in armada_overlay_plane_update()
287 plane_state->crtc_y = crtc_y; in armada_overlay_plane_update()
/Linux-v5.15/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c62 int crtc_x, crtc_y; in exynos_plane_mode_set() local
76 crtc_y = state->crtc_y; in exynos_plane_mode_set()
91 actual_h = exynos_plane_get_size(crtc_y, crtc_h, mode->vdisplay); in exynos_plane_mode_set()
99 if (crtc_y < 0) { in exynos_plane_mode_set()
101 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
102 crtc_y = 0; in exynos_plane_mode_set()
113 exynos_state->crtc.y = crtc_y; in exynos_plane_mode_set()
/Linux-v5.15/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c51 int crtc_x, int crtc_y, in set_crtc() argument
55 plane_state->crtc_y = crtc_y; in set_crtc()
61 int crtc_x, int crtc_y, in check_crtc_eq() argument
65 plane_state->dst.y1 != crtc_y || in check_crtc_eq()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_plane_helper.c122 .crtc_y = dst->y1, in drm_plane_helper_check_update()
151 int crtc_x, int crtc_y, in drm_primary_helper_update() argument
172 .y1 = crtc_y, in drm_primary_helper_update()
174 .y2 = crtc_y + crtc_h, in drm_primary_helper_update()
Ddrm_plane.c771 int32_t crtc_x, int32_t crtc_y, in __setplane_check() argument
797 crtc_y > INT_MAX - (int32_t) crtc_h) { in __setplane_check()
799 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check()
844 int32_t crtc_x, int32_t crtc_y, in __setplane_internal() argument
869 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
876 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
897 int32_t crtc_x, int32_t crtc_y, in __setplane_atomic() argument
919 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
925 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
932 int32_t crtc_x, int32_t crtc_y, in setplane_internal() argument
[all …]
/Linux-v5.15/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c32 unsigned int crtc_y; member
135 (splane->crtc_y << LDBBLOCR_CVLC_SHIFT) | in __shmob_drm_plane_setup()
171 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in shmob_drm_plane_update() argument
198 splane->crtc_y = crtc_y; in shmob_drm_plane_update()
/Linux-v5.15/include/drm/
Ddrm_plane.h101 int32_t crtc_y; member
261 .y1 = state->crtc_y, in drm_plane_state_dest()
263 .y2 = state->crtc_y + state->crtc_h, in drm_plane_state_dest()
300 int crtc_x, int crtc_y,
/Linux-v5.15/drivers/gpu/drm/vc4/
Dvc4_plane.c310 vc4_pstate->crtc_y = DIV_ROUND_CLOSEST(vc4_pstate->crtc_y * in vc4_plane_margins_adj()
313 vc4_pstate->crtc_y += top; in vc4_plane_margins_adj()
314 if (vc4_pstate->crtc_y > crtc_state->mode.vdisplay - top) in vc4_plane_margins_adj()
315 vc4_pstate->crtc_y = crtc_state->mode.vdisplay - top; in vc4_plane_margins_adj()
371 vc4_state->crtc_y = state->dst.y1; in vc4_plane_setup_clipping_and_scaling()
849 VC4_SET_FIELD(vc4_state->crtc_y, SCALER_POS0_START_Y)); in vc4_plane_mode_set()
906 VC4_SET_FIELD(vc4_state->crtc_y, in vc4_plane_mode_set()
1028 covers_screen = vc4_state->crtc_x == 0 && vc4_state->crtc_y == 0 && in vc4_plane_mode_set()
1121 WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0); in vc4_plane_async_set_fb()
1146 plane->state->crtc_y = new_plane_state->crtc_y; in vc4_plane_atomic_async_update()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c49 int crtc_x, int crtc_y,
124 new_state->crtc_x, new_state->crtc_y, in mdp4_plane_atomic_update()
196 int crtc_x, int crtc_y, in mdp4_plane_mode_set() argument
226 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set()
297 MDP4_PIPE_DST_XY_Y(crtc_y)); in mdp4_plane_mode_set()
/Linux-v5.15/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c211 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
332 plane->state->crtc_y, in virtio_gpu_cursor_plane_update()
350 plane->state->crtc_y); in virtio_gpu_cursor_plane_update()
355 output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y); in virtio_gpu_cursor_plane_update()
/Linux-v5.15/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c710 int crtc_y, unsigned int crtc_w, in ade_update_channel() argument
723 crtc_x, crtc_y, crtc_w, crtc_h); in ade_update_channel()
738 ade_compositor_routing_set(base, ch, crtc_x, crtc_y, in_w, in_h, fmt); in ade_update_channel()
772 int crtc_y = new_plane_state->crtc_y; in ade_plane_atomic_check() local
796 if (crtc_x < 0 || crtc_y < 0) in ade_plane_atomic_check()
800 crtc_y + crtc_h > crtc_state->adjusted_mode.vdisplay) in ade_plane_atomic_check()
814 new_state->crtc_y, in ade_plane_atomic_update()
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c416 plane->state->crtc_y = new_state->crtc_y; in mdp5_plane_atomic_async_update()
737 int crtc_x, int crtc_y, in mdp5_hwpipe_mode_set() argument
766 MDP5_PIPE_OUT_XY_Y(crtc_y)); in mdp5_hwpipe_mode_set()
844 int crtc_x, crtc_y; in mdp5_plane_mode_set() local
866 crtc_y = dest->y1; in mdp5_plane_mode_set()
881 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
926 crtc_x, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
932 crtc_x + crtc_w, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
/Linux-v5.15/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c193 if ((new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0 || in dcss_plane_atomic_check()
195 new_plane_state->crtc_y + new_plane_state->crtc_h > vdisplay) && in dcss_plane_atomic_check()
253 state->crtc_y != old_state->crtc_y || in dcss_plane_needs_setup()
/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c114 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()
364 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in nv04_update_plane() argument
407 nvif_wr32(dev, NV_PVIDEO_WINDOW_START, crtc_y << 16 | crtc_x); in nv04_update_plane()
/Linux-v5.15/drivers/gpu/drm/imx/
Dipuv3-plane.h39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/Linux-v5.15/drivers/gpu/drm/kmb/
Dkmb_plane.c363 unsigned int src_w, src_h, crtc_x, crtc_y; in kmb_plane_atomic_update() local
394 crtc_y = new_plane_state->crtc_y; in kmb_plane_atomic_update()
463 kmb_write_lcd(kmb, LCD_LAYERn_ROW_START(plane_id), crtc_y); in kmb_plane_atomic_update()
/Linux-v5.15/drivers/gpu/drm/tidss/
Dtidss_kms.c83 opstate->crtc_y != npstate->crtc_y) { in tidss_atomic_check()
/Linux-v5.15/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c150 plane->state->crtc_y = new_state->crtc_y; in mtk_plane_atomic_async_update()
/Linux-v5.15/drivers/gpu/drm/omapdrm/
Domap_plane.c130 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0) in omap_plane_atomic_check()
136 if (new_plane_state->crtc_y + new_plane_state->crtc_h > crtc_state->adjusted_mode.vdisplay) in omap_plane_atomic_check()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_cursor.c614 int crtc_x, int crtc_y, in intel_legacy_cursor_update() argument
683 new_plane_state->uapi.crtc_y = crtc_y; in intel_legacy_cursor_update()
737 crtc_x, crtc_y, crtc_w, crtc_h, in intel_legacy_cursor_update()
/Linux-v5.15/drivers/gpu/drm/ingenic/
Dingenic-ipu.c282 state->crtc_y != oldstate->crtc_y || in osd_changed()
553 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0 || in ingenic_ipu_plane_atomic_check()
555 new_plane_state->crtc_y + new_plane_state->crtc_h > crtc_state->mode.vdisplay) in ingenic_ipu_plane_atomic_check()
/Linux-v5.15/drivers/gpu/drm/tilcdc/
Dtilcdc_plane.c39 if (new_state->crtc_x || new_state->crtc_y) { in tilcdc_plane_atomic_check()
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h237 __field(int32_t, crtc_y)
266 __entry->crtc_y = state->crtc_y;
298 __entry->crtc_y, __entry->crtc_w, __entry->crtc_h,
/Linux-v5.15/drivers/gpu/drm/sti/
Dsti_gdp.c641 dst_y = new_plane_state->crtc_y; in sti_gdp_atomic_check()
730 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update()
755 dst_y = newstate->crtc_y; in sti_gdp_atomic_update()

123