Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.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.6.21/drivers/gpu/drm/exynos/
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.6.21/drivers/gpu/drm/
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()
Ddrm_plane.c793 int32_t crtc_x, int32_t crtc_y, in __setplane_check() argument
817 crtc_x > INT_MAX - (int32_t) crtc_w || in __setplane_check()
821 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check()
866 int32_t crtc_x, int32_t crtc_y, in __setplane_internal() argument
891 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
898 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
919 int32_t crtc_x, int32_t crtc_y, in __setplane_atomic() argument
941 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
947 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
954 int32_t crtc_x, int32_t crtc_y, in setplane_internal() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_plane.c31 unsigned int crtc_x; member
140 (splane->crtc_x << LDBBLOCR_CHLC_SHIFT)); in __shmob_drm_plane_setup()
175 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in shmob_drm_plane_update() argument
201 splane->crtc_x = crtc_x; in shmob_drm_plane_update()
/linux-6.6.21/include/drm/
Ddrm_plane.h92 int32_t crtc_x; member
268 .x1 = state->crtc_x, in drm_plane_state_dest()
270 .x2 = state->crtc_x + state->crtc_w, in drm_plane_state_dest()
308 int crtc_x, int crtc_y,
Ddrm_plane_helper.h37 int crtc_x, int crtc_y,
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c51 int crtc_x, int crtc_y,
140 new_state->crtc_x, new_state->crtc_y, in mdp4_plane_atomic_update()
212 int crtc_x, int crtc_y, in mdp4_plane_mode_set() argument
242 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set()
312 MDP4_PIPE_DST_XY_X(crtc_x) | in mdp4_plane_mode_set()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_plane.c409 vc4_pstate->crtc_x = DIV_ROUND_CLOSEST(vc4_pstate->crtc_x * in vc4_plane_margins_adj()
412 vc4_pstate->crtc_x += left; in vc4_plane_margins_adj()
413 if (vc4_pstate->crtc_x > crtc_state->mode.hdisplay - right) in vc4_plane_margins_adj()
414 vc4_pstate->crtc_x = crtc_state->mode.hdisplay - right; in vc4_plane_margins_adj()
475 vc4_state->crtc_x = state->dst.x1; in vc4_plane_setup_clipping_and_scaling()
1078 VC4_SET_FIELD(vc4_state->crtc_x, SCALER_POS0_START_X) | in vc4_plane_mode_set()
1122 VC4_SET_FIELD(vc4_state->crtc_x, in vc4_plane_mode_set()
1255 covers_screen = vc4_state->crtc_x == 0 && vc4_state->crtc_y == 0 && in vc4_plane_mode_set()
1358 WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0); in vc4_plane_async_set_fb()
1388 plane->state->crtc_x = new_plane_state->crtc_x; in vc4_plane_atomic_async_update()
[all …]
/linux-6.6.21/drivers/gpu/drm/tests/
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.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c213 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
334 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
352 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
357 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x); in virtio_gpu_cursor_plane_update()
/linux-6.6.21/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c709 struct drm_framebuffer *fb, int crtc_x, 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()
771 int crtc_x = new_plane_state->crtc_x; in ade_plane_atomic_check() local
796 if (crtc_x < 0 || crtc_y < 0) in ade_plane_atomic_check()
799 if (crtc_x + crtc_w > crtc_state->adjusted_mode.hdisplay || in ade_plane_atomic_check()
813 ade_update_channel(kplane, new_state->fb, new_state->crtc_x, in ade_plane_atomic_update()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c446 plane->state->crtc_x = new_state->crtc_x; in mdp5_plane_atomic_async_update()
768 int crtc_x, int crtc_y, in mdp5_hwpipe_mode_set() argument
796 MDP5_PIPE_OUT_XY_X(crtc_x) | in mdp5_hwpipe_mode_set()
875 int crtc_x, crtc_y; in mdp5_plane_mode_set() local
896 crtc_x = dest->x1; in mdp5_plane_mode_set()
912 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
957 crtc_x, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
963 crtc_x + crtc_w, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set()
/linux-6.6.21/drivers/gpu/drm/imx/dcss/
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.6.21/drivers/gpu/drm/loongson/
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.6.21/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()
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.6.21/drivers/gpu/drm/imx/ipuv3/
Dipuv3-plane.h39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/linux-6.6.21/drivers/gpu/drm/kmb/
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.6.21/drivers/gpu/drm/i915/display/
Dskl_universal_plane.c1121 int crtc_x = plane_state->uapi.dst.x1; in skl_plane_update_noarm() local
1128 crtc_x = 0; in skl_plane_update_noarm()
1135 PLANE_POS_Y(crtc_y) | PLANE_POS_X(crtc_x)); in skl_plane_update_noarm()
1209 int crtc_x = plane_state->uapi.dst.x1; in icl_plane_update_noarm() local
1222 crtc_x = 0; in icl_plane_update_noarm()
1229 PLANE_POS_Y(crtc_y) | PLANE_POS_X(crtc_x)); in icl_plane_update_noarm()
1430 int crtc_x = plane_state->uapi.dst.x1; in skl_plane_check_dst_coordinates() local
1444 (crtc_x + crtc_w < 4 || crtc_x > pipe_src_w - 4)) { in skl_plane_check_dst_coordinates()
1447 crtc_x + crtc_w < 4 ? "end" : "start", in skl_plane_check_dst_coordinates()
1448 crtc_x + crtc_w < 4 ? crtc_x + crtc_w : crtc_x, in skl_plane_check_dst_coordinates()
Dintel_cursor.c610 int crtc_x, int crtc_y, in intel_legacy_cursor_update() argument
679 new_plane_state->uapi.crtc_x = crtc_x; in intel_legacy_cursor_update()
746 crtc_x, crtc_y, crtc_w, crtc_h, in intel_legacy_cursor_update()
/linux-6.6.21/drivers/gpu/drm/tidss/
Dtidss_kms.c75 if (!opstate->crtc || opstate->crtc_x != npstate->crtc_x || in tidss_atomic_check()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1008 if (state->crtc_x < 0) in amdgpu_dm_plane_helper_check_state()
1009 viewport_width += state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1010 else if (state->crtc_x + state->crtc_w > new_crtc_state->mode.crtc_hdisplay) in amdgpu_dm_plane_helper_check_state()
1011 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1085 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info()
1198 x = plane->state->crtc_x; in get_cursor_position()
1310 plane->state->crtc_x = new_state->crtc_x; in dm_plane_atomic_async_update()
/linux-6.6.21/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c222 plane->state->crtc_x = new_state->crtc_x; in mtk_plane_atomic_async_update()
/linux-6.6.21/drivers/gpu/drm/tilcdc/
Dtilcdc_plane.c39 if (new_state->crtc_x || new_state->crtc_y) { in tilcdc_plane_atomic_check()

123