From 83fc15e5ba4be270345ea26126f7ae0471f0e70d Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Mon, 23 Sep 2019 11:09:46 -0700 Subject: [PATCH] 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 --- src/gallium/drivers/iris/iris_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2