i965/mt: Disable aux surfaces after making miptree shareable
authorChad Versace <chadversary@chromium.org>
Sat, 10 Dec 2016 00:18:11 +0000 (16:18 -0800)
committerChad Versace <chadversary@chromium.org>
Sat, 10 Dec 2016 16:05:11 +0000 (08:05 -0800)
commit1c8be049bea786c2c054a770025976beba5b8636
treea477c947ed3ecb84a1e663c1ceda7b60c807ab4d
parentda1c49171d0df185545cfbbd600e287f7c6160fa
i965/mt: Disable aux surfaces after making miptree shareable

The entire goal of intel_miptree_make_shareable() is to permanently
disable the miptree's aux surfaces. So set
intel_mipmap_tree:disable_aux_buffers after the function's done with
discarding down the aux surfaces.

References: https://bugs.freedesktop.org/show_bug.cgi?id=98329
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: Nanley Chery <nanley.g.chery@intel.com
Cc: Haixia Shi <hshi@chromium.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/intel_mipmap_tree.c