Skip to content

freedreno: Use TC cpu-storage to shadow buffers

Rob Clark requested to merge robclark/mesa:fd/tc-cpu-storage into main

We still use the shadow path for non-buffer updates, where TC isn't playing any tricks. But for correctness we need to use the cpu- storage approach, instead of buffer shadowing, otherwise we can race with the frontend thread for PIPE_MAP_UNSYNCHRONIZED access.

Plus a few other misc cleanups

closes #7262 (closed) supersedes !18733 (closed)

Merge request reports