Lines Matching full:bounce
109 struct nouveau_bo *bounce = NULL;
114 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset);
115 if (!bounce)
118 nv->copy_data(nv, bounce, offset, NOUVEAU_BO_GART,
121 if (nouveau_bo_map(bounce, NOUVEAU_BO_RD, nv->screen->client))
123 memcpy(buf->data + start, (uint8_t *)bounce->map + offset, size);
127 nouveau_bo_ref(NULL, &bounce);
138 struct nouveau_bo *bounce = NULL;
151 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset);
152 if (!bounce)
155 nouveau_bo_map(bounce, 0, nv->screen->client);
156 memcpy((uint8_t *)bounce->map + offset, buf->data + start, size);
159 bounce, offset, NOUVEAU_BO_GART, size);
161 nouveau_bo_ref(NULL, &bounce);