Searched refs:res_level (Results 1 – 1 of 1) sorted by relevance
93 struct etna_resource_level *res_level = &rsc->levels[ptrans->level]; in etna_transfer_unmap() local94 void *mapped = etna_bo_map(rsc->bo) + res_level->offset; in etna_transfer_unmap()98 mapped + ptrans->box.z * res_level->layer_stride, in etna_transfer_unmap()100 res_level->stride, ptrans->box.width, ptrans->box.height, in etna_transfer_unmap()103 util_copy_box(mapped, rsc->base.format, res_level->stride, in etna_transfer_unmap()104 res_level->layer_stride, ptrans->box.x, in etna_transfer_unmap()248 struct etna_resource_level *res_level = &rsc->levels[level]; in etna_transfer_map() local336 ptrans->stride = res_level->stride; in etna_transfer_map()337 ptrans->layer_stride = res_level->layer_stride; in etna_transfer_map()339 return mapped + res_level->offset + in etna_transfer_map()[all …]