Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/tests/
H A 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
46 unsigned int dst_pitch; member
51 unsigned int dst_pitch; member
56 unsigned int dst_pitch; member
61 unsigned int dst_pitch; member
66 unsigned int dst_pitch; member
[all …]
/openbmc/linux/drivers/gpu/drm/
H A 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 …]
/openbmc/linux/include/drm/
H A 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_xrgb1555(struct iosys_map *dst, const unsigned int *dst_pitch,
36 void drm_fb_xrgb8888_to_argb1555(struct iosys_map *dst, const unsigned int *dst_pitch,
39 void drm_fb_xrgb8888_to_rgba5551(struct iosys_map *dst, const unsigned int *dst_pitch,
42 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch,
45 void drm_fb_xrgb8888_to_argb8888(struct iosys_map *dst, const unsigned int *dst_pitch,
48 void drm_fb_xrgb8888_to_xrgb2101010(struct iosys_map *dst, const unsigned int *dst_pitch,
[all …]
/openbmc/qemu/hw/display/
H A Dati_2d.c66 int dst_stride = DEFAULT_CNTL ? s->regs.dst_pitch : s->regs.default_pitch; in ati_2d_blt()
87 s->regs.src_pitch, s->regs.dst_pitch, s->regs.default_pitch, in ati_2d_blt()
159 unsigned int dst_pitch = dst_stride * sizeof(uint32_t); in ati_2d_blt() local
165 i += (dst_y + y) * dst_pitch; in ati_2d_blt()
168 i += (dst_y + s->regs.dst_height - 1 - y) * dst_pitch; in ati_2d_blt()
220 unsigned int dst_pitch = dst_stride * sizeof(uint32_t); in ati_2d_blt() local
222 i = dst_x * bypp + (dst_y + y) * dst_pitch; in ati_2d_blt()
H A Dsm501.c699 unsigned int dst_pitch = (s->twoD_pitch >> 16) & 0x1FFF; in sm501_2d_operation() local
714 if (!dst_pitch) { in sm501_2d_operation()
730 dst_base + (dst_x + width + (dst_y + height) * dst_pitch) * bypp >= in sm501_2d_operation()
768 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
780 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
794 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
812 if (src_base == dst_base && src_pitch == dst_pitch && in sm501_2d_operation()
819 unsigned int di = (dst_x + dst_y * dst_pitch) * bypp; in sm501_2d_operation()
825 if (rtl && src_base == dst_base && src_pitch == dst_pitch) { in sm501_2d_operation()
832 db = dst_base + (dst_x + dst_y * dst_pitch) * bypp; in sm501_2d_operation()
[all …]
H A Dcirrus_vga_rop2.h264 uint32_t dstaddr, int dst_pitch, in glue()
279 dstaddr += dst_pitch; in glue()
H A Dati_int.h61 uint32_t dst_pitch; member
H A Dati.c438 val = s->regs.dst_pitch; in ati_mm_read()
794 s->regs.dst_pitch = data & 0x3fff; in ati_mm_write()
797 s->regs.dst_pitch = data & 0x3ff0; in ati_mm_write()
838 s->regs.dst_pitch = (data & 0x7fe00000) >> 21; in ati_mm_write()
842 s->regs.dst_pitch = (data & 0x3fc00000) >> 16; in ati_mm_write()
H A Dcirrus_vga.c181 uint32_t dstaddr, int dst_pitch,
/openbmc/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,
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_stdu.c499 s32 src_pitch, dst_pitch; in vmw_stdu_bo_cpu_commit() local
518 dst_pitch = ddirty->pitch; in vmw_stdu_bo_cpu_commit()
520 dst_offset = ddirty->fb_top * dst_pitch + ddirty->fb_left * stdu->cpp; in vmw_stdu_bo_cpu_commit()
522 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, in vmw_stdu_bo_cpu_commit()
1145 s32 src_pitch, dst_pitch; in vmw_stdu_bo_populate_update_cpu() local
1158 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
1159 dst_offset = bb->y1 * dst_pitch + bb->x1 * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
1166 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, src_bo, in vmw_stdu_bo_populate_update_cpu()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dofdrm.c797 unsigned int dst_pitch = odev->pitch; in ofdrm_primary_plane_helper_atomic_update() local
818 iosys_map_incr(&dst, drm_fb_clip_offset(dst_pitch, dst_format, &dst_clip)); in ofdrm_primary_plane_helper_atomic_update()
819 drm_fb_blit(&dst, &dst_pitch, dst_format->format, shadow_plane_state->data, fb, in ofdrm_primary_plane_helper_atomic_update()
836 unsigned int dst_pitch = odev->pitch; in ofdrm_primary_plane_helper_atomic_disable() local
853 dst_vmap += drm_fb_clip_offset(dst_pitch, dst_format, &dst_clip); in ofdrm_primary_plane_helper_atomic_disable()
856 dst_vmap += dst_pitch; in ofdrm_primary_plane_helper_atomic_disable()
H A 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()
/openbmc/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c607 unsigned int dst_pitch; in ssd130x_fb_blit_rect() local
614 dst_pitch = DIV_ROUND_UP(drm_rect_width(rect), 8); in ssd130x_fb_blit_rect()
621 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect); in ssd130x_fb_blit_rect()