/linux-6.6.21/drivers/gpu/drm/armada/ |
D | armada_trace.h | 33 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,
|
D | armada_overlay.c | 260 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/ |
D | exynos_drm_plane.c | 63 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/ |
D | drm_plane_helper.c | 114 .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()
|
D | drm_plane.c | 793 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/ |
D | shmob_drm_plane.c | 31 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/ |
D | drm_plane.h | 92 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,
|
D | drm_plane_helper.h | 37 int crtc_x, int crtc_y,
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_plane.c | 51 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/ |
D | vc4_plane.c | 409 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/ |
D | drm_plane_helper_test.c | 72 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/ |
D | virtgpu_plane.c | 213 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/ |
D | kirin_drm_ade.c | 709 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/ |
D | mdp5_plane.c | 446 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/ |
D | dcss-plane.c | 195 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/ |
D | lsdc_plane.c | 233 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/ |
D | overlay.c | 114 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/ |
D | ipuv3-plane.h | 39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
|
/linux-6.6.21/drivers/gpu/drm/kmb/ |
D | kmb_plane.c | 356 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/ |
D | skl_universal_plane.c | 1121 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()
|
D | intel_cursor.c | 610 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/ |
D | tidss_kms.c | 75 if (!opstate->crtc || opstate->crtc_x != npstate->crtc_x || in tidss_atomic_check()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 1008 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/ |
D | mtk_drm_plane.c | 222 plane->state->crtc_x = new_state->crtc_x; in mtk_plane_atomic_async_update()
|
/linux-6.6.21/drivers/gpu/drm/tilcdc/ |
D | tilcdc_plane.c | 39 if (new_state->crtc_x || new_state->crtc_y) { in tilcdc_plane_atomic_check()
|