Lines Matching refs:blit
655 drm_mach64_blit_t * blit)
668 switch (blit->format) {
684 DRM_ERROR("invalid blit format %d\n", blit->format);
688 /* Set buf->used to the bytes of blit data based on the blit dimensions
691 * used for setup as well as the blit data.
693 dwords = (blit->width * blit->height) >> dword_shift;
697 DRM_ERROR("Invalid blit size: %lu bytes\n", used);
707 /* Copy the blit data from userspace.
717 verify_ret = copy_from_user_blit(GETBUFPTR(copy_buf), blit->buf, used);
746 DMAOUTREG(MACH64_DP_PIX_WIDTH, (blit->format << 0) /* dst pix width */
747 |(blit->format << 4) /* composite pix width */
748 |(blit->format << 8) /* src pix width */
749 |(blit->format << 16) /* host data pix width */
750 |(blit->format << 28) /* scaler/3D pix width */
760 (blit->pitch << 22) | (blit->offset >> 3));
761 DMAOUTREG(MACH64_DST_X_Y, (blit->y << 16) | blit->x);
762 DMAOUTREG(MACH64_DST_WIDTH_HEIGHT, (blit->height << 16) | blit->width);
866 drm_mach64_blit_t *blit = data;
871 ret = mach64_dma_dispatch_blit(dev, file_priv, blit);