i965: Replace bool aux disable with enum
authorBen Widawsky <ben@bwidawsk.net>
Sun, 18 Dec 2016 18:31:25 +0000 (10:31 -0800)
committerBen Widawsky <ben@bwidawsk.net>
Mon, 2 Jan 2017 18:35:13 +0000 (10:35 -0800)
commitd0b6a949f817851140df21783d6de7f6d5db3c56
tree016c35bb8338bd782e1777ff02e976ed83172c6a
parent3f5fba8a7be61bfc0f46a5ea058108f6e0e1c268
i965: Replace bool aux disable with enum

As CCS buffers are passed to KMS, it becomes useful to be able to
determine exactly what type of aux buffers are disabled. This was
previously not entirely needed (though the code was a little more
confusing), however it becomes very desirable after a recent patch from
Chad:

commit 1c8be049bea786c2c054a770025976beba5b8636
Author: Chad Versace <chadversary@chromium.org>
Date:   Fri Dec 9 16:18:11 2016 -0800

    i965/mt: Disable aux surfaces after making miptree shareable

The next patch will handle CCS and get rid of no_ccs.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h