| /third_party/mesa3d/src/amd/common/ |
| D | ac_surface_modifier_test.c | 18 #include "addrlib/inc/addrinterface.h" 69 gfx9_get_addr_from_coord_base(ADDR_HANDLE addrlib, const struct radeon_surf *surf, in gfx9_get_addr_from_coord_base() argument 90 ADDR_E_RETURNCODE ret = Addr2ComputeDccInfo(addrlib, &din, &dout); in gfx9_get_addr_from_coord_base() 118 ADDR_HANDLE addrlib = ac_addrlib_get_handle(ac_addrlib); in gfx9_generate_hash() local 145 dcc_input = gfx9_get_addr_from_coord_base(addrlib, surf, entry->w, in gfx9_generate_hash() 153 display_dcc_input = gfx9_get_addr_from_coord_base(addrlib, surf, entry->w, in gfx9_generate_hash() 169 ADDR_E_RETURNCODE ret = Addr2ComputeSurfaceAddrFromCoord(addrlib, &input, &output); in gfx9_generate_hash() 181 ret = Addr2ComputeDccAddrFromCoord(addrlib, &dcc_input, &dcc_output); in gfx9_generate_hash() 194 ret = Addr2ComputeDccAddrFromCoord(addrlib, &display_dcc_input, &dcc_output); in gfx9_generate_hash() 208 ADDR_HANDLE addrlib = ac_addrlib_get_handle(ac_addrlib); in gfx12_generate_hash() local [all …]
|
| D | ac_surface_meta_address_test.c | 26 #include "addrlib/inc/addrinterface.h" 32 * functions match addrlib behavior. 176 static bool one_dcc_address_test(const char *name, const char *test, ADDR_HANDLE addrlib, in one_dcc_address_test() argument 201 in.numMipLevels = din.numMipLevels = 1; /* addrlib can't do DccAddrFromCoord with mipmapping */ in one_dcc_address_test() 207 int ret = Addr2ComputeDccInfo(addrlib, &din, &dout); in one_dcc_address_test() 226 ret = Addr2ComputePipeBankXor(addrlib, &xin, &xout); in one_dcc_address_test() 246 /* The bit array is smaller in gfx9_meta_equation than in addrlib. */ in one_dcc_address_test() 261 int r = Addr2ComputeDccAddrFromCoord(addrlib, &in, &out); in one_dcc_address_test() 263 printf("%s addrlib error: %s\n", name, test); in one_dcc_address_test() 342 ADDR_HANDLE addrlib = ac_addrlib_get_handle(ac_addrlib); in run_dcc_address_test() local [all …]
|
| D | ac_surface.c | 13 #include "addrlib/inc/addrinterface.h" 14 #include "addrlib/src/amdgpu_asic_addr.h" 664 struct ac_addrlib *addrlib = calloc(1, sizeof(struct ac_addrlib)); in ac_addrlib_create() local 665 if (!addrlib) { in ac_addrlib_create() 670 addrlib->handle = addrCreateOutput.hLib; in ac_addrlib_create() 671 simple_mtx_init(&addrlib->lock, mtx_plain); in ac_addrlib_create() 672 return addrlib; in ac_addrlib_create() 675 void ac_addrlib_destroy(struct ac_addrlib *addrlib) in ac_addrlib_destroy() argument 677 simple_mtx_destroy(&addrlib->lock); in ac_addrlib_destroy() 678 AddrDestroy(addrlib->handle); in ac_addrlib_destroy() [all …]
|
| D | ac_surface.h | 74 /* Block compressed + linear format is not supported in addrlib. These surface can be 141 /* Same as addrlib - AddrResourceType. */ 371 /* DRM format modifier. Set to DRM_FORMAT_MOD_INVALID to have addrlib 444 void ac_addrlib_destroy(struct ac_addrlib *addrlib); 445 void *ac_addrlib_get_handle(struct ac_addrlib *addrlib); 447 int ac_compute_surface(struct ac_addrlib *addrlib, const struct radeon_info *info, 503 uint64_t ac_surface_addr_from_coord(struct ac_addrlib *addrlib, const struct radeon_info *info, 507 void ac_surface_compute_nbc_view(struct ac_addrlib *addrlib, const struct radeon_info *info,
|
| D | amd_family.c | 8 #include "addrlib/src/amdgpu_asic_addr.h"
|
| /third_party/mesa3d/src/amd/addrlib/ |
| D | meson.build | 11 'src/core/addrlib.cpp', 12 'src/core/addrlib.h', 50 # Skip the addrlib definition of ADDR_FASTCALL so as not to use regparm. 72 'addrlib',
|
| /third_party/mesa3d/docs/relnotes/ |
| D | 20.1.2.rst | 103 - amd/addrlib: don't recompute DCC info for every ComputeDccAddrFromCoord call 104 - amd/addrlib: remove unused members of ADDR2_COMPUTE_DCC_ADDRFROMCOORD_INPUT
|
| D | 19.3.1.rst | 45 - amd/common: Always use addrlib for HTILE tc-compat.
|
| D | 19.2.8.rst | 45 - amd/common: Always use addrlib for HTILE tc-compat.
|
| D | 18.1.1.rst | 46 - amd/addrlib: Use defines in autotools build.
|
| D | 17.1.1.rst | 108 - amd/addrlib: import Raven support
|
| D | 18.0.5.rst | 66 - amd/addrlib: Use defines in autotools build.
|
| D | 17.2.2.rst | 142 - amd/addrlib: fix missing va_end() after va_copy()
|
| D | 21.1.4.rst | 141 - amd/addrlib: remove Meson debug message()
|
| D | 13.0.1.rst | 77 - amd/addrlib: limit fastcall/regparm to GCC i386
|
| D | 20.2.3.rst | 174 - amd/addrlib: Add missing va_end.
|
| D | 19.1.3.rst | 62 - radv: Handle cmask being disallowed by addrlib.
|
| D | 24.2.5.rst | 71 - amd: Pass addrlib cpp args to the tests
|
| /third_party/mesa3d/src/amd/addrlib/src/core/ |
| D | addrlib.cpp | 11 * @file addrlib.cpp 17 #include "addrlib.h" 78 * Constructor for the AddrLib class 104 * Constructor for the AddrLib class with hClient as parameter 128 * Lib::~AddrLib 131 * Destructor for the AddrLib class 154 * Creates and initializes AddrLib object. 368 * Get AddrLib pointer 371 * An AddrLib class pointer
|
| D | addrelemlib.h | 222 /// Sets m_configFlags, copied from AddrLib 255 ConfigFlags m_configFlags; ///< Copy of AddrLib's configFlags 256 Addr::Lib* const m_pAddrLib; ///< Pointer to parent addrlib instance
|
| D | addrlib.h | 11 * @file addrlib.h 305 /// Returns which version of addrlib functions should be used. 308 /// Returns AddrLib version (from compiled binary instead include file) 314 /// Returns asic chip family name defined by AddrLib 452 /// AddrLib instead of Client except forceLinearAligned
|
| /third_party/mesa3d/src/amd/ |
| D | meson.build | 7 subdir('addrlib') subdir
|
| /third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
| D | amdgpu_winsys.c | 42 aws->addrlib = ac_addrlib_create(&aws->info, &aws->info.max_alignment); in do_winsys_init() 43 if (!aws->addrlib) { in do_winsys_init() 44 fprintf(stderr, "amdgpu: Cannot create addrlib.\n"); in do_winsys_init() 104 ac_addrlib_destroy(aws->addrlib); in do_winsys_deinit()
|
| D | amdgpu_surface.c | 91 return ac_compute_surface(aws->addrlib, info, &config, mode, surf); in amdgpu_surface_init()
|
| /third_party/mesa3d/src/amd/addrlib/src/ |
| D | addrinterface.cpp | 12 * @brief Contains the addrlib interface functions 524 ADDR_HANDLE hLib, ///< handle of addrlib in AddrComputeDccInfo() 555 * Get AddrLib version number. Client may check this return value against ADDRLIB_VERSION 581 * Get AddrLib interface version number. Client may use this to know what AddrN functions to 663 ADDR_HANDLE hLib, ///< addrlib handle in AddrExtractBankPipeSwizzle() 793 ADDR_HANDLE hLib, ///< addrlib handle in ElemFlt32ToDepthPixel() 827 ADDR_HANDLE hLib, ///< addrlib handle in ElemFlt32ToColorPixel() 861 ADDR_HANDLE hLib, ///< addrlib handle in ElemGetExportNorm() 1688 ADDR_HANDLE hLib, ///< handle of addrlib in Addr2ComputeDccInfo() 1751 ADDR_HANDLE hLib, ///< handle of addrlib in Addr2ComputePipeBankXor() [all …]
|