mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
r600g: TODO domain management
no wonder it was slow, the code is deliberately forcing stuff into GTT, we used to have domain management but it seems to have disappeared.
This commit is contained in:
parent
1c2b3cb1e9
commit
3d45d57044
1 changed files with 2 additions and 2 deletions
|
|
@ -725,8 +725,8 @@ void r600_context_bo_reloc(struct r600_context *ctx, u32 *pm4, struct radeon_bo
|
|||
}
|
||||
reloc_id = ctx->creloc * sizeof(struct r600_reloc) / 4;
|
||||
ctx->reloc[ctx->creloc].handle = bo->handle;
|
||||
ctx->reloc[ctx->creloc].read_domain = RADEON_GEM_DOMAIN_GTT;
|
||||
ctx->reloc[ctx->creloc].write_domain = RADEON_GEM_DOMAIN_GTT;
|
||||
ctx->reloc[ctx->creloc].read_domain = RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM;
|
||||
ctx->reloc[ctx->creloc].write_domain = RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM;
|
||||
ctx->reloc[ctx->creloc].flags = 0;
|
||||
radeon_bo_reference(ctx->radeon, &ctx->bo[ctx->creloc], bo);
|
||||
ctx->creloc++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue