turnip: Detect Qualcomm gralloc and its UBWC flag on gralloc surfaces.
authorEric Anholt <eric@anholt.net>
Mon, 5 Oct 2020 21:54:52 +0000 (14:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Oct 2020 21:04:01 +0000 (21:04 +0000)
commit5a595cd3af15b99d266d3fd5cba41da33f1888ac
tree7a850526dff8ce6f1b7a9fcfa71b834034bbe3ef
parent9a14e747525e14515876ef01a86c1992977555d8
turnip: Detect Qualcomm gralloc and its UBWC flag on gralloc surfaces.

And document where to find information on qcom gralloc's private handle
layout.  I chose not to #include the gralloc_priv because it seems that
there's not much we need yet, and I'm hoping we can avoid the build-time
dependency on the specific platform.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7015>
src/freedreno/vulkan/tu_android.c