Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
}
bo = calloc(1, sizeof(struct r600_bo));
- bo->size = size;
bo->domains = domains;
bo->bo = rbo;
}
pipe_reference_init(&bo->reference, 1);
- bo->size = rbo->size;
bo->domains = (RADEON_GEM_DOMAIN_CPU |
RADEON_GEM_DOMAIN_GTT |
RADEON_GEM_DOMAIN_VRAM);
struct r600_bo {
struct pipe_reference reference; /* this must be the first member for the r600_bo_reference inline to work */
/* DO NOT MOVE THIS ^ */
- unsigned size;
unsigned domains;
struct radeon_bo *bo;
unsigned fence;