Lines Matching refs:slices
49 rsc->slices[0].size, in vc4_resource_bo_alloc()
50 rsc->slices[0].offset, in vc4_resource_bo_alloc()
51 rsc->slices[0].offset + in vc4_resource_bo_alloc()
52 rsc->slices[0].size + in vc4_resource_bo_alloc()
57 rsc->slices[0].offset + in vc4_resource_bo_alloc()
58 rsc->slices[0].size + in vc4_resource_bo_alloc()
82 slice = &rsc->slices[0]; in vc4_resource_transfer_unmap()
85 slice = &rsc->slices[ptrans->level]; in vc4_resource_transfer_unmap()
275 struct vc4_resource_slice *slice = &rsc->slices[level]; in vc4_resource_transfer_map()
386 return vc4_screen_bo_get_handle(pscreen, rsc->bo, rsc->slices[0].stride, in vc4_resource_get_handle()
416 struct vc4_resource_slice *slice = &rsc->slices[i]; in vc4_setup_slices()
481 uint32_t page_align_offset = (align(rsc->slices[0].offset, 4096) - in vc4_setup_slices()
482 rsc->slices[0].offset); in vc4_setup_slices()
485 rsc->slices[i].offset += page_align_offset; in vc4_setup_slices()
492 rsc->cube_map_stride = align(rsc->slices[0].offset + in vc4_setup_slices()
493 rsc->slices[0].size, 4096); in vc4_setup_slices()
582 struct vc4_resource_slice *slice = &rsc->slices[0]; in vc4_resource_from_handle()
656 surface->offset = (rsc->slices[level].offset + in vc4_create_surface()
658 surface->tiling = rsc->slices[level].tiling; in vc4_create_surface()
676 uint32_t stride = rsc->slices[0].stride / 4; in vc4_dump_surface_non_msaa()