Searched refs:levelinfo (Results 1 – 2 of 2) sorted by relevance
2577 struct legacy_surf_level *levelinfo = &rtex->surface.u.legacy.level[level]; in si_init_depth_surface() local2579 assert(levelinfo->nblk_x % 8 == 0 && levelinfo->nblk_y % 8 == 0); in si_init_depth_surface()2616 surf->db_depth_size = S_028058_PITCH_TILE_MAX((levelinfo->nblk_x / 8) - 1) | in si_init_depth_surface()2617 S_028058_HEIGHT_TILE_MAX((levelinfo->nblk_y / 8) - 1); in si_init_depth_surface()2618 surf->db_depth_slice = S_02805C_SLICE_TILE_MAX((levelinfo->nblk_x * in si_init_depth_surface()2619 levelinfo->nblk_y) / 64 - 1); in si_init_depth_surface()
1342 struct legacy_surf_level *levelinfo = &rtex->surface.u.legacy.level[level]; in evergreen_init_depth_surface() local1386 assert(levelinfo->nblk_x % 8 == 0 && levelinfo->nblk_y % 8 == 0); in evergreen_init_depth_surface()1391 surf->db_depth_size = S_028058_PITCH_TILE_MAX(levelinfo->nblk_x / 8 - 1) | in evergreen_init_depth_surface()1392 S_028058_HEIGHT_TILE_MAX(levelinfo->nblk_y / 8 - 1); in evergreen_init_depth_surface()1393 surf->db_depth_slice = S_02805C_SLICE_TILE_MAX(levelinfo->nblk_x * in evergreen_init_depth_surface()1394 levelinfo->nblk_y / 64 - 1); in evergreen_init_depth_surface()