radeonsi: Add displayable DCC flushing without explicit flushes

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 13 November 2020 03:27 UTC

Flushes non-explicit shared textures that need retiling on

- glFlush
- glSync
- glSignalSemaphoreEXT
- DRI fences.
- The first time we create a non-explicit handle for it.

d4f7962d48b radeonsi: Add displayable DCC flushing without explicit flushes.
src/gallium/drivers/radeonsi/si_blit.c | 9 +++++++++
src/gallium/drivers/radeonsi/si_fence.c | 25 +++++++++++++++++++------
src/gallium/drivers/radeonsi/si_pipe.c | 14 ++++++++++++++
src/gallium/drivers/radeonsi/si_pipe.h | 7 +++++++
src/gallium/drivers/radeonsi/si_state.c | 10 +++++++++-
src/gallium/drivers/radeonsi/si_texture.c | 6 +++---
6 files changed, 61 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share