isl: Enable compression with Tile4

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14431>
This commit is contained in:
Jordan Justen 2021-02-01 13:16:30 -08:00 committed by Marge Bot
parent 793338266c
commit 792e294572

View file

@ -2204,7 +2204,7 @@ isl_surf_supports_ccs(const struct isl_device *dev,
*/
/* TODO: Handle the other tiling formats */
if (surf->tiling != ISL_TILING_Y0)
if (surf->tiling != ISL_TILING_Y0 && surf->tiling != ISL_TILING_4)
return false;
} else {
/* ISL_GFX_VER(dev) < 12 */