iris: Drop support for I915_FORMAT_MOD_Y_TILED_CCS on TGL+
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 23 Sep 2019 18:09:46 +0000 (11:09 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 28 Oct 2019 17:47:04 +0000 (10:47 -0700)
The format of the CCS has changed.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/iris/iris_resource.c

index 3ad0874094de554a2f2f7138d634133b8e789027..46b207ed38835e7dfad9d2e329df83ff3fc180ec 100644 (file)
@@ -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: