mesa/src/amd
Yiwei Zhang c8e90a022e radv: fix AHB leak upon exportable allocation
A successful AHardwareBuffer_allocate itself will increase a refcount on
the newly allocated AHB. For the import case, the implementation must
acquire a reference on the AHB. So if we layer the exportable allocation
on top of AHB allocation and AHB import, we must release an AHB
reference to avoid leak.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10940>
2021-05-25 06:31:25 +00:00
..
addrlib amd: add Beige Goby support 2021-05-24 17:41:34 +00:00
ci radv/ci: Test on Stoney on CI 2021-05-24 07:44:00 +02:00
common amd: add Beige Goby support 2021-05-24 17:41:34 +00:00
compiler aco: remove condition operand from branch in invert block 2021-05-20 17:44:20 +00:00
llvm amd: add Beige Goby support 2021-05-24 17:41:34 +00:00
registers amd/registers: rename IMG_FORMAT to GFX10_FORMAT to disambiguate the meaning 2021-04-17 02:37:49 +00:00
vulkan radv: fix AHB leak upon exportable allocation 2021-05-25 06:31:25 +00:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
Android.addrlib.mk android: amd/addrlib: define endianess to build 2021-03-27 01:54:49 +01:00
Android.common.mk android: amd/common: add nir include path 2021-04-26 23:14:56 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources ac: move ac_lower_indirect_derefs() outside of the LLVM dir 2021-04-23 11:52:01 +02:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00