Home
last modified time | relevance | path

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

/linux/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,
/linux/drivers/gpu/drm/
H A Ddrm_plane_helper.c115 .crtc_x = dst->x1, in drm_plane_helper_check_update()
167 int crtc_x, int crtc_y, in drm_plane_helper_update_primary() argument
187 .x1 = crtc_x, in drm_plane_helper_update_primary()
189 .x2 = crtc_x + crtc_w, in drm_plane_helper_update_primary()
H A Ddrm_plane.c950 int32_t crtc_x, int32_t crtc_y, in __setplane_check() argument
972 crtc_x > INT_MAX - (int32_t) crtc_w || in __setplane_check()
976 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check()
1021 int32_t crtc_x, int32_t crtc_y, in __setplane_internal() argument
1046 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
1053 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
1074 int32_t crtc_x, int32_t crtc_y, in __setplane_atomic() argument
1096 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
1102 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
1109 int32_t crtc_x, int32_t crtc_y, in setplane_internal() argument
[all …]
H A Ddrm_atomic_uapi.c573 state->crtc_x = U642I64(val); in drm_atomic_plane_set_property()
670 *val = I642U64(state->crtc_x); in drm_atomic_plane_get_property()
/linux/drivers/gpu/drm/verisilicon/
H A Dvs_cursor_plane.c82 if (!vs_cursor_plane_check_coord(new_plane_state->crtc_x) || in vs_cursor_plane_atomic_check()
194 if (state->crtc_x >= 0) { in vs_cursor_plane_atomic_update()
199 VSDC_CURSOR_LOCATION_X(state->crtc_x)); in vs_cursor_plane_atomic_update()
203 -state->crtc_x); in vs_cursor_plane_atomic_update()
H A Dvs_primary_plane.c137 VSDC_MAKE_PLANE_POS(state->crtc_x, state->crtc_y)); in vs_primary_plane_atomic_update()
139 VSDC_MAKE_PLANE_POS(state->crtc_x + state->crtc_w, in vs_primary_plane_atomic_update()
/linux/drivers/gpu/drm/ast/
H A Dast_cursor.c285 writel(plane_state->crtc_x, sig + AST_HWC_SIGNATURE_X); in ast_cursor_plane_helper_atomic_update()
291 if (plane_state->crtc_x < 0) { in ast_cursor_plane_helper_atomic_update()
292 x_offset = (-plane_state->crtc_x) + offset_x; in ast_cursor_plane_helper_atomic_update()
296 x = plane_state->crtc_x; in ast_cursor_plane_helper_atomic_update()
/linux/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/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c235 plane->state->crtc_x = new_state->crtc_x; in lsdc_cursor_plane_atomic_async_update()
260 ops->update_position(cursor, new_state->crtc_x, new_state->crtc_y); in lsdc_cursor_plane_atomic_async_update()
315 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a1000_cursor_plane_atomic_update()
396 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a2000_cursor_plane_atomic_update()
/linux/include/drm/
H A Ddrm_plane_helper.h36 int crtc_x, int crtc_y,
/linux/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/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.h39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c281 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
481 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
499 plane->state->crtc_x, in virtio_gpu_cursor_plane_update()
504 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x); in virtio_gpu_cursor_plane_update()
/linux/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c1414 int crtc_x = plane_state->uapi.dst.x1; in skl_plane_update_noarm() local
1421 crtc_x = 0; in skl_plane_update_noarm()
1428 PLANE_POS_Y(crtc_y) | PLANE_POS_X(crtc_x)); in skl_plane_update_noarm()
1560 int crtc_x = plane_state->uapi.dst.x1; in icl_plane_update_noarm() local
1575 crtc_x = 0; in icl_plane_update_noarm()
1582 PLANE_POS_Y(crtc_y) | PLANE_POS_X(crtc_x)); in icl_plane_update_noarm()
1850 int crtc_x = plane_state->uapi.dst.x1; in skl_plane_check_dst_coordinates() local
1864 (crtc_x + crtc_w < 4 || crtc_x > pipe_src_w - 4)) { in skl_plane_check_dst_coordinates()
1868 crtc_x + crtc_w < 4 ? "end" : "start", in skl_plane_check_dst_coordinates()
1869 crtc_x + crtc_w < 4 ? crtc_x + crtc_w : crtc_x, in skl_plane_check_dst_coordinates()
H A Dintel_cursor.c806 int crtc_x, int crtc_y, in intel_legacy_cursor_update() argument
877 new_plane_state->uapi.crtc_x = crtc_x; in intel_legacy_cursor_update()
969 crtc_x, crtc_y, crtc_w, crtc_h, in intel_legacy_cursor_update()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1403 if (state->crtc_x < 0) in amdgpu_dm_plane_helper_check_state()
1404 viewport_width += state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1405 else if (state->crtc_x + state->crtc_w > new_crtc_state->mode.crtc_hdisplay) in amdgpu_dm_plane_helper_check_state()
1406 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1481 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info()
1620 x = plane->state->crtc_x; in amdgpu_dm_plane_get_cursor_position()
1750 plane->state->crtc_x = new_state->crtc_x; in amdgpu_dm_plane_atomic_async_update()
H A Damdgpu_dm.c3226 bb_changed = (old_plane_state->crtc_x != new_plane_state->crtc_x || in fill_dc_dirty_rects()
3243 new_plane_state->crtc_x, in fill_dc_dirty_rects()
3250 old_plane_state->crtc_x, in fill_dc_dirty_rects()
3264 new_plane_state->crtc_x, in fill_dc_dirty_rects()
/linux/drivers/gpu/drm/sti/
H A Dsti_vid.c144 int dst_x = state->crtc_x; in sti_vid_commit()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c148 info->pos_x = state->crtc_x; in omap_framebuffer_update_scanout()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_plane_test.c442 state->crtc_x = -5; in dm_test_get_cursor_position()
458 state->crtc_x = -64; in dm_test_get_cursor_position()
638 state->crtc_x = 200; in dm_test_helper_check_state_viewport_reject()
2272 state->crtc_x = 0; in dm_test_helper_check_state_small_viewport_width()
2313 state->crtc_x = -2; in dm_test_helper_check_state_small_viewport_height()
2355 state->crtc_x = 0; in dm_test_helper_check_state_bottom_clipped_height()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_display.c541 cmd->u.set.position.x = plane_state->crtc_x + plane_state->hotspot_x; in qxl_primary_apply_cursor()
584 cmd->u.position.x = plane_state->crtc_x + plane_state->hotspot_x; in qxl_primary_move_cursor()
/linux/drivers/gpu/drm/tegra/
H A Ddc.c1094 x = new_state->crtc_x; in __tegra_cursor_atomic_update()
1176 plane->state->crtc_x = new_state->crtc_x; in tegra_cursor_atomic_async_update()
H A Dhub.c648 H_POSITION(new_state->crtc_x); in tegra_shared_plane_atomic_update()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cursor_plane.c826 cursor_x = new_state->crtc_x + du->set_gui_x; in vmw_cursor_plane_atomic_update()