isl: Add restrictions to isl_surf_get_hiz_surf()
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 29 Apr 2019 19:59:35 +0000 (12:59 -0700)
committerNanley Chery <nanleychery@gmail.com>
Tue, 14 May 2019 16:23:12 +0000 (16:23 +0000)
commit29a13eb71da11d432287f93fe319b5cf1edc1aae
tree0f3ed8519a4cedcd6fba39607a3034977fcee1ef
parent942755bec4437c59b803ab3420e7e6d7ac7ce2a6
isl: Add restrictions to isl_surf_get_hiz_surf()

Import some restrictions from intel_tiling_supports_hiz() and
intel_miptree_supports_hiz().

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/isl/isl.c