freedreno/a6xx: UBWC support for images
authorRob Clark <robdclark@chromium.org>
Fri, 3 May 2019 20:39:45 +0000 (13:39 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 4 May 2019 18:50:44 +0000 (11:50 -0700)
commit11583dc65536f274db68cc5c8cb1a0d7007b0201
tree9e3125c18ea624feadbf5601ce4c0ee539dec9a9
parent857d9f3b02c95713d845c54bc6cc1faf877095bb
freedreno/a6xx: UBWC support for images

There are still some fallbacks we'll need to handle before we can enable
UBWC by default.  I think we may need to fallback to uncompressed if
image atomic operations are used.  And we still need to sort out how to
handle image and sampler views of compressed resources if the image/
sampler view is using a format that does not support compression.  (I
think the latter should hopefully be uncommon outside of deqp/piglit.)

But at least this gets us to the point where supertuxkart works properly
with UBWC enabled ;-)

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_image.c
src/gallium/drivers/freedreno/freedreno_resource.c