[Mesa-dev] [PATCH 0/4] ac/surface: fix Stoney bugs by matching stencil tile

Nicolai Hähnle nhaehnle at gmail.com
Fri Sep 8 17:16:06 UTC 2017


Hi all,

This series (the last patch, really) fixes a bunch of related bugs on
Stoney by asking AddrLib to select a depth tiling for which there is
a corresponding stencil tiling. This can lead to TC-compatible HTILE
being deactivated, but it seems Stoney is one of the few (only?) chip
affected, and it should only hurt small surfaces.

On those first three patches: We try not to mess in AddrLib for good
reasons, but I do think we should enable assertions there to help trip
if we do anything stupid. I am trying to get our changes back into the
internal upstream, wish me luck! :)

Please review!

Thanks,
Nicolai
--
 src/amd/addrlib/core/addrcommon.h  | 26 +++++++++-----
 src/amd/addrlib/r800/ciaddrlib.cpp |  2 +-
 src/amd/common/ac_surface.c        | 53 ++++++++++++++++++++++++----
 3 files changed, 65 insertions(+), 16 deletions(-)



More information about the mesa-dev mailing list