Home
last modified time | relevance | path

Searched refs:blit (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c649 SVGASignedRect *blit = (SVGASignedRect *) &cmd[1]; in vmw_sou_surface_fifo_commit() local
678 for (i = 0; i < dirty->num_hits; ++i, ++blit) { in vmw_sou_surface_fifo_commit()
679 blit->left -= sdirty->left; in vmw_sou_surface_fifo_commit()
680 blit->right -= sdirty->left; in vmw_sou_surface_fifo_commit()
681 blit->top -= sdirty->top; in vmw_sou_surface_fifo_commit()
682 blit->bottom -= sdirty->top; in vmw_sou_surface_fifo_commit()
704 SVGASignedRect *blit = (SVGASignedRect *) &cmd[1]; in vmw_sou_surface_clip() local
707 blit += dirty->num_hits; in vmw_sou_surface_clip()
708 blit->left = dirty->unit_x1; in vmw_sou_surface_clip()
709 blit->top = dirty->unit_y1; in vmw_sou_surface_clip()
[all …]
Dvmwgfx_stdu.c722 struct SVGA3dCopyBox *blit = (struct SVGA3dCopyBox *) &cmd[1]; in vmw_stdu_dmabuf_clip() local
724 blit += dirty->num_hits; in vmw_stdu_dmabuf_clip()
725 blit->srcx = dirty->fb_x; in vmw_stdu_dmabuf_clip()
726 blit->srcy = dirty->fb_y; in vmw_stdu_dmabuf_clip()
727 blit->x = dirty->unit_x1; in vmw_stdu_dmabuf_clip()
728 blit->y = dirty->unit_y1; in vmw_stdu_dmabuf_clip()
729 blit->d = 1; in vmw_stdu_dmabuf_clip()
730 blit->w = dirty->unit_x2 - dirty->unit_x1; in vmw_stdu_dmabuf_clip()
731 blit->h = dirty->unit_y2 - dirty->unit_y1; in vmw_stdu_dmabuf_clip()
759 struct SVGA3dCopyBox *blit = (struct SVGA3dCopyBox *) &cmd[1]; in vmw_stdu_dmabuf_fifo_commit() local
[all …]
/drivers/video/console/
Dtileblit.c58 struct fb_tileblit blit; in tile_putcs() local
62 blit.sx = xx; in tile_putcs()
63 blit.sy = yy; in tile_putcs()
64 blit.width = count; in tile_putcs()
65 blit.height = 1; in tile_putcs()
66 blit.fg = fg; in tile_putcs()
67 blit.bg = bg; in tile_putcs()
68 blit.length = count; in tile_putcs()
69 blit.indices = (u32 *) fb_get_buffer_offset(info, &info->pixmap, size); in tile_putcs()
71 blit.indices[i] = (u32)(scr_readw(s++) & charmask); in tile_putcs()
[all …]
/drivers/gpu/drm/mga/
Dmga_state.c768 static void mga_dma_dispatch_blit(struct drm_device *dev, drm_mga_blit_t *blit) in mga_dma_dispatch_blit() argument
786 MGA_PLNWT, blit->planemask, in mga_dma_dispatch_blit()
787 MGA_SRCORG, blit->srcorg, MGA_DSTORG, blit->dstorg); in mga_dma_dispatch_blit()
791 MGA_AR5, blit->ydir * blit->src_pitch, in mga_dma_dispatch_blit()
792 MGA_PITCH, blit->dst_pitch); in mga_dma_dispatch_blit()
795 int srcx = pbox[i].x1 + blit->delta_sx; in mga_dma_dispatch_blit()
796 int srcy = pbox[i].y1 + blit->delta_sy; in mga_dma_dispatch_blit()
797 int dstx = pbox[i].x1 + blit->delta_dx; in mga_dma_dispatch_blit()
798 int dsty = pbox[i].y1 + blit->delta_dy; in mga_dma_dispatch_blit()
803 if (blit->ydir == -1) in mga_dma_dispatch_blit()
[all …]
/drivers/gpu/drm/r128/
Dr128_state.c773 drm_r128_blit_t *blit) in r128_cce_dispatch_blit() argument
788 switch (blit->format) { in r128_cce_dispatch_blit()
804 DRM_ERROR("invalid blit format %d\n", blit->format); in r128_cce_dispatch_blit()
822 buf = dma->buflist[blit->idx]; in r128_cce_dispatch_blit()
831 DRM_ERROR("sending pending buffer %d\n", blit->idx); in r128_cce_dispatch_blit()
837 dwords = (blit->width * blit->height) >> dword_shift; in r128_cce_dispatch_blit()
844 (blit->format << 8) | in r128_cce_dispatch_blit()
851 data[2] = cpu_to_le32((blit->pitch << 21) | (blit->offset >> 5)); in r128_cce_dispatch_blit()
854 data[5] = cpu_to_le32((blit->y << 16) | blit->x); in r128_cce_dispatch_blit()
855 data[6] = cpu_to_le32((blit->height << 16) | blit->width); in r128_cce_dispatch_blit()
[all …]
/drivers/video/fbdev/core/
Dsvgalib.c277 void svga_tileblit(struct fb_info *info, struct fb_tileblit *blit) in svga_tileblit() argument
282 int attr = (0x0F & blit->bg) << 4 | (0x0F & blit->fg); in svga_tileblit()
284 fb += blit->sx * colstride + blit->sy * rowstride; in svga_tileblit()
287 for (dy=0; dy < blit->height; dy ++) { in svga_tileblit()
289 for (dx = 0; dx < blit->width; dx ++) { in svga_tileblit()
290 fb_writeb(blit->indices[i], fb2); in svga_tileblit()
294 if (i == blit->length) return; in svga_tileblit()
/drivers/gpu/drm/radeon/
Dradeon_asic.c227 .blit = &r100_copy_blit,
295 .blit = &r100_copy_blit,
391 .blit = &r100_copy_blit,
459 .blit = &r100_copy_blit,
527 .blit = &r100_copy_blit,
595 .blit = &r100_copy_blit,
663 .blit = &r100_copy_blit,
731 .blit = &r100_copy_blit,
799 .blit = &r100_copy_blit,
867 .blit = &r100_copy_blit,
[all …]
Dradeon_benchmark.c133 if (rdev->asic->copy.blit) { in radeon_benchmark_move()
Dradeon_test.c257 if (rdev->asic->copy.blit) in radeon_test_moves()
Dradeon.h1927 struct radeon_fence *(*blit)(struct radeon_device *rdev, member
2757 #define radeon_copy_blit(rdev, s, d, np, resv) (rdev)->asic->copy.blit((rdev), (s), (d), (np), (res…
/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.h44 struct nvif_object blit; member
Dnv04_fbcon.c199 NULL, 0, &nfbdev->blit); in nv04_fbcon_accel_init()
247 OUT_RING(chan, nfbdev->blit.handle); in nv04_fbcon_accel_init()
Dnouveau_fbcon.c263 nvif_object_fini(&fbcon->blit); in nouveau_fbcon_accel_fini()
/drivers/video/fbdev/
Dcg6.c196 u32 blit; member
382 i = sbus_readl(&fbc->blit); in cg6_copyarea()