Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c62 int crtc_x, int crtc_y, in exynos_plane_mode_set() argument
72 actual_w = exynos_plane_get_size(crtc_x, crtc_w, mode->hdisplay); in exynos_plane_mode_set()
75 if (crtc_x < 0) { in exynos_plane_mode_set()
77 src_x -= crtc_x; in exynos_plane_mode_set()
78 crtc_x = 0; in exynos_plane_mode_set()
98 exynos_plane->crtc_x = crtc_x; in exynos_plane_mode_set()
104 exynos_plane->crtc_x, exynos_plane->crtc_y, in exynos_plane_mode_set()
159 state->crtc_x, state->crtc_y, in exynos_plane_atomic_update()
Dexynos7_drm_decon.c448 if ((plane->crtc_x + plane->crtc_w) > mode->hdisplay) in decon_update_plane()
449 plane->crtc_x = mode->hdisplay - plane->crtc_w; in decon_update_plane()
453 val = VIDOSDxA_TOPLEFT_X(plane->crtc_x) | in decon_update_plane()
457 last_x = plane->crtc_x + plane->crtc_w; in decon_update_plane()
469 plane->crtc_x, plane->crtc_y, last_x, last_y); in decon_update_plane()
Dexynos_drm_drv.h71 unsigned int crtc_x; member
Dexynos_drm_fimd.c683 val = VIDOSDxA_TOPLEFT_X(plane->crtc_x) | in fimd_update_plane()
685 VIDOSDxA_TOPLEFT_X_E(plane->crtc_x) | in fimd_update_plane()
689 last_x = plane->crtc_x + plane->crtc_w; in fimd_update_plane()
702 plane->crtc_x, plane->crtc_y, last_x, last_y); in fimd_update_plane()
Dexynos5433_drm_decon.c272 val = COORDINATE_X(plane->crtc_x) | COORDINATE_Y(plane->crtc_y); in decon_update_plane()
275 val = COORDINATE_X(plane->crtc_x + plane->crtc_w - 1) | in decon_update_plane()
Dexynos_mixer.c469 vp_reg_write(res, VP_DST_H_POSITION, plane->crtc_x); in vp_video_buffer()
574 dst_x_offset = plane->crtc_x; in mixer_graph_buffer()
/linux-4.4.14/drivers/gpu/drm/imx/
Dipuv3-plane.c108 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in ipu_plane_mode_set() argument
121 if (crtc_x < 0) { in ipu_plane_mode_set()
122 if (-crtc_x > crtc_w) in ipu_plane_mode_set()
124 src_x += -crtc_x; in ipu_plane_mode_set()
125 src_w -= -crtc_x; in ipu_plane_mode_set()
126 crtc_w -= -crtc_x; in ipu_plane_mode_set()
127 crtc_x = 0; in ipu_plane_mode_set()
137 if (crtc_x + crtc_w > mode->hdisplay) { in ipu_plane_mode_set()
138 if (crtc_x > mode->hdisplay) in ipu_plane_mode_set()
140 crtc_w = mode->hdisplay - crtc_x; in ipu_plane_mode_set()
[all …]
Dipuv3-plane.h42 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_plane.c155 int crtc_x = state->crtc_x; in vc4_plane_mode_set() local
170 if (crtc_x < 0) { in vc4_plane_mode_set()
171 offset += drm_format_plane_cpp(fb->pixel_format, 0) * -crtc_x; in vc4_plane_mode_set()
172 crtc_w += crtc_x; in vc4_plane_mode_set()
173 crtc_x = 0; in vc4_plane_mode_set()
191 VC4_SET_FIELD(crtc_x, SCALER_POS0_START_X) | in vc4_plane_mode_set()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_plane_helper.c226 int crtc_x, int crtc_y, in drm_primary_helper_update() argument
245 .x1 = crtc_x, in drm_primary_helper_update()
247 .x2 = crtc_x + crtc_w, in drm_primary_helper_update()
520 int crtc_x, int crtc_y, in drm_plane_helper_update() argument
541 plane_state->crtc_x = crtc_x; in drm_plane_helper_update()
Ddrm_atomic.c594 state->crtc_x = U642I64(val); in drm_atomic_plane_set_property()
641 *val = I642U64(state->crtc_x); in drm_atomic_plane_get_property()
731 state->crtc_x > INT_MAX - (int32_t) state->crtc_w || in drm_atomic_plane_check()
736 state->crtc_x, state->crtc_y); in drm_atomic_plane_check()
Ddrm_atomic_helper.c1461 int crtc_x, int crtc_y, in drm_atomic_helper_update_plane() argument
1486 plane_state->crtc_x = crtc_x; in drm_atomic_helper_update_plane()
1610 plane_state->crtc_x = 0; in __drm_atomic_helper_disable_plane()
1798 primary_state->crtc_x = 0; in __drm_atomic_helper_set_config()
Ddrm_crtc.c2355 int32_t crtc_x, int32_t crtc_y, in __setplane_internal() argument
2393 crtc_x > INT_MAX - (int32_t) crtc_w || in __setplane_internal()
2397 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_internal()
2408 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
2431 int32_t crtc_x, int32_t crtc_y, in setplane_internal() argument
2441 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal()
2504 plane_req->crtc_x, plane_req->crtc_y, in drm_mode_setplane()
2814 int32_t crtc_x, crtc_y; in drm_mode_cursor_universal() local
2844 crtc_x = req->x; in drm_mode_cursor_universal()
2847 crtc_x = crtc->cursor_x; in drm_mode_cursor_universal()
[all …]
Ddrm_crtc_helper.c1006 plane_state->crtc_x = 0; in drm_helper_crtc_mode_set_base()
/linux-4.4.14/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c37 unsigned int crtc_x; member
142 (splane->crtc_x << LDBBLOCR_CHLC_SHIFT)); in __shmob_drm_plane_setup()
177 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in shmob_drm_plane_update() argument
202 splane->crtc_x = crtc_x; in shmob_drm_plane_update()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c43 int crtc_x; member
283 state->crtc_x | in atmel_hlcdc_plane_update_pos_and_size()
482 disc_x = ovl_state->crtc_x; in atmel_hlcdc_plane_prepare_disc_area()
568 state->crtc_x = s->crtc_x; in atmel_hlcdc_plane_atomic_check()
597 if (state->crtc_x + state->crtc_w > mode->hdisplay) in atmel_hlcdc_plane_atomic_check()
598 patched_crtc_w = mode->hdisplay - state->crtc_x; in atmel_hlcdc_plane_atomic_check()
602 if (state->crtc_x < 0) { in atmel_hlcdc_plane_atomic_check()
603 patched_crtc_w += state->crtc_x; in atmel_hlcdc_plane_atomic_check()
604 x_offset = -state->crtc_x; in atmel_hlcdc_plane_atomic_check()
605 state->crtc_x = 0; in atmel_hlcdc_plane_atomic_check()
[all …]
/linux-4.4.14/include/drm/
Ddrm_plane_helper.h93 int crtc_x, int crtc_y,
103 int crtc_x, int crtc_y,
Ddrm_atomic_helper.h73 int crtc_x, int crtc_y,
Ddrm_crtc.h765 int32_t crtc_x, crtc_y; member
796 int crtc_x, int crtc_y,
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_sprite.c183 int crtc_x, int crtc_y, in skl_update_plane() argument
273 I915_WRITE(SKL_PS_WIN_POS(pipe, scaler_id), (crtc_x << 16) | crtc_y); in skl_update_plane()
279 I915_WRITE(PLANE_POS(pipe, plane), (crtc_y << 16) | crtc_x); in skl_update_plane()
346 int crtc_x, int crtc_y, in vlv_update_plane() argument
452 I915_WRITE(SPPOS(pipe, plane), (crtc_y << 16) | crtc_x); in vlv_update_plane()
486 int crtc_x, int crtc_y, in ivb_update_plane() argument
588 I915_WRITE(SPRPOS(pipe), (crtc_y << 16) | crtc_x); in ivb_update_plane()
628 int crtc_x, int crtc_y, in ilk_update_plane() argument
722 I915_WRITE(DVSPOS(pipe), (crtc_y << 16) | crtc_x); in ilk_update_plane()
763 int crtc_x, crtc_y; in intel_check_sprite_plane() local
[all …]
Dintel_atomic_plane.c144 intel_state->dst.x1 = state->crtc_x; in intel_plane_atomic_check()
146 intel_state->dst.x2 = state->crtc_x + state->crtc_w; in intel_plane_atomic_check()
Dintel_drv.h637 int crtc_x, int crtc_y,
Dintel_display.c2669 plane_state->crtc_x = 0; in intel_find_initial_plane_obj()
10045 int x = cursor_state->crtc_x; in intel_crtc_update_cursor()
10282 plane_state->crtc_x = 0; in intel_modeset_setup_plane_state()
13791 state->visible && state->base.crtc_x < 0) { in intel_check_cursor_plane()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c81 plane->state->crtc_x, plane->state->crtc_y); in virtio_gpu_plane_atomic_update()
85 plane->state->crtc_x, in virtio_gpu_plane_atomic_update()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_plane.c56 int crtc_x, int crtc_y,
144 state->crtc_x, state->crtc_y, in mdp4_plane_atomic_update()
217 int crtc_x, int crtc_y, in mdp4_plane_mode_set() argument
247 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set()
317 MDP4_PIPE_DST_XY_X(crtc_x) | in mdp4_plane_mode_set()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_plane.c99 win.crtc_x = state->crtc_x; in omap_plane_atomic_update()
171 if (state->crtc_x < 0 || state->crtc_y < 0) in omap_plane_atomic_check()
174 if (state->crtc_x + state->crtc_w > crtc_state->adjusted_mode.hdisplay) in omap_plane_atomic_check()
Domap_drv.h48 int32_t crtc_x, crtc_y; /* signed because can be offscreen */ member
Domap_fb.c160 info->pos_x = win->crtc_x; in omap_framebuffer_update_scanout()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c94 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in nv10_update_plane() argument
145 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane()
345 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in nv04_update_plane() argument
393 nvif_wr32(dev, NV_PVIDEO_WINDOW_START, crtc_y << 16 | crtc_x); in nv04_update_plane()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_overlay.c97 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_ovl_plane_update() argument
109 .x1 = crtc_x, in armada_ovl_plane_update()
111 .x2 = crtc_x + crtc_w, in armada_ovl_plane_update()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_vid.c51 int dst_x = state->crtc_x; in sti_vid_commit()
Dsti_cursor.c123 int dst_x = state->crtc_x; in sti_cursor_atomic_update()
Dsti_gdp.c414 dst_x = state->crtc_x; in sti_gdp_atomic_update()
Dsti_hqvdp.c788 int dst_x = state->crtc_x; in sti_hqvdp_atomic_update()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c40 int crtc_x, int crtc_y,
366 state->crtc_x, state->crtc_y, in mdp5_plane_atomic_update()
667 int crtc_x, int crtc_y, in mdp5_plane_mode_set() argument
705 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
768 MDP5_PIPE_OUT_XY_X(crtc_x) | in mdp5_plane_mode_set()
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c133 DCU_LAYER_POSX(state->crtc_x)); in fsl_dcu_drm_plane_atomic_update()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c790 struct drm_framebuffer *fb, int crtc_x, in vop_update_plane_event() argument
821 .x1 = crtc_x, in vop_update_plane_event()
823 .x2 = crtc_x + crtc_w, in vop_update_plane_event()
990 struct drm_framebuffer *fb, int crtc_x, int crtc_y, in vop_update_plane() argument
995 return vop_update_plane_event(plane, crtc, fb, crtc_x, crtc_y, crtc_w, in vop_update_plane()
/linux-4.4.14/include/uapi/drm/
Ddrm_mode.h167 __s32 crtc_x; member
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c1742 s32 crtc_x = unit->crtc.x; in vmw_kms_helper_dirty() local
1775 crtc_x; in vmw_kms_helper_dirty()
1782 dest_x - crtc_x; in vmw_kms_helper_dirty()
1787 dirty->unit_x1 = dirty->fb_x + dest_x - crtc_x; in vmw_kms_helper_dirty()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c212 rcar_du_plane_write(rgrp, index, PnDPXR, plane->plane.state->crtc_x); in __rcar_du_plane_setup()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddc.c577 window.dst.x = plane->state->crtc_x; in tegra_plane_atomic_update()
766 value = (state->crtc_y & 0x3fff) << 16 | (state->crtc_x & 0x3fff); in tegra_cursor_atomic_update()