Home
last modified time | relevance | path

Searched full:addrlib (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/mesa3d/src/amd/common/
Dac_surface_modifier_test.c18 #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 …]
Dac_surface_meta_address_test.c26 #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 …]
Dac_surface.c13 #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 …]
Dac_surface.h74 /* 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,
Damd_family.c8 #include "addrlib/src/amdgpu_asic_addr.h"
/third_party/mesa3d/src/amd/addrlib/
Dmeson.build11 '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/
D20.1.2.rst103 - amd/addrlib: don't recompute DCC info for every ComputeDccAddrFromCoord call
104 - amd/addrlib: remove unused members of ADDR2_COMPUTE_DCC_ADDRFROMCOORD_INPUT
D19.3.1.rst45 - amd/common: Always use addrlib for HTILE tc-compat.
D19.2.8.rst45 - amd/common: Always use addrlib for HTILE tc-compat.
D18.1.1.rst46 - amd/addrlib: Use defines in autotools build.
D17.1.1.rst108 - amd/addrlib: import Raven support
D18.0.5.rst66 - amd/addrlib: Use defines in autotools build.
D17.2.2.rst142 - amd/addrlib: fix missing va_end() after va_copy()
D21.1.4.rst141 - amd/addrlib: remove Meson debug message()
D13.0.1.rst77 - amd/addrlib: limit fastcall/regparm to GCC i386
D20.2.3.rst174 - amd/addrlib: Add missing va_end.
D19.1.3.rst62 - radv: Handle cmask being disallowed by addrlib.
D24.2.5.rst71 - amd: Pass addrlib cpp args to the tests
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib.cpp11 * @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
Daddrelemlib.h222 /// 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
Daddrlib.h11 * @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/
Dmeson.build7 subdir('addrlib') subdir
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c42 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()
Damdgpu_surface.c91 return ac_compute_surface(aws->addrlib, info, &config, mode, surf); in amdgpu_surface_init()
/third_party/mesa3d/src/amd/addrlib/src/
Daddrinterface.cpp12 * @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 …]

1234