From: Nanley Chery Date: Mon, 23 Sep 2019 18:09:46 +0000 (-0700) Subject: iris: Drop support for I915_FORMAT_MOD_Y_TILED_CCS on TGL+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83fc15e5ba4be270345ea26126f7ae0471f0e70d;p=mesa.git iris: Drop support for I915_FORMAT_MOD_Y_TILED_CCS on TGL+ The format of the CCS has changed. Reviewed-by: Kenneth Graunke Reviewed-by: Jordan Justen --- diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 3ad0874094d..46b207ed388 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -88,7 +88,7 @@ modifier_is_supported(const struct gen_device_info *devinfo, if (!isl_format_supports_ccs_e(devinfo, linear_format)) return false; - return true; + return devinfo->gen >= 9 && devinfo->gen <= 11; } case I915_FORMAT_MOD_Y_TILED: case I915_FORMAT_MOD_X_TILED: