radv: null bo list pointer for null descriptors on update
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 3 Feb 2021 00:59:12 +0000 (19:59 -0500)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sat, 6 Feb 2021 02:02:17 +0000 (21:02 -0500)
commit2f534c2e2ee97b89c43f155c0e2f9efe5a3dffac
treea495320415cb6e4a38119293f0709494f085d1c1
parent021bc4f868308630df6f8311db3932046219d086
radv: null bo list pointer for null descriptors on update

failing to unset any existing pointers here leads to stale bo entries in
the list and then the kernel rejecting the cmdbuf with ENOENT

Fixes: 126d5adb11e ("radv: Use host memory pool for non-freeable descriptors.")

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8840>
src/amd/vulkan/radv_descriptor_set.c