vc4: Don't allocate new BOs to avoid synchronization when they're shared.
authorEric Anholt <eric@anholt.net>
Wed, 17 May 2017 20:22:39 +0000 (13:22 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 May 2017 21:18:29 +0000 (14:18 -0700)
commite8ea42d245cb6adc7f16ee4e96fd89d905d2163a
tree503621682d5145b2952994ae3b3d19766e9a5f9a
parent50e78cd04f6b40c4cf02774861380d843b00ebb9
vc4: Don't allocate new BOs to avoid synchronization when they're shared.

If X11 did a software fallback to the entire screen, we would throw out
the BO the screen is scanning out from and allocate a new one.

Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/vc4/vc4_resource.c