freedreno: rebind_resource() *before* bo changes
authorRob Clark <robdclark@chromium.org>
Fri, 24 Apr 2020 22:10:49 +0000 (15:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 00:08:57 +0000 (00:08 +0000)
commitca05e6b04d2f96a3de09d6940bea8edb5c852dad
tree0cf261ca3c5ef04865f0a98d624dae765e8c9cbc
parentd9e56d8a695304a0f2fb109cea6fc46991f98007
freedreno: rebind_resource() *before* bo changes

This will matter in the next patch, where we need the original
rsc->seqno.

It means slight shuffling of where we call rebind_resource() in the
`fd_try_shadow_resource()` path.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4744>
src/gallium/drivers/freedreno/freedreno_resource.c