Lines Matching refs:addrlib
248 static int gfx6_compute_level(ADDR_HANDLE addrlib, in gfx6_compute_level() argument
298 ret = AddrComputeSurfaceInfo(addrlib, in gfx6_compute_level()
344 ret = AddrComputeDccInfo(addrlib, in gfx6_compute_level()
372 ret = AddrComputeHtileInfo(addrlib, in gfx6_compute_level()
420 static int gfx6_surface_settings(ADDR_HANDLE addrlib, in gfx6_surface_settings() argument
461 int r = AddrComputeBaseSwizzle(addrlib, &AddrBaseSwizzleIn, in gfx6_surface_settings()
479 static int gfx6_compute_surface(ADDR_HANDLE addrlib, in gfx6_compute_surface() argument
698 r = gfx6_compute_level(addrlib, config, surf, false, level, compressed, in gfx6_compute_surface()
727 r = gfx6_surface_settings(addrlib, info, config, in gfx6_compute_surface()
745 r = gfx6_compute_level(addrlib, config, surf, true, level, compressed, in gfx6_compute_surface()
764 r = gfx6_surface_settings(addrlib, info, config, in gfx6_compute_surface()
811 gfx9_get_preferred_swizzle_mode(ADDR_HANDLE addrlib, in gfx9_get_preferred_swizzle_mode() argument
843 ret = Addr2GetPreferredSurfaceSetting(addrlib, &sin, &sout); in gfx9_get_preferred_swizzle_mode()
851 static int gfx9_compute_miptree(ADDR_HANDLE addrlib, in gfx9_compute_miptree() argument
862 ret = Addr2ComputeSurfaceInfo(addrlib, in, &out); in gfx9_compute_miptree()
916 ret = Addr2ComputeHtileInfo(addrlib, &hin, &hout); in gfx9_compute_miptree()
951 ret = Addr2ComputeDccInfo(addrlib, &din, &dout); in gfx9_compute_miptree()
1003 ret = gfx9_get_preferred_swizzle_mode(addrlib, in, true, &fin.swizzleMode); in gfx9_compute_miptree()
1013 ret = Addr2ComputeFmaskInfo(addrlib, &fin, &fout); in gfx9_compute_miptree()
1044 ret = Addr2ComputeCmaskInfo(addrlib, &cin, &cout); in gfx9_compute_miptree()
1058 static int gfx9_compute_surface(ADDR_HANDLE addrlib, in gfx9_compute_surface() argument
1134 r = gfx9_get_preferred_swizzle_mode(addrlib, &AddrSurfInfoIn, false, in gfx9_compute_surface()
1158 r = gfx9_compute_miptree(addrlib, surf, compressed, &AddrSurfInfoIn); in gfx9_compute_surface()
1168 r = gfx9_get_preferred_swizzle_mode(addrlib, &AddrSurfInfoIn, false, in gfx9_compute_surface()
1175 r = gfx9_compute_miptree(addrlib, surf, compressed, &AddrSurfInfoIn); in gfx9_compute_surface()
1184 r = Addr2IsValidDisplaySwizzleMode(addrlib, surf->u.gfx9.surf.swizzle_mode, in gfx9_compute_surface()
1246 int ac_compute_surface(ADDR_HANDLE addrlib, const struct radeon_info *info, in ac_compute_surface() argument
1258 return gfx9_compute_surface(addrlib, config, mode, surf); in ac_compute_surface()
1260 return gfx6_compute_surface(addrlib, info, config, mode, surf); in ac_compute_surface()