Lines Matching defs:rect
10 struct nv50_m2mf_rect rect[2];
368 nv50_m2mf_rect_setup(&tx->rect[0], res, level, box->x, box->y, box->z);
373 size * tx->nlayers, NULL, &tx->rect[1].bo);
379 tx->rect[1].cpp = tx->rect[0].cpp;
380 tx->rect[1].width = tx->nblocksx;
381 tx->rect[1].height = tx->nblocksy;
382 tx->rect[1].depth = 1;
383 tx->rect[1].pitch = tx->base.stride;
384 tx->rect[1].domain = NOUVEAU_BO_GART;
387 unsigned base = tx->rect[0].base;
388 unsigned z = tx->rect[0].z;
391 nvc0->m2mf_copy_rect(nvc0, &tx->rect[1], &tx->rect[0],
394 tx->rect[0].z++;
396 tx->rect[0].base += mt->layer_stride;
397 tx->rect[1].base += size;
399 tx->rect[0].z = z;
400 tx->rect[0].base = base;
401 tx->rect[1].base = 0;
418 nvc0->m2mf_copy_rect(nvc0, &tx->rect[0], &tx->rect[1],
421 tx->rect[0].z++;
423 tx->rect[0].base += mt->layer_stride;
424 tx->rect[1].base += tx->nblocksy * tx->base.stride;
428 nouveau_bo_ref(NULL, &tx->rect[1].bo);
443 if (tx->rect[1].bo->map)
444 return tx->rect[1].bo->map;
451 ret = nouveau_bo_map(tx->rect[1].bo, flags, nvc0->screen->base.client);
454 return tx->rect[1].bo->map;