• Home
  • Raw
  • Download

Lines Matching refs:util_logbase2

695 …surf->meta_alignment_log2 = MAX2(surf->meta_alignment_log2, util_logbase2(AddrDccOut->dccRamBaseAl…  in gfx6_compute_level()
773 surf->meta_alignment_log2 = util_logbase2(AddrHtileOut->baseAlign); in gfx6_compute_level()
846 surf->surf_alignment_log2 = util_logbase2(csio->baseAlign); in gfx6_surface_settings()
947 surf->cmask_alignment_log2 = util_logbase2(MAX2(256, base_align)); in ac_compute_cmask()
1265 surf->fmask_alignment_log2 = util_logbase2(fout.baseAlign); in gfx6_compute_surface()
1666 surf->surf_alignment_log2 = MAX2(surf->surf_alignment_log2, util_logbase2(out.baseAlign)); in gfx9_compute_miptree()
1687 surf->surf_alignment_log2 = util_logbase2(out.baseAlign); in gfx9_compute_miptree()
1750 surf->meta_alignment_log2 = util_logbase2(hout.baseAlign); in gfx9_compute_miptree()
1845 surf->meta_alignment_log2 = util_logbase2(dout.dccRamBaseAlign); in gfx9_compute_miptree()
1918 surf->u.gfx9.color.display_dcc_alignment_log2 = util_logbase2(dout.dccRamBaseAlign); in gfx9_compute_miptree()
1953 surf->fmask_alignment_log2 = util_logbase2(fout.baseAlign); in gfx9_compute_miptree()
2018 surf->cmask_alignment_log2 = util_logbase2(cout.baseAlign); in gfx9_compute_miptree()
2584 *tiling_flags |= AMDGPU_TILING_SET(BANK_WIDTH, util_logbase2(surf->u.legacy.bankw)); in ac_surface_get_bo_metadata()
2585 *tiling_flags |= AMDGPU_TILING_SET(BANK_HEIGHT, util_logbase2(surf->u.legacy.bankh)); in ac_surface_get_bo_metadata()
2589 *tiling_flags |= AMDGPU_TILING_SET(MACRO_TILE_ASPECT, util_logbase2(surf->u.legacy.mtilea)); in ac_surface_get_bo_metadata()
2590 *tiling_flags |= AMDGPU_TILING_SET(NUM_BANKS, util_logbase2(surf->u.legacy.num_banks) - 1); in ac_surface_get_bo_metadata()
2638 unsigned log_samples = util_logbase2(MAX2(1, num_storage_samples)); in ac_surface_set_umd_metadata()
2762 unsigned bpe_shift = util_logbase2(surf->bpe) / 2; in ac_surface_get_gfx9_pitch_align()
3026 unsigned meta_block_width_log2 = util_logbase2(equation->meta_block_width); in gfx10_nir_meta_addr_from_coord()
3027 unsigned meta_block_height_log2 = util_logbase2(equation->meta_block_height); in gfx10_nir_meta_addr_from_coord()
3081 unsigned meta_block_width_log2 = util_logbase2(equation->meta_block_width); in gfx9_nir_meta_addr_from_coord()
3082 unsigned meta_block_height_log2 = util_logbase2(equation->meta_block_height); in gfx9_nir_meta_addr_from_coord()
3083 unsigned meta_block_depth_log2 = util_logbase2(equation->meta_block_depth); in gfx9_nir_meta_addr_from_coord()
3145 unsigned bpp_log2 = util_logbase2(bpe); in ac_nir_dcc_addr_from_coord()