Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_format_helper_test.c20 unsigned int dst_pitch; member
25 unsigned int dst_pitch; member
30 unsigned int dst_pitch; member
36 unsigned int dst_pitch; member
41 unsigned int dst_pitch; member
64 .dst_pitch = 0,
68 .dst_pitch = 0,
72 .dst_pitch = 0,
77 .dst_pitch = 0,
81 .dst_pitch = 0,
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_format_helper.c45 static int __drm_fb_xfrm(void *dst, unsigned long dst_pitch, unsigned long dst_pixsize, in __drm_fb_xfrm() argument
68 if (!dst_pitch) in __drm_fb_xfrm()
69 dst_pitch = drm_rect_width(clip) * dst_pixsize; in __drm_fb_xfrm()
79 dst += dst_pitch; in __drm_fb_xfrm()
88 static int __drm_fb_xfrm_toio(void __iomem *dst, unsigned long dst_pitch, unsigned long dst_pixsize, in __drm_fb_xfrm_toio() argument
112 if (!dst_pitch) in __drm_fb_xfrm_toio()
113 dst_pitch = linepixels * dst_pixsize; in __drm_fb_xfrm_toio()
124 dst += dst_pitch; in __drm_fb_xfrm_toio()
134 const unsigned int *dst_pitch, const u8 *dst_pixsize, in drm_fb_xfrm() argument
143 if (!dst_pitch) in drm_fb_xfrm()
[all …]
/linux-6.1.9/include/drm/
Ddrm_format_helper.h21 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch,
24 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch,
27 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch,
30 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch,
33 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch,
36 void drm_fb_xrgb8888_to_xrgb2101010(struct iosys_map *dst, const unsigned int *dst_pitch,
39 void drm_fb_xrgb8888_to_gray8(struct iosys_map *dst, const unsigned int *dst_pitch,
43 int drm_fb_blit(struct iosys_map *dst, const unsigned int *dst_pitch, uint32_t dst_format,
47 void drm_fb_xrgb8888_to_mono(struct iosys_map *dst, const unsigned int *dst_pitch,
/linux-6.1.9/drivers/video/fbdev/via/
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()
Dviafbdev.h53 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y,
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_client_blt.c147 u32 src_pitch, dst_pitch; in prepare_blit() local
179 dst_pitch = t->width; /* in dwords */ in prepare_blit()
188 dst_pitch *= 4; /* in bytes */ in prepare_blit()
193 *cs++ = src_4t | dst_4t | BLT_DEPTH_32 | dst_pitch; in prepare_blit()
232 dst_pitch = t->width * 4; in prepare_blit()
235 dst_pitch /= 4; in prepare_blit()
239 *cs++ = BLT_DEPTH_32 | BLT_ROP_SRC_COPY | dst_pitch; in prepare_blit()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_stdu.c586 s32 src_pitch, dst_pitch; in vmw_stdu_bo_cpu_commit() local
601 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
603 dst_offset = ddirty->top * dst_pitch + ddirty->left * stdu->cpp; in vmw_stdu_bo_cpu_commit()
611 swap(dst_pitch, src_pitch); in vmw_stdu_bo_cpu_commit()
616 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, in vmw_stdu_bo_cpu_commit()
1295 s32 src_pitch, dst_pitch; in vmw_stdu_bo_populate_update_cpu() local
1308 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
1309 dst_offset = bb->y1 * dst_pitch + bb->x1 * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
1316 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, src_bo, in vmw_stdu_bo_populate_update_cpu()
/linux-6.1.9/drivers/gpu/drm/solomon/
Dssd130x.c545 unsigned int dst_pitch; in ssd130x_fb_blit_rect() local
553 dst_pitch = DIV_ROUND_UP(drm_rect_width(rect), 8); in ssd130x_fb_blit_rect()
554 buf = kcalloc(dst_pitch, drm_rect_height(rect), GFP_KERNEL); in ssd130x_fb_blit_rect()
563 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect); in ssd130x_fb_blit_rect()
/linux-6.1.9/include/uapi/drm/
Dmga_drm.h400 int src_pitch, dst_pitch; member
/linux-6.1.9/drivers/gpu/drm/tiny/
Drepaper.c516 unsigned int dst_pitch = 0; in repaper_fb_dirty() local
548 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, &vmap, fb, &clip); in repaper_fb_dirty()
/linux-6.1.9/drivers/gpu/drm/mga/
Dmga_state.c790 MGA_PITCH, blit->dst_pitch); in mga_dma_dispatch_blit()