mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-12 16:08:19 +02:00
CP DMA and PKT3_WRITE_DATA (in CmdUpdateBuffer) don't (currently) write
through L2. Therefore, to make these writes visible to later accesses
we must invalidate L2 rather than just writing it back, to avoid the
possibility that stale data is read through L2.
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
[Bas: patch is a backport for 17.0 of the cherry-pick below]
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| addrlib | ||
| common | ||
| vulkan | ||
| Android.addrlib.mk | ||
| Android.common.mk | ||
| Android.mk | ||
| Makefile.addrlib.am | ||
| Makefile.am | ||
| Makefile.common.am | ||
| Makefile.sources | ||