Lines Matching refs:blit
766 static void mga_dma_dispatch_blit(struct drm_device *dev, drm_mga_blit_t *blit) in mga_dma_dispatch_blit() argument
784 MGA_PLNWT, blit->planemask, in mga_dma_dispatch_blit()
785 MGA_SRCORG, blit->srcorg, MGA_DSTORG, blit->dstorg); in mga_dma_dispatch_blit()
789 MGA_AR5, blit->ydir * blit->src_pitch, in mga_dma_dispatch_blit()
790 MGA_PITCH, blit->dst_pitch); in mga_dma_dispatch_blit()
793 int srcx = pbox[i].x1 + blit->delta_sx; in mga_dma_dispatch_blit()
794 int srcy = pbox[i].y1 + blit->delta_sy; in mga_dma_dispatch_blit()
795 int dstx = pbox[i].x1 + blit->delta_dx; in mga_dma_dispatch_blit()
796 int dsty = pbox[i].y1 + blit->delta_dy; in mga_dma_dispatch_blit()
801 if (blit->ydir == -1) in mga_dma_dispatch_blit()
802 srcy = blit->height - srcy - 1; in mga_dma_dispatch_blit()
804 start = srcy * blit->src_pitch + srcx; in mga_dma_dispatch_blit()
982 drm_mga_blit_t *blit = data; in mga_dma_blit() local
990 if (mga_verify_blit(dev_priv, blit->srcorg, blit->dstorg)) in mga_dma_blit()
995 mga_dma_dispatch_blit(dev, blit); in mga_dma_blit()