iris: Implement the Broadwell NP Z PMA Stall Fix

Graphics / Mesa 3D Graphics Library / Mesa - Kenneth Graunke [whitecape.org] - 9 October 2019 04:53 EDT

This should help avoid stalls in the pixel mask array in certain non-promoted depth cases. It especially helps for Z16, as each bit in the PMA corresponds to two pixels when using Z16, as opposed to the usual one pixel.

Improves performance in GFXBench5 TRex by 22% (n=1).

0b7ecfdda59 iris: Implement the Broadwell NP Z PMA Stall Fix
src/gallium/drivers/iris/iris_blorp.c | 4 +
src/gallium/drivers/iris/iris_context.h | 1 +
src/gallium/drivers/iris/iris_genx_protos.h | 3 +
src/gallium/drivers/iris/iris_program.c | 5 +
src/gallium/drivers/iris/iris_state.c | 198 +++++++++++++++++++++++++++-
5 files changed, 209 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share