Home
last modified time | relevance | path

Searched refs:src_x (Results 1 – 25 of 79) sorted by relevance

1234

/linux-5.19.10/drivers/gpu/drm/armada/
Darmada_trace.h34 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h),
35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h),
44 __field(u32, src_x)
57 __entry->src_x = src_x;
66 __entry->src_x >> 16, __entry->src_y >> 16,
Darmada_overlay.c114 u16 src_x; in armada_drm_overlay_plane_atomic_update() local
148 src_x = new_state->src.x1 >> 16; in armada_drm_overlay_plane_atomic_update()
149 if (format->num_planes == 1 && src_x & (format->hsub - 1)) in armada_drm_overlay_plane_atomic_update()
259 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in armada_overlay_plane_update() argument
268 src_x, src_y, src_w, src_h); in armada_overlay_plane_update()
290 plane_state->src_x = src_x; in armada_overlay_plane_update()
/linux-5.19.10/drivers/video/fbdev/via/
Daccel.c41 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_1() argument
53 if (src_x < dst_x) { in hw_bitblt_1()
55 src_x += width - 1; in hw_bitblt_1()
84 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) in hw_bitblt_1()
87 "x/y %d %d\n", src_x, src_y); in hw_bitblt_1()
90 tmp = src_x | (src_y << 16); in hw_bitblt_1()
174 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_2() argument
186 if (src_x < dst_x) { in hw_bitblt_2()
188 src_x += width - 1; in hw_bitblt_2()
253 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) in hw_bitblt_2()
[all …]
/linux-5.19.10/drivers/gpu/drm/
Ddrm_plane_helper.c117 .src_x = src->x1, in drm_plane_helper_check_update()
152 uint32_t src_x, uint32_t src_y, in drm_primary_helper_update() argument
160 .x = src_x >> 16, in drm_primary_helper_update()
164 .x1 = src_x, in drm_primary_helper_update()
166 .x2 = src_x + src_w, in drm_primary_helper_update()
Ddrm_plane.c771 uint32_t src_x, uint32_t src_y, in __setplane_check() argument
801 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check()
845 uint32_t src_x, uint32_t src_y, in __setplane_internal() argument
868 src_x, src_y, src_w, src_h); in __setplane_internal()
875 src_x, src_y, src_w, src_h, ctx); in __setplane_internal()
897 uint32_t src_x, uint32_t src_y, in __setplane_atomic() argument
918 src_x, src_y, src_w, src_h); in __setplane_atomic()
924 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic()
933 uint32_t src_x, uint32_t src_y, in setplane_internal() argument
945 src_x, src_y, src_w, src_h, &ctx); in setplane_internal()
[all …]
/linux-5.19.10/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c15 unsigned src_x, unsigned src_y, in set_src() argument
18 plane_state->src_x = src_x; in set_src()
25 unsigned src_x, unsigned src_y, in check_src_eq() argument
39 if (plane_state->src.x1 != src_x || in check_src_eq()
/linux-5.19.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c209 u32 src_x, u32 src_y, u32 src_w, u32 src_h) in komeda_fb_check_src_coords() argument
216 if ((src_x + src_w > fb->width) || (src_y + src_h > fb->height)) { in komeda_fb_check_src_coords()
221 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords()
224 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
228 if ((src_x % block_w) || (src_w % block_w) || in komeda_fb_check_src_coords()
231 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
/linux-5.19.10/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c94 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in verify_scaling() argument
103 if (src_x != 0 || src_y != 0) { in verify_scaling()
105 src_x, src_y); in verify_scaling()
116 uint32_t src_x, uint32_t src_y, in nv10_update_plane() argument
135 src_x >>= 16; in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
366 uint32_t src_x, uint32_t src_y, in nv04_update_plane() argument
380 src_x >>= 16; in nv04_update_plane()
385 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane()
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c52 uint32_t src_x, uint32_t src_y,
141 new_state->src_x, new_state->src_y, in mdp4_plane_atomic_update()
213 uint32_t src_x, uint32_t src_y, in mdp4_plane_mode_set() argument
234 src_x = src_x >> 16; in mdp4_plane_mode_set()
240 fb->base.id, src_x, src_y, src_w, src_h, in mdp4_plane_mode_set()
303 MDP4_PIPE_SRC_XY_X(src_x) | in mdp4_plane_mode_set()
/linux-5.19.10/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c29 unsigned int src_x; member
140 shmob_drm_plane_compute_base(splane, fb, splane->src_x, splane->src_y); in __shmob_drm_plane_setup()
173 uint32_t src_x, uint32_t src_y, in shmob_drm_plane_update() argument
195 splane->src_x = src_x >> 16; in shmob_drm_plane_update()
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_cursor.c84 int src_x, src_y; in intel_cursor_check_surface() local
95 src_x = plane_state->uapi.src.x1 >> 16; in intel_cursor_check_surface()
98 intel_add_fb_offsets(&src_x, &src_y, plane_state, 0); in intel_cursor_check_surface()
99 offset = intel_plane_compute_aligned_offset(&src_x, &src_y, in intel_cursor_check_surface()
102 if (src_x != 0 || src_y != 0) { in intel_cursor_check_surface()
113 src_x << 16, src_y << 16); in intel_cursor_check_surface()
125 plane_state->view.color_plane[0].x = src_x; in intel_cursor_check_surface()
611 u32 src_x, u32 src_y, in intel_legacy_cursor_update() argument
672 new_plane_state->uapi.src_x = src_x; in intel_legacy_cursor_update()
744 src_x, src_y, src_w, src_h, ctx); in intel_legacy_cursor_update()
Di9xx_plane.c227 int src_x, src_y, src_w; in i9xx_check_plane_surface() local
239 src_x = plane_state->uapi.src.x1 >> 16; in i9xx_check_plane_surface()
246 intel_add_fb_offsets(&src_x, &src_y, plane_state, 0); in i9xx_check_plane_surface()
249 offset = intel_plane_compute_aligned_offset(&src_x, &src_y, in i9xx_check_plane_surface()
269 while ((src_x + src_w) * cpp > plane_state->view.color_plane[0].mapping_stride) { in i9xx_check_plane_surface()
276 offset = intel_plane_adjust_aligned_offset(&src_x, &src_y, plane_state, 0, in i9xx_check_plane_surface()
286 src_x << 16, src_y << 16); in i9xx_check_plane_surface()
295 src_x += src_w - 1; in i9xx_check_plane_surface()
298 src_x += src_w - 1; in i9xx_check_plane_surface()
303 drm_WARN_ON(&dev_priv->drm, src_x > 8191 || src_y > 4095); in i9xx_check_plane_surface()
[all …]
/linux-5.19.10/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c64 unsigned int src_x, src_y; in exynos_plane_mode_set() local
80 src_x = state->src_x >> 16; in exynos_plane_mode_set()
95 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()
106 exynos_state->src.x = src_x; in exynos_plane_mode_set()
/linux-5.19.10/drivers/video/fbdev/sis/
Dsis_accel.c104 SiS300SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, in SiS300SubsequentScreenToScreenCopy() argument
122 src_x += width-1; in SiS300SubsequentScreenToScreenCopy()
130 SiS300SetupSRCXY(src_x, src_y) in SiS300SubsequentScreenToScreenCopy()
191 SiS310SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, int src_y, in SiS310SubsequentScreenToScreenCopy() argument
232 SiS310SetupSRCXY(src_x, src_y) in SiS310SubsequentScreenToScreenCopy()
/linux-5.19.10/include/drm/
Ddrm_plane.h109 uint32_t src_x; member
246 .x1 = state->src_x, in drm_plane_state_src()
248 .x2 = state->src_x + state->src_w, in drm_plane_state_src()
300 uint32_t src_x, uint32_t src_y,
/linux-5.19.10/drivers/media/test-drivers/vimc/
Dvimc-scaler.c357 unsigned int src_x, src_y; in vimc_sca_fill_src_frame() local
367 for (src_x = 0; src_x < src_fmt->width; src_x++) { in vimc_sca_fill_src_frame()
370 snk_x = (src_x * r->width) / src_fmt->width + r->left; in vimc_sca_fill_src_frame()
/linux-5.19.10/drivers/gpu/drm/sti/
Dsti_gdp.c630 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_check() local
645 src_x = new_plane_state->src_x >> 16; in sti_gdp_atomic_check()
696 src_w, src_h, src_x, src_y); in sti_gdp_atomic_check()
714 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_update() local
733 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update()
759 src_x = newstate->src_x >> 16; in sti_gdp_atomic_update()
788 top_field->gam_gdp_pml += src_x * bpp; in sti_gdp_atomic_update()
Dsti_hqvdp.c1031 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_check() local
1044 src_x = new_plane_state->src_x >> 16; in sti_hqvdp_atomic_check()
1106 src_w, src_h, src_x, src_y); in sti_hqvdp_atomic_check()
1124 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_update() local
1138 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update()
1154 src_x = newstate->src_x >> 16; in sti_hqvdp_atomic_update()
1203 cmd->top.input_viewport_ori = src_y << 16 | src_x; in sti_hqvdp_atomic_update()
/linux-5.19.10/drivers/video/fbdev/
Dsticore.h294 s16 src_x; /* source upper left pixel x location */ member
396 void sti_set(struct sti_struct *sti, int src_y, int src_x,
398 void sti_clear(struct sti_struct *sti, int src_y, int src_x,
400 void sti_bmove(struct sti_struct *sti, int src_y, int src_x,
/linux-5.19.10/drivers/video/console/
Dsticore.c171 sti_set(struct sti_struct *sti, int src_y, int src_x, in sti_set() argument
178 .src_x = src_x, in sti_set()
180 .dest_x = src_x, in sti_set()
199 sti_clear(struct sti_struct *sti, int src_y, int src_x, in sti_clear() argument
206 .src_x = src_x * font->width, in sti_clear()
208 .dest_x = src_x * font->width, in sti_clear()
231 sti_bmove(struct sti_struct *sti, int src_y, int src_x, in sti_bmove() argument
237 .src_x = src_x * font->width, in sti_bmove()
/linux-5.19.10/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c204 plane->state->src_x != old_state->src_x || in virtio_gpu_primary_plane_update()
214 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update()
223 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update()
230 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update()
/linux-5.19.10/drivers/media/pci/ivtv/
Divtv-yuv.c225 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal()
228 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal()
264 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal()
661 if (f->src_x < 0) in ivtv_yuv_window_setup()
662 f->src_x = 0; in ivtv_yuv_window_setup()
668 f->src_x += osd_crop / 2; in ivtv_yuv_window_setup()
718 f->src_x += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
743 f->src_w += f->src_x & 1; in ivtv_yuv_window_setup()
744 f->src_x &= ~1; in ivtv_yuv_window_setup()
780 (of->dst_x != f->dst_x) || (of->src_x != f->src_x) || in ivtv_yuv_window_setup()
[all …]
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c443 plane->state->src_x = new_state->src_x; in mdp5_plane_atomic_async_update()
770 u32 src_x, u32 src_y, in mdp5_hwpipe_mode_set() argument
787 MDP5_PIPE_SRC_XY_X(src_x) | in mdp5_hwpipe_mode_set()
876 uint32_t src_x, src_y; in mdp5_plane_mode_set() local
890 src_x = src->x1; in mdp5_plane_mode_set()
901 src_x = src_x >> 16; in mdp5_plane_mode_set()
910 fb->base.id, src_x, src_y, src_w, src_h, in mdp5_plane_mode_set()
958 src_x, src_y, src_w, src_h); in mdp5_plane_mode_set()
964 src_x + src_w, src_y, src_w, src_h); in mdp5_plane_mode_set()
/linux-5.19.10/drivers/gpu/drm/vc4/
Dvc4_plane.c368 vc4_state->src_x = DIV_ROUND_CLOSEST(state->src.x1, 1 << 16); in vc4_plane_setup_clipping_and_scaling()
370 vc4_state->src_w[0] = DIV_ROUND_CLOSEST(state->src.x2, 1 << 16) - vc4_state->src_x; in vc4_plane_setup_clipping_and_scaling()
734 vc4_state->offsets[i] += vc4_state->src_x / in vc4_plane_mode_set()
757 u32 tiles_l = vc4_state->src_x >> tile_w_shift; in vc4_plane_mode_set()
767 u32 x_off = vc4_state->src_x & tile_w_mask; in vc4_plane_mode_set()
863 u32 remaining_pixels = vc4_state->src_x % 96; in vc4_plane_mode_set()
885 x_off = (vc4_state->src_x % pix_per_tile) / in vc4_plane_mode_set()
890 tile = vc4_state->src_x / pix_per_tile; in vc4_plane_mode_set()
1247 plane->state->src_x = new_plane_state->src_x; in vc4_plane_atomic_async_update()
1269 vc4_state->src_x = new_vc4_state->src_x; in vc4_plane_atomic_async_update()
/linux-5.19.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c51 uint32_t src_x; member
621 hstate->src_x = s->src.x1; in atmel_hlcdc_plane_atomic_check()
630 if ((hstate->src_x | hstate->src_y | hstate->src_w | hstate->src_h) & in atmel_hlcdc_plane_atomic_check()
634 hstate->src_x >>= 16; in atmel_hlcdc_plane_atomic_check()
656 offset += ((hstate->src_x + hstate->src_w - 1) / in atmel_hlcdc_plane_atomic_check()
666 offset += ((hstate->src_x + hstate->src_w - 1) / in atmel_hlcdc_plane_atomic_check()
675 offset += (hstate->src_x / xdiv) * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check()
683 offset += (hstate->src_x / xdiv) * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check()

1234