Home
last modified time | relevance | path

Searched refs:dst_pitch (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/drm/
H A Ddrm_format_helper.c139 static int __drm_fb_xfrm(void *dst, unsigned long dst_pitch, unsigned long dst_pixsize, in __drm_fb_xfrm() argument
163 if (!dst_pitch) in __drm_fb_xfrm()
164 dst_pitch = drm_rect_width(clip) * dst_pixsize; in __drm_fb_xfrm()
174 dst += dst_pitch; in __drm_fb_xfrm()
181 static int __drm_fb_xfrm_toio(void __iomem *dst, unsigned long dst_pitch, unsigned long dst_pixsize, in __drm_fb_xfrm_toio() argument
206 if (!dst_pitch) in __drm_fb_xfrm_toio()
207 dst_pitch = linepixels * dst_pixsize; in __drm_fb_xfrm_toio()
218 dst += dst_pitch; in __drm_fb_xfrm_toio()
226 const unsigned int *dst_pitch, const u8 *dst_pixsize, in drm_fb_xfrm() argument
236 if (!dst_pitch) in drm_fb_xfrm()
414 drm_fb_memcpy(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip) drm_fb_memcpy() argument
492 drm_fb_swab(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,bool cached,struct drm_format_conv_state * state) drm_fb_swab() argument
544 drm_fb_xrgb8888_to_rgb332(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_rgb332() argument
583 drm_fb_xrgb8888_to_rgb565(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_rgb565() argument
623 drm_fb_xrgb8888_to_rgb565be(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_rgb565be() argument
663 drm_fb_xrgb8888_to_xrgb1555(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_xrgb1555() argument
703 drm_fb_xrgb8888_to_argb1555(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_argb1555() argument
743 drm_fb_xrgb8888_to_rgba5551(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_rgba5551() argument
783 drm_fb_xrgb8888_to_rgb888(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_rgb888() argument
823 drm_fb_xrgb8888_to_bgr888(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_bgr888() argument
863 drm_fb_xrgb8888_to_argb8888(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_argb8888() argument
903 drm_fb_xrgb8888_to_abgr8888(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_abgr8888() argument
945 drm_fb_xrgb8888_to_xbgr8888(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_xbgr8888() argument
987 drm_fb_xrgb8888_to_bgrx8888(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_bgrx8888() argument
1029 drm_fb_xrgb8888_to_xrgb2101010(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_xrgb2101010() argument
1070 drm_fb_xrgb8888_to_argb2101010(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_argb2101010() argument
1115 drm_fb_xrgb8888_to_gray8(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_gray8() argument
1155 drm_fb_argb8888_to_argb4444(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_argb8888_to_argb4444() argument
1194 drm_fb_blit(struct iosys_map * dst,const unsigned int * dst_pitch,uint32_t dst_format,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_blit() argument
1304 drm_fb_xrgb8888_to_mono(struct iosys_map * dst,const unsigned int * dst_pitch,const struct iosys_map * src,const struct drm_framebuffer * fb,const struct drm_rect * clip,struct drm_format_conv_state * state) drm_fb_xrgb8888_to_mono() argument
[all...]
/linux/include/drm/
H A Ddrm_format_helper.h73 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch,
76 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch,
80 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch,
83 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch,
86 void drm_fb_xrgb8888_to_rgb565be(struct iosys_map *dst, const unsigned int *dst_pitch,
89 void drm_fb_xrgb8888_to_xrgb1555(struct iosys_map *dst, const unsigned int *dst_pitch,
92 void drm_fb_xrgb8888_to_argb1555(struct iosys_map *dst, const unsigned int *dst_pitch,
95 void drm_fb_xrgb8888_to_rgba5551(struct iosys_map *dst, const unsigned int *dst_pitch,
98 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch,
101 void drm_fb_xrgb8888_to_bgr888(struct iosys_map *dst, const unsigned int *dst_pitch,
[all...]
/linux/drivers/video/fbdev/via/
H A Daccel.c40 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_1() argument
139 if (tmp & 0xFFFFC007 || dst_pitch & 0xFFFFC007) { in hw_bitblt_1()
141 tmp, dst_pitch); in hw_bitblt_1()
144 tmp = VIA_PITCH_ENABLE | (tmp >> 3) | (dst_pitch << (16 - 3)); in hw_bitblt_1()
173 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_2() argument
220 if (tmp & 0xFFFFC007 || dst_pitch & 0xFFFFC007) { in hw_bitblt_2()
222 tmp, dst_pitch); in hw_bitblt_2()
225 tmp = (tmp >> 3) | (dst_pitch << (16 - 3)); in hw_bitblt_2()
H A Dviafbdev.h53 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y,
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_modeset.c240 unsigned int dst_pitch = sysfb->fb_pitch; in drm_sysfb_plane_helper_atomic_update() local
261 iosys_map_incr(&dst, drm_fb_clip_offset(dst_pitch, dst_format, &dst_clip)); in drm_sysfb_plane_helper_atomic_update()
262 drm_fb_blit(&dst, &dst_pitch, dst_format->format, shadow_plane_state->data, fb, in drm_sysfb_plane_helper_atomic_update()
280 unsigned int dst_pitch = sysfb->fb_pitch; in drm_sysfb_plane_helper_atomic_disable() local
297 dst_vmap += drm_fb_clip_offset(dst_pitch, dst_format, &dst_clip); in drm_sysfb_plane_helper_atomic_disable()
300 dst_vmap += dst_pitch; in drm_sysfb_plane_helper_atomic_disable()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c147 u32 src_pitch, dst_pitch; in prepare_blit() local
178 dst_pitch = t->width; /* in dwords */ in prepare_blit()
186 dst_pitch *= 4; /* in bytes */ in prepare_blit()
191 *cs++ = src_4t | dst_4t | BLT_DEPTH_32 | dst_pitch; in prepare_blit()
230 dst_pitch = t->width * 4; in prepare_blit()
233 dst_pitch /= 4; in prepare_blit()
237 *cs++ = BLT_DEPTH_32 | BLT_ROP_SRC_COPY | dst_pitch; in prepare_blit()
/linux/drivers/gpu/drm/clients/
H A Ddrm_log.c73 static void drm_log_blit(struct iosys_map *dst, unsigned int dst_pitch, in drm_log_blit() argument
79 drm_draw_blit16(dst, dst_pitch, src, src_pitch, height, width, scale, color); in drm_log_blit()
82 drm_draw_blit24(dst, dst_pitch, src, src_pitch, height, width, scale, color); in drm_log_blit()
85 drm_draw_blit32(dst, dst_pitch, src, src_pitch, height, width, scale, color); in drm_log_blit()
/linux/drivers/gpu/drm/sitronix/
H A Dst7571-i2c.c276 unsigned int dst_pitch; in st7571_prepare_buffer_monochrome() local
282 dst_pitch = DIV_ROUND_UP(drm_rect_width(rect), 8); in st7571_prepare_buffer_monochrome()
285 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in st7571_prepare_buffer_monochrome()
302 unsigned int dst_pitch; in st7571_prepare_buffer_grayscale() local
307 dst_pitch = DIV_ROUND_UP(drm_rect_width(rect), 8); in st7571_prepare_buffer_grayscale()
310 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in st7571_prepare_buffer_grayscale()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_stdu.c504 s32 src_pitch, dst_pitch; in vmw_stdu_bo_cpu_commit() local
523 dst_pitch = ddirty->pitch; in vmw_stdu_bo_cpu_commit()
525 dst_offset = ddirty->fb_top * dst_pitch + ddirty->fb_left * stdu->cpp; in vmw_stdu_bo_cpu_commit()
527 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, in vmw_stdu_bo_cpu_commit()
1179 s32 src_pitch, dst_pitch; in vmw_stdu_bo_populate_update_cpu() local
1192 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
1193 dst_offset = bb->y1 * dst_pitch + bb->x1 * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
1200 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, src_bo, in vmw_stdu_bo_populate_update_cpu()
/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c1010 unsigned int dst_pitch; in ssd130x_fb_blit_rect() local
1017 dst_pitch = DIV_ROUND_UP(drm_rect_width(rect), 8); in ssd130x_fb_blit_rect()
1024 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd130x_fb_blit_rect()
1040 unsigned int dst_pitch; in ssd132x_fb_blit_rect() local
1049 dst_pitch = drm_rect_width(rect); in ssd132x_fb_blit_rect()
1056 drm_fb_xrgb8888_to_gray8(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd132x_fb_blit_rect()
1072 unsigned int dst_pitch; in ssd133x_fb_blit_rect() local
1079 dst_pitch = drm_format_info_min_pitch(fi, 0, drm_rect_width(rect)); in ssd133x_fb_blit_rect()
1086 drm_fb_xrgb8888_to_rgb332(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd133x_fb_blit_rect()
1090 ssd133x_update_rect(ssd130x, rect, data_array, dst_pitch); in ssd133x_fb_blit_rect()
[all...]
/linux/drivers/gpu/drm/tiny/
H A Drepaper.c518 unsigned int dst_pitch = 0; in repaper_fb_dirty() local
550 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, &vmap, fb, &clip, fmtcnv_state); in repaper_fb_dirty()