• Home
  • Raw
  • Download

Lines Matching refs:bpe

857    tileb = 8 * 8 * surf->bpe;  in cik_get_macro_tile_index()
870 unsigned bpe = surf->bpe; in get_display_flag() local
888 (bpe >= 4 && bpe <= 8 && num_channels == 4) || in get_display_flag()
890 (bpe == 2 && num_channels >= 3) || in get_display_flag()
892 (bpe == 1 && num_channels == 1)) in get_display_flag()
1079 switch (surf->bpe) { in gfx6_compute_surface()
1090 AddrDccIn.bpp = AddrSurfInfoIn.bpp = surf->bpe * 8; in gfx6_compute_surface()
1197 if (surf->bpe == 2) in gfx6_compute_surface()
1202 if (surf->bpe == 1) in gfx6_compute_surface()
1204 else if (surf->bpe == 2) in gfx6_compute_surface()
1206 else if (surf->bpe == 4) in gfx6_compute_surface()
1385 const unsigned total_pixels = surf->surf_size / surf->bpe; in gfx6_compute_surface()
1599 if (surf->bpe != 4) in is_dcc_supported_by_DCN()
1770 surf->u.gfx9.surf_pitch = align(surf->u.gfx9.surf_pitch / surf->blk_w, 256 / surf->bpe); in gfx9_compute_miptree()
1780 surf->u.gfx9.surf_pitch * out.height * surf->bpe * surf->blk_w); in gfx9_compute_miptree()
1785 int alignment = 256 / surf->bpe; in gfx9_compute_miptree()
2149 switch (surf->bpe) { in gfx9_compute_surface()
2160 switch (surf->bpe) { in gfx9_compute_surface()
2188 AddrSurfInfoIn.bpp = surf->bpe * 8; in gfx9_compute_surface()
2373 surf->bpe * 8, &displayable); in gfx9_compute_surface()
2412 AddrSurfInfoIn.flags.display && surf->bpe == 4) { in gfx9_compute_surface()
2866 return 256 / surf->bpe; in ac_surface_get_gfx9_pitch_align()
2871 unsigned bpe_shift = util_logbase2(surf->bpe) / 2; in ac_surface_get_gfx9_pitch_align()
2915 surf->u.gfx9.surf_slice_size = (uint64_t)pitch * surf->u.gfx9.surf_height * surf->bpe; in ac_surface_override_offset_stride()
2929 ((uint64_t)pitch * surf->u.legacy.level[0].nblk_y * surf->bpe) / 4; in ac_surface_override_offset_stride()
2997 return (surf->is_linear ? surf->u.gfx9.pitch[level] : surf->u.gfx9.surf_pitch) * surf->bpe; in ac_surface_get_plane_stride()
2999 return surf->u.legacy.level[level].nblk_x * surf->bpe; in ac_surface_get_plane_stride()
3038 surf->blk_w, surf->blk_h, surf->bpe, surf->flags); in ac_surface_print_info()
3079 surf->blk_h, surf->bpe, surf->flags); in ac_surface_print_info()
3248 unsigned bpe, struct gfx9_meta_equation *equation, in ac_nir_dcc_addr_from_coord() argument
3255 unsigned bpp_log2 = util_logbase2(bpe); in ac_nir_dcc_addr_from_coord()