Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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),
40 __field(int, crtc_x)
53 __entry->crtc_x = crtc_x;
64 __entry->crtc_x, __entry->crtc_y,
Darmada_overlay.c253 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_overlay_plane_update() argument
262 crtc_x, crtc_y, crtc_w, crtc_h, in armada_overlay_plane_update()
281 plane_state->crtc_x = crtc_x; in armada_overlay_plane_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c62 int crtc_x, crtc_y; in exynos_plane_mode_set() local
75 crtc_x = state->crtc_x; in exynos_plane_mode_set()
90 actual_w = exynos_plane_get_size(crtc_x, crtc_w, mode->hdisplay); in exynos_plane_mode_set()
93 if (crtc_x < 0) { in exynos_plane_mode_set()
95 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()
96 crtc_x = 0; in exynos_plane_mode_set()
112 exynos_state->crtc.x = crtc_x; in exynos_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c51 int crtc_x, int crtc_y, in set_crtc() argument
54 plane_state->crtc_x = crtc_x; in set_crtc()
61 int crtc_x, int crtc_y, in check_crtc_eq() argument
64 if (plane_state->dst.x1 != crtc_x || in check_crtc_eq()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_plane.c609 int32_t crtc_x, int32_t crtc_y, in __setplane_check() argument
637 crtc_x > INT_MAX - (int32_t) crtc_w || in __setplane_check()
641 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check()
686 int32_t crtc_x, int32_t crtc_y, in __setplane_internal() argument
711 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
718 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
739 int32_t crtc_x, int32_t crtc_y, in __setplane_atomic() argument
761 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
767 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
774 int32_t crtc_x, int32_t crtc_y, in setplane_internal() argument
[all …]
Ddrm_plane_helper.c121 .crtc_x = dst->x1, in drm_plane_helper_check_update()
150 int crtc_x, int crtc_y, in drm_primary_helper_update() argument
170 .x1 = crtc_x, in drm_primary_helper_update()
172 .x2 = crtc_x + crtc_w, in drm_primary_helper_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c31 unsigned int crtc_x; member
136 (splane->crtc_x << LDBBLOCR_CHLC_SHIFT)); in __shmob_drm_plane_setup()
171 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in shmob_drm_plane_update() argument
197 splane->crtc_x = crtc_x; in shmob_drm_plane_update()
/kernel/linux/linux-5.10/include/drm/
Ddrm_plane.h89 int32_t crtc_x; member
245 .x1 = state->crtc_x, in drm_plane_state_dest()
247 .x2 = state->crtc_x + state->crtc_w, in drm_plane_state_dest()
285 int crtc_x, int crtc_y,
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_plane.c302 vc4_pstate->crtc_x = DIV_ROUND_CLOSEST(vc4_pstate->crtc_x * in vc4_plane_margins_adj()
305 vc4_pstate->crtc_x += left; in vc4_plane_margins_adj()
306 if (vc4_pstate->crtc_x > crtc_state->mode.hdisplay - right) in vc4_plane_margins_adj()
307 vc4_pstate->crtc_x = crtc_state->mode.hdisplay - right; in vc4_plane_margins_adj()
366 vc4_state->crtc_x = state->dst.x1; in vc4_plane_setup_clipping_and_scaling()
844 VC4_SET_FIELD(vc4_state->crtc_x, SCALER_POS0_START_X) | in vc4_plane_mode_set()
898 VC4_SET_FIELD(vc4_state->crtc_x, in vc4_plane_mode_set()
1024 covers_screen = vc4_state->crtc_x == 0 && vc4_state->crtc_y == 0 && in vc4_plane_mode_set()
1115 WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0); in vc4_plane_async_set_fb()
1137 plane->state->crtc_x = state->crtc_x; in vc4_plane_atomic_async_update()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c48 int crtc_x, int crtc_y,
122 state->crtc_x, state->crtc_y, in mdp4_plane_atomic_update()
194 int crtc_x, int crtc_y, in mdp4_plane_mode_set() argument
224 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set()
294 MDP4_PIPE_DST_XY_X(crtc_x) | in mdp4_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c172 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
277 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
295 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
300 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x); in virtio_gpu_cursor_plane_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c192 if ((state->crtc_x < 0 || state->crtc_y < 0 || in dcss_plane_atomic_check()
193 state->crtc_x + state->crtc_w > hdisplay || in dcss_plane_atomic_check()
251 return state->crtc_x != old_state->crtc_x || in dcss_plane_needs_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/
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()
770 int crtc_x = state->crtc_x; in ade_plane_atomic_check() local
795 if (crtc_x < 0 || crtc_y < 0) in ade_plane_atomic_check()
798 if (crtc_x + crtc_w > crtc_state->adjusted_mode.hdisplay || in ade_plane_atomic_check()
811 ade_update_channel(kplane, state->fb, state->crtc_x, state->crtc_y, in ade_plane_atomic_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c516 plane->state->crtc_x = new_state->crtc_x; in mdp5_plane_atomic_async_update()
838 int crtc_x, int crtc_y, in mdp5_hwpipe_mode_set() argument
866 MDP5_PIPE_OUT_XY_X(crtc_x) | in mdp5_hwpipe_mode_set()
945 int crtc_x, crtc_y; in mdp5_plane_mode_set() local
966 crtc_x = dest->x1; in mdp5_plane_mode_set()
982 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
1027 crtc_x, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
1033 crtc_x + crtc_w, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_sprite.c425 int crtc_x = plane_state->uapi.dst.x1; in skl_program_scaler() local
465 (crtc_x << 16) | crtc_y); in skl_program_scaler()
577 int crtc_x = plane_state->uapi.dst.x1; in skl_program_plane() local
607 crtc_x = 0; in skl_program_plane()
615 (crtc_y << 16) | crtc_x); in skl_program_plane()
1042 int crtc_x = plane_state->uapi.dst.x1; in vlv_update_plane() local
1064 (crtc_y << 16) | crtc_x); in vlv_update_plane()
1459 int crtc_x = plane_state->uapi.dst.x1; in ivb_update_plane() local
1487 intel_de_write_fw(dev_priv, SPRPOS(pipe), (crtc_y << 16) | crtc_x); in ivb_update_plane()
1768 int crtc_x = plane_state->uapi.dst.x1; in g4x_update_plane() local
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dipuv3-plane.h39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_kms.c78 if (!opstate->crtc || opstate->crtc_x != npstate->crtc_x || in tidss_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c116 plane->state->crtc_x = new_state->crtc_x; in mtk_plane_atomic_async_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_plane.c119 if (state->crtc_x < 0 || state->crtc_y < 0) in omap_plane_atomic_check()
122 if (state->crtc_x + state->crtc_w > crtc_state->adjusted_mode.hdisplay) in omap_plane_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
Dingenic-ipu.c278 state->crtc_x != oldstate->crtc_x || in osd_changed()
540 if (state->crtc_x < 0 || state->crtc_y < 0 || in ingenic_ipu_plane_atomic_check()
541 state->crtc_x + state->crtc_w > crtc_state->mode.hdisplay || in ingenic_ipu_plane_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/
Dtilcdc_plane.c36 if (state->crtc_x || state->crtc_y) { in tilcdc_plane_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_cursor.c201 dst_x = state->crtc_x; in sti_cursor_atomic_check()
272 dst_x = state->crtc_x; in sti_cursor_atomic_update()
Dsti_gdp.c638 dst_x = state->crtc_x; in sti_gdp_atomic_check()
722 (oldstate->crtc_x == state->crtc_x) && in sti_gdp_atomic_update()
747 dst_x = state->crtc_x; in sti_gdp_atomic_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c46 int crtc_x; member
350 ATMEL_HLCDC_LAYER_POS(state->crtc_x, in atmel_hlcdc_plane_update_pos_and_size()
561 disc_x = ovl_state->crtc_x; in atmel_hlcdc_plane_prepare_disc_area()
623 state->crtc_x = s->dst.x1; in atmel_hlcdc_plane_atomic_check()

123