Lines Matching refs:phys_level0_sa
614 const struct isl_extent4d *phys_level0_sa) in isl_choose_array_pitch_span() argument
646 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
695 assert(phys_level0_sa->array_len == 1); in isl_choose_array_pitch_span()
699 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
860 struct isl_extent4d *phys_level0_sa) in isl_calc_phys_level0_extent_sa() argument
880 *phys_level0_sa = (struct isl_extent4d) { in isl_calc_phys_level0_extent_sa()
905 *phys_level0_sa = (struct isl_extent4d) { in isl_calc_phys_level0_extent_sa()
919 *phys_level0_sa = (struct isl_extent4d) { in isl_calc_phys_level0_extent_sa()
932 *phys_level0_sa = (struct isl_extent4d) { in isl_calc_phys_level0_extent_sa()
940 &phys_level0_sa->w, in isl_calc_phys_level0_extent_sa()
941 &phys_level0_sa->h); in isl_calc_phys_level0_extent_sa()
963 *phys_level0_sa = (struct isl_extent4d) { in isl_calc_phys_level0_extent_sa()
973 *phys_level0_sa = (struct isl_extent4d) { in isl_calc_phys_level0_extent_sa()
995 const struct isl_extent4d *phys_level0_sa, in isl_calc_array_pitch_el_rows_gen4_2d() argument
1011 uint32_t H0_sa = phys_level0_sa->h; in isl_calc_array_pitch_el_rows_gen4_2d()
1100 const struct isl_extent4d *phys_level0_sa, in isl_calc_phys_slice0_extent_sa_gen4_2d() argument
1103 assert(phys_level0_sa->depth == 1); in isl_calc_phys_slice0_extent_sa_gen4_2d()
1121 .w = phys_level0_sa->w, in isl_calc_phys_slice0_extent_sa_gen4_2d()
1122 .h = phys_level0_sa->h, in isl_calc_phys_slice0_extent_sa_gen4_2d()
1132 uint32_t W0 = phys_level0_sa->w; in isl_calc_phys_slice0_extent_sa_gen4_2d()
1133 uint32_t H0 = phys_level0_sa->h; in isl_calc_phys_slice0_extent_sa_gen4_2d()
1170 const struct isl_extent4d *phys_level0_sa, in isl_calc_phys_total_extent_el_gen4_2d() argument
1179 image_align_sa, phys_level0_sa, in isl_calc_phys_total_extent_el_gen4_2d()
1183 image_align_sa, phys_level0_sa, in isl_calc_phys_total_extent_el_gen4_2d()
1188 .h = *array_pitch_el_rows * (phys_level0_sa->array_len - 1) + in isl_calc_phys_total_extent_el_gen4_2d()
1202 const struct isl_extent4d *phys_level0_sa, in isl_calc_phys_total_extent_el_gen4_3d() argument
1220 assert(phys_level0_sa->array_len == 6); in isl_calc_phys_total_extent_el_gen4_3d()
1222 assert(phys_level0_sa->array_len == 1); in isl_calc_phys_total_extent_el_gen4_3d()
1228 uint32_t W0 = phys_level0_sa->w; in isl_calc_phys_total_extent_el_gen4_3d()
1229 uint32_t H0 = phys_level0_sa->h; in isl_calc_phys_total_extent_el_gen4_3d()
1230 uint32_t D0 = phys_level0_sa->d; in isl_calc_phys_total_extent_el_gen4_3d()
1231 uint32_t A0 = phys_level0_sa->a; in isl_calc_phys_total_extent_el_gen4_3d()
1250 isl_align_npot(phys_level0_sa->h, image_align_sa->h) / fmtl->bw; in isl_calc_phys_total_extent_el_gen4_3d()
1267 const struct isl_extent4d *phys_level0_sa, in isl_calc_phys_total_extent_el_gen6_stencil_hiz() argument
1281 const uint32_t W0 = phys_level0_sa->w; in isl_calc_phys_total_extent_el_gen6_stencil_hiz()
1282 const uint32_t H0 = phys_level0_sa->h; in isl_calc_phys_total_extent_el_gen6_stencil_hiz()
1287 const uint32_t H = isl_align(H0, image_align_sa->h) * phys_level0_sa->a; in isl_calc_phys_total_extent_el_gen6_stencil_hiz()
1327 const struct isl_extent4d *phys_level0_sa, in isl_calc_phys_total_extent_el_gen9_1d() argument
1333 assert(phys_level0_sa->height == 1); in isl_calc_phys_total_extent_el_gen9_1d()
1334 assert(phys_level0_sa->depth == 1); in isl_calc_phys_total_extent_el_gen9_1d()
1339 const uint32_t W0 = phys_level0_sa->w; in isl_calc_phys_total_extent_el_gen9_1d()
1351 .h = phys_level0_sa->array_len, in isl_calc_phys_total_extent_el_gen9_1d()
1366 const struct isl_extent4d *phys_level0_sa, in isl_calc_phys_total_extent_el() argument
1375 image_align_sa, phys_level0_sa, in isl_calc_phys_total_extent_el()
1381 image_align_sa, phys_level0_sa, in isl_calc_phys_total_extent_el()
1390 phys_level0_sa, in isl_calc_phys_total_extent_el()
1397 image_align_sa, phys_level0_sa, in isl_calc_phys_total_extent_el()
1643 struct isl_extent4d phys_level0_sa; in isl_surf_init_s() local
1645 &phys_level0_sa); in isl_surf_init_s()
1648 isl_choose_array_pitch_span(dev, info, dim_layout, &phys_level0_sa); in isl_surf_init_s()
1654 &image_align_sa, &phys_level0_sa, in isl_surf_init_s()
1766 .phys_level0_sa = phys_level0_sa, in isl_surf_init_s()
2324 const uint32_t W0 = surf->phys_level0_sa.width; in get_image_offset_sa_gen4_2d()
2325 const uint32_t H0 = surf->phys_level0_sa.height; in get_image_offset_sa_gen4_2d()
2359 assert(surf->phys_level0_sa.array_len == 1); in get_image_offset_sa_gen4_3d()
2360 assert(logical_z_offset_px < isl_minify(surf->phys_level0_sa.depth, level)); in get_image_offset_sa_gen4_3d()
2364 assert(surf->phys_level0_sa.array_len == 6); in get_image_offset_sa_gen4_3d()
2365 assert(logical_z_offset_px < surf->phys_level0_sa.array_len); in get_image_offset_sa_gen4_3d()
2371 const uint32_t W0 = surf->phys_level0_sa.width; in get_image_offset_sa_gen4_3d()
2372 const uint32_t H0 = surf->phys_level0_sa.height; in get_image_offset_sa_gen4_3d()
2373 const uint32_t D0 = surf->phys_level0_sa.depth; in get_image_offset_sa_gen4_3d()
2374 const uint32_t AL = surf->phys_level0_sa.array_len; in get_image_offset_sa_gen4_3d()
2430 const uint32_t W0 = surf->phys_level0_sa.w; in get_image_offset_sa_gen6_stencil_hiz()
2431 const uint32_t H0 = surf->phys_level0_sa.h; in get_image_offset_sa_gen6_stencil_hiz()
2439 if (surf->phys_level0_sa.array_len > 1) in get_image_offset_sa_gen6_stencil_hiz()
2447 const uint32_t h = isl_align(H * surf->phys_level0_sa.a, in get_image_offset_sa_gen6_stencil_hiz()
2474 assert(layer < surf->phys_level0_sa.array_len); in get_image_offset_sa_gen9_1d()
2475 assert(surf->phys_level0_sa.height == 1); in get_image_offset_sa_gen9_1d()
2476 assert(surf->phys_level0_sa.depth == 1); in get_image_offset_sa_gen9_1d()
2479 const uint32_t W0 = surf->phys_level0_sa.width; in get_image_offset_sa_gen9_1d()
2623 const uint32_t subimage_w_sa = isl_minify(surf->phys_level0_sa.w, level); in isl_surf_get_image_range_B_tile()
2624 const uint32_t subimage_h_sa = isl_minify(surf->phys_level0_sa.h, level); in isl_surf_get_image_range_B_tile()