Lines Matching defs:blit
652 drm_mach64_blit_t * blit)
665 switch (blit->format) {
681 DRM_ERROR("invalid blit format %d\n", blit->format);
685 /* Set buf->used to the bytes of blit data based on the blit dimensions
688 * used for setup as well as the blit data.
690 dwords = (blit->width * blit->height) >> dword_shift;
694 DRM_ERROR("Invalid blit size: %lu bytes\n", used);
704 /* Copy the blit data from userspace.
714 verify_ret = copy_from_user_blit(GETBUFPTR(copy_buf), blit->buf, used);
743 DMAOUTREG(MACH64_DP_PIX_WIDTH, (blit->format << 0) /* dst pix width */
744 |(blit->format << 4) /* composite pix width */
745 |(blit->format << 8) /* src pix width */
746 |(blit->format << 16) /* host data pix width */
747 |(blit->format << 28) /* scaler/3D pix width */
757 (blit->pitch << 22) | (blit->offset >> 3));
758 DMAOUTREG(MACH64_DST_X_Y, (blit->y << 16) | blit->x);
759 DMAOUTREG(MACH64_DST_WIDTH_HEIGHT, (blit->height << 16) | blit->width);
862 drm_mach64_blit_t *blit = data;
867 ret = mach64_dma_dispatch_blit(dev, file_priv, blit);