freedreno: limit tiling to PIPE_BIND_SAMPLER_VIEW
authorRob Clark <robdclark@gmail.com>
Fri, 25 Jan 2019 14:03:51 +0000 (09:03 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 25 Jan 2019 15:20:05 +0000 (10:20 -0500)
commit4aa64940c63408b7dc641e9d2756ac4c3f512676
treec474b757244e43d8af43039ea47c6c1994f08cea
parent378e2d241430f7d653717b9270c8b48417dcf12e
freedreno: limit tiling to PIPE_BIND_SAMPLER_VIEW

1ce5d757d04 dropped this limit.. which is probably the right thing to
do.  But it results in an extra tiled->linear blit for glReadPixels()
(ie. dEQP/piglit) which is hitting some intermittent corruption (looks
like cache) on a6xx, causing a lot of spurious fails.

Since we are getting close to 19.0 branchpoint, re-instate this limit
for now, until the blitter problems are resolved.

Fixes: 1ce5d757d04 freedreno: core buffer modifier support
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_resource.c