Home
last modified time | relevance | path

Searched refs:src_pitch (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/display/
H A Dati_2d.c87 s->regs.src_pitch, s->regs.dst_pitch, s->regs.default_pitch, in ati_2d_blt()
101 s->regs.src_pitch : s->regs.default_pitch; in ati_2d_blt()
158 unsigned int src_pitch = src_stride * sizeof(uint32_t); in ati_2d_blt() local
166 j += (src_y + y) * src_pitch; in ati_2d_blt()
169 j += (src_y + s->regs.dst_height - 1 - y) * src_pitch; in ati_2d_blt()
H A Dsm501.c742 unsigned int src_pitch = s->twoD_pitch & 0x1FFF; in sm501_2d_operation() local
744 if (!src_pitch) { in sm501_2d_operation()
755 src_base + (src_x + width + (src_y + height) * src_pitch) * bypp >= in sm501_2d_operation()
781 j = (src_x + (src_y + y) * src_pitch) * bypp; in sm501_2d_operation()
795 j = (src_x + (src_y + y) * src_pitch) * bypp; in sm501_2d_operation()
812 if (src_base == dst_base && src_pitch == dst_pitch && in sm501_2d_operation()
818 unsigned int si = (src_x + src_y * src_pitch) * bypp; in sm501_2d_operation()
825 if (rtl && src_base == dst_base && src_pitch == dst_pitch) { in sm501_2d_operation()
830 sb = src_base + (src_x + src_y * src_pitch) * bypp; in sm501_2d_operation()
831 se = sb + (width + (height - 1) * src_pitch) * bypp; in sm501_2d_operation()
[all …]
H A Dati_int.h66 uint32_t src_pitch; member
H A Dati.c468 val = s->regs.src_pitch; in ati_mm_read()
827 s->regs.src_pitch = (data & 0x7fe00000) >> 21; in ati_mm_write()
831 s->regs.src_pitch = (data & 0x3fc00000) >> 16; in ati_mm_write()
896 s->regs.src_pitch = data & 0x3fff; in ati_mm_write()
899 s->regs.src_pitch = data & 0x3ff0; in ati_mm_write()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c147 u32 src_pitch, dst_pitch; in prepare_blit() local
167 src_pitch = t->width; /* in dwords */ in prepare_blit()
176 src_pitch *= 4; /* in bytes */ in prepare_blit()
199 *cs++ = src_pitch; in prepare_blit()
226 src_pitch = t->width * 4; in prepare_blit()
229 src_pitch /= 4; in prepare_blit()
246 *cs++ = src_pitch; in prepare_blit()
/openbmc/linux/drivers/video/fbdev/via/
H A Daccel.c41 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_1() argument
138 tmp = src_pitch; 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
219 tmp = src_pitch; in hw_bitblt_2()
H A Dviafbdev.h54 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y,
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_stdu.c499 s32 src_pitch, dst_pitch; in vmw_stdu_bo_cpu_commit() local
514 src_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
516 src_offset = ddirty->top * src_pitch + ddirty->left * stdu->cpp; in vmw_stdu_bo_cpu_commit()
523 src_bo, src_offset, src_pitch, in vmw_stdu_bo_cpu_commit()
1145 s32 src_pitch, dst_pitch; in vmw_stdu_bo_populate_update_cpu() local
1162 src_pitch = update->vfb->base.pitches[0]; in vmw_stdu_bo_populate_update_cpu()
1163 src_offset = bo_update->fb_top * src_pitch + bo_update->fb_left * in vmw_stdu_bo_populate_update_cpu()
1167 src_offset, src_pitch, width * stdu->cpp, height, in vmw_stdu_bo_populate_update_cpu()