iris: handle aux properly in iris_resource_get_handle
authorTapani Pälli <tapani.palli@intel.com>
Fri, 5 Apr 2019 05:55:18 +0000 (08:55 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 5 Apr 2019 06:35:24 +0000 (23:35 -0700)
commit361f3d19f1fe09852900369ea7c4e9d8d5df4be3
tree165812bc736249d141b722bc038f1c6af2a9c947
parent276d22c52dd9c50a2b2becd13c702fbb801a7e17
iris: handle aux properly in iris_resource_get_handle

Disable aux when resource seen the first time and EXPLICIT_FLUSH
not being set. This fixes issues seen when launching Xorg and
CCS_E getting utilized.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c