intel: Add field intel_mipmap_slice::has_hiz

If `mt->hiz_mt` is set, then this patch sets `has_hiz` for all slices in
the miptree.

Performing a hiz operation with an ill-aligned rectangle primitive causes
GPU hanges on some hardware.  Later patches will disable hiz on individual
slices to avoid such hangs.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
intel: Add accessor functions for intel_miptree_slice::has_hiz

Add two new functions:
  intel_miptree_slice_has_hiz
  intel_renderbuffer_has_hiz

These functions are not yet used.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
i965: Add level,layer members to brw_blorp_mip_info

These will later be used to determine if hiz is enabled for the given
slice via intel_miptree_slice_has_hiz().

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
i965: Change signature of brw_get_depthstencil_tile_masks

Add two new parameters, 'level' and 'layer'. A later patch will pass the
new parameters to intel_miptree_slice_has_hiz().

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
i965: Fix typo in doxygen hyperlink

s/brw_state_upload/brw_upload_state/

Found because the link was broken.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
intel: Replace checks for hiz_mt with has_hiz accessors

That is, replace checks like `hiz_mt != NULL` with
`intel_miptree_slice_has_hiz(...)` where appropriate. This is necessary
because a later patch will selectively disable hiz on individual miptree
slices, and therefore `hiz_mt != NULL` will no longer be a valid
indicator.

This produces no behaviorial change because currently, when a hiz miptree
is present, hiz is enabled for all slices in the tree.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
WIP/intel: Disable hiz on individual miptree slices

TODO: 3d textures
TODO: doc
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
WIP/intel: Add padding to depth and hiz miptrees

TODO: doc
WIP/i965/blorp: Align vertices for hiz ops
intel: Enable hiz on Haswell

This patch sets the flag. That's all.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
FIX: build fix
FIX: build fix