Home
last modified time | relevance | path

Searched refs:crtc_x (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.15/drivers/gpu/drm/armada/
H A 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),
40 __field(int, crtc_x)
53 __entry->crtc_x = crtc_x;
64 __entry->crtc_x, __entry->crtc_y,
H A Darmada_overlay.c260 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_overlay_plane_update() argument
269 crtc_x, crtc_y, crtc_w, crtc_h, in armada_overlay_plane_update()
288 plane_state->crtc_x = crtc_x; in armada_overlay_plane_update()
/linux-6.15/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c63 int crtc_x, crtc_y; in exynos_plane_mode_set() local
76 crtc_x = state->crtc_x; in exynos_plane_mode_set()
91 actual_w = exynos_plane_get_size(crtc_x, crtc_w, mode->hdisplay); in exynos_plane_mode_set()
94 if (crtc_x < 0) { in exynos_plane_mode_set()
96 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()
97 crtc_x = 0; in exynos_plane_mode_set()
113 exynos_state->crtc.x = crtc_x; in exynos_plane_mode_set()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_plane_helper.c114 .crtc_x = dst->x1, in drm_plane_helper_check_update()
166 int crtc_x, int crtc_y, in drm_plane_helper_update_primary() argument
186 .x1 = crtc_x, in drm_plane_helper_update_primary()
188 .x2 = crtc_x + crtc_w, in drm_plane_helper_update_primary()
H A Ddrm_plane.c923 int32_t crtc_x, int32_t crtc_y, in __setplane_check() argument
1026 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
1047 int32_t crtc_x, int32_t crtc_y, in __setplane_atomic() argument
1075 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
1096 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal()
1100 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal()
1175 int32_t crtc_x, crtc_y; in drm_mode_cursor_universal() local
1214 crtc_x = req->x; in drm_mode_cursor_universal()
1217 crtc_x = crtc->cursor_x; in drm_mode_cursor_universal()
1230 crtc_x, crtc_y, crtc_w, crtc_h, in drm_mode_cursor_universal()
[all …]
/linux-6.15/drivers/gpu/drm/ast/
H A Dast_cursor.c222 writel(plane_state->crtc_x, sig + AST_HWC_SIGNATURE_X); in ast_cursor_plane_helper_atomic_update()
228 if (plane_state->crtc_x < 0) { in ast_cursor_plane_helper_atomic_update()
229 x_offset = (-plane_state->crtc_x) + offset_x; in ast_cursor_plane_helper_atomic_update()
233 x = plane_state->crtc_x; in ast_cursor_plane_helper_atomic_update()
/linux-6.15/include/drm/
H A Ddrm_plane.h94 int32_t crtc_x; member
281 .x1 = state->crtc_x, in drm_plane_state_dest()
283 .x2 = state->crtc_x + state->crtc_w, in drm_plane_state_dest()
321 int crtc_x, int crtc_y,
H A Ddrm_plane_helper.h36 int crtc_x, int crtc_y,
/linux-6.15/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c45 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()
296 MDP4_PIPE_DST_XY_X(crtc_x) | in mdp4_plane_mode_set()
/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c72 mock->crtc_x = params->crtc.x; in drm_plane_helper_init()
102 int crtc_x, int crtc_y, in check_crtc_eq() argument
105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq()
/linux-6.15/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_ade.c710 struct drm_framebuffer *fb, int crtc_x, in ade_update_channel() argument
724 crtc_x, crtc_y, crtc_w, crtc_h); in ade_update_channel()
739 ade_compositor_routing_set(base, ch, crtc_x, crtc_y, in_w, in_h, fmt); in ade_update_channel()
772 int crtc_x = new_plane_state->crtc_x; in ade_plane_atomic_check() local
797 if (crtc_x < 0 || crtc_y < 0) in ade_plane_atomic_check()
800 if (crtc_x + crtc_w > crtc_state->adjusted_mode.hdisplay || in ade_plane_atomic_check()
814 ade_update_channel(kplane, new_state->fb, new_state->crtc_x, in ade_plane_atomic_update()
/linux-6.15/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c433 plane->state->crtc_x = new_state->crtc_x; in mdp5_plane_atomic_async_update()
755 int crtc_x, int crtc_y, in mdp5_hwpipe_mode_set() argument
783 MDP5_PIPE_OUT_XY_X(crtc_x) | in mdp5_hwpipe_mode_set()
863 int crtc_x, crtc_y; in mdp5_plane_mode_set() local
884 crtc_x = dest->x1; in mdp5_plane_mode_set()
900 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
945 crtc_x, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
951 crtc_x + crtc_w, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
/linux-6.15/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c195 if ((new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0 || in dcss_plane_atomic_check()
196 new_plane_state->crtc_x + new_plane_state->crtc_w > hdisplay || in dcss_plane_atomic_check()
254 return state->crtc_x != old_state->crtc_x || in dcss_plane_needs_setup()
/linux-6.15/drivers/gpu/drm/vc4/
H A Dvc4_plane.c462 vc4_pstate->crtc_x = DIV_ROUND_CLOSEST(vc4_pstate->crtc_x * in vc4_plane_margins_adj()
465 vc4_pstate->crtc_x += left; in vc4_plane_margins_adj()
466 if (vc4_pstate->crtc_x > crtc_state->mode.hdisplay - right) in vc4_plane_margins_adj()
467 vc4_pstate->crtc_x = crtc_state->mode.hdisplay - right; in vc4_plane_margins_adj()
517 vc4_state->crtc_x = state->dst.x1; in vc4_plane_setup_clipping_and_scaling()
1501 VC4_SET_FIELD(vc4_state->crtc_x, SCALER_POS0_START_X) | in vc4_plane_mode_set()
1543 VC4_SET_FIELD(vc4_state->crtc_x, in vc4_plane_mode_set()
1678 covers_screen = vc4_state->crtc_x == 0 && vc4_state->crtc_y == 0 && in vc4_plane_mode_set()
1965 VC4_SET_FIELD(vc4_state->crtc_x, SCALER6_POS0_START_X)); in vc6_plane_mode_set()
2278 plane->state->crtc_x = new_plane_state->crtc_x; in vc4_plane_atomic_async_update()
[all …]
/linux-6.15/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c233 plane->state->crtc_x = new_state->crtc_x; in lsdc_cursor_plane_atomic_async_update()
258 ops->update_position(cursor, new_state->crtc_x, new_state->crtc_y); in lsdc_cursor_plane_atomic_async_update()
313 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a1000_cursor_plane_atomic_update()
394 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a2000_cursor_plane_atomic_update()
/linux-6.15/drivers/gpu/drm/nouveau/dispnv04/
H A 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()
365 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in nv04_update_plane() argument
408 nvif_wr32(dev, NV_PVIDEO_WINDOW_START, crtc_y << 16 | crtc_x); in nv04_update_plane()
/linux-6.15/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.h39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/linux-6.15/drivers/gpu/drm/kmb/
H A Dkmb_plane.c356 unsigned int src_w, src_h, crtc_x, crtc_y; in kmb_plane_atomic_update() local
386 crtc_x = new_plane_state->crtc_x; in kmb_plane_atomic_update()
455 kmb_write_lcd(kmb, LCD_LAYERn_COL_START(plane_id), crtc_x); in kmb_plane_atomic_update()
/linux-6.15/drivers/gpu/drm/tidss/
H A Dtidss_kms.c75 if (!opstate->crtc || opstate->crtc_x != npstate->crtc_x || in tidss_atomic_check()
/linux-6.15/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c276 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
473 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
491 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
496 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x); in virtio_gpu_cursor_plane_update()
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c1394 int crtc_x = plane_state->uapi.dst.x1; in skl_plane_update_noarm() local
1401 crtc_x = 0; in skl_plane_update_noarm()
1408 PLANE_POS_Y(crtc_y) | PLANE_POS_X(crtc_x)); in skl_plane_update_noarm()
1540 int crtc_x = plane_state->uapi.dst.x1; in icl_plane_update_noarm() local
1553 crtc_x = 0; in icl_plane_update_noarm()
1560 PLANE_POS_Y(crtc_y) | PLANE_POS_X(crtc_x)); in icl_plane_update_noarm()
1819 int crtc_x = plane_state->uapi.dst.x1; in skl_plane_check_dst_coordinates() local
1833 (crtc_x + crtc_w < 4 || crtc_x > pipe_src_w - 4)) { in skl_plane_check_dst_coordinates()
1837 crtc_x + crtc_w < 4 ? "end" : "start", in skl_plane_check_dst_coordinates()
1838 crtc_x + crtc_w < 4 ? crtc_x + crtc_w : crtc_x, in skl_plane_check_dst_coordinates()
/linux-6.15/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c39 if (new_state->crtc_x || new_state->crtc_y) { in tilcdc_plane_atomic_check()
/linux-6.15/drivers/gpu/drm/mediatek/
H A Dmtk_plane.c222 plane->state->crtc_x = new_state->crtc_x; in mtk_plane_atomic_async_update()
/linux-6.15/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c317 state->crtc_x != oldstate->crtc_x || in osd_changed()
600 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0 || in ingenic_ipu_plane_atomic_check()
601 new_plane_state->crtc_x + new_plane_state->crtc_w > crtc_state->mode.hdisplay || in ingenic_ipu_plane_atomic_check()
/linux-6.15/drivers/gpu/drm/sti/
H A Dsti_gdp.c645 dst_x = new_plane_state->crtc_x; in sti_gdp_atomic_check()
734 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update()
759 dst_x = newstate->crtc_x; in sti_gdp_atomic_update()

123