intel/isl: Drop unnecessary check on 16bpp depth format
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 27 Aug 2020 05:24:19 +0000 (22:24 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 17:05:50 +0000 (17:05 +0000)
commit959539fbbd1fc18fab85b23bb93e0716c170d010
tree407ddeb8d984da800968b24c71ff7014175c8f4c
parent829699ba632b2b78e4de372baf42ae01095158a7
intel/isl: Drop unnecessary check on 16bpp depth format

Drop unnecessary check which allows enabling of lossless write through
compression (HiZ + CCS) for D16_UNORM format on Gen12+.

We had misleading HSD information previously which used to claim that
compression can not be supported for 16bpp format. Although BSpec does
not have any restriction for D16_UNORM format.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6485>
src/intel/isl/isl.c