anv/android: remove numFds check
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 8 Dec 2022 15:05:12 +0000 (16:05 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 24 Aug 2023 11:07:12 +0000 (11:07 +0000)
commit143d417fcc11b9d26ab8ba3d0374d5ef58cf3c5c
treed6b083b2ff9adec4b27782df22954d2d07a6e229
parent6a4e9b55e4ada27064390485ee9043d4a5ac115e
anv/android: remove numFds check

Change required for compatibility with minigbm gralloc4
due to gralloc handle having DRV_MAX_FDS = (DRV_MAX_PLANES + 1)

https://android.googlesource.com/platform/external/minigbm/+/refs/tags/android-13.0.0_r18/cros_gralloc/cros_gralloc_handle.h#14

Cc: "22.2" "22.3" mesa-stable
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20231>
src/intel/vulkan/anv_android.c