freedreno: Always attach bo to submit
authorRob Clark <robdclark@chromium.org>
Sun, 12 Nov 2023 19:08:28 +0000 (11:08 -0800)
committerEric Engestrom <eric@engestrom.ch>
Mon, 13 Nov 2023 20:05:01 +0000 (20:05 +0000)
commit3902e9302da061e8baadc8b3a3a38b30d6c20475
treea2496151e6d017730abc8860efd245dec715f250
parent12ab5dfd520e92fb5eba343973e0fb1e4ca618ee
freedreno: Always attach bo to submit

Even if app triggers undefined behaviour by using a rsc on multiple
contexts without a flush, we still should attach the bo to the batch.

Fixes: b43e5aec0d2c ("freedreno/batch: Move submit bo tracking to batch")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26162>
(cherry picked from commit 4807c1e173e8aef4cba7ba60e6ed38248cb4d7a9)
.pick_status.json
src/gallium/drivers/freedreno/freedreno_batch.c