radv: Only enable sparse features on Polaris and newer.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 21 Jan 2021 07:46:17 +0000 (08:46 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 Jan 2021 16:56:35 +0000 (16:56 +0000)
commit3c03fa5801ceccd2f9e408cc42f1dfad57b234d9
tree5f2ad8e7e55df9da9f023c11d773923f5f25beac
parentf01ea0aef8a50d2732eb0c64153903e52ed2a757
radv: Only enable sparse features on Polaris and newer.

On Fiji, the CTS image can cause a hang when these are enabled.
Let's enable them for Polaris and newer only, for now.

Gitlab: #4136
Fixes: 9f43b44bf06c61735dbab7e8e508642315bd93d1
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8646>
src/amd/vulkan/radv_device.c