panfrost: Enable AFBC on depth/stencil
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 10 Jun 2019 15:04:10 +0000 (08:04 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 11 Jun 2019 15:46:43 +0000 (08:46 -0700)
commit7d43999e6365520a3c5b1e45a61b1590e4cb18a3
treee6237c2df40a58de7ec0a928f18dbba032057e8a
parent15f62b8e7c7b92c8cd5ad9020b2bb81ee197f4e5
panfrost: Enable AFBC on depth/stencil

This seems to be a performance win, but more rigorous testing is
necessary to figure out the exact circumstances when this is good/bad.
Incidentally, this fixes non-aligned ZS.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_afbc.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_resource.c