Lines Matching refs:surfaces
143 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]) in rvid_join_surfaces()
156 if (!surfaces[i]) in rvid_join_surfaces()
160 wh = surfaces[i]->u.legacy.bankw * surfaces[i]->u.legacy.bankh; in rvid_join_surfaces()
168 if (!surfaces[i]) in rvid_join_surfaces()
172 off = align(off, surfaces[i]->surf_alignment); in rvid_join_surfaces()
175 surfaces[i]->u.legacy.bankw = surfaces[best_tiling]->u.legacy.bankw; in rvid_join_surfaces()
176 surfaces[i]->u.legacy.bankh = surfaces[best_tiling]->u.legacy.bankh; in rvid_join_surfaces()
177 surfaces[i]->u.legacy.mtilea = surfaces[best_tiling]->u.legacy.mtilea; in rvid_join_surfaces()
178 surfaces[i]->u.legacy.tile_split = surfaces[best_tiling]->u.legacy.tile_split; in rvid_join_surfaces()
180 for (j = 0; j < ARRAY_SIZE(surfaces[i]->u.legacy.level); ++j) in rvid_join_surfaces()
181 surfaces[i]->u.legacy.level[j].offset += off; in rvid_join_surfaces()
183 off += surfaces[i]->surf_size; in rvid_join_surfaces()