summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2019-09-23 11:09:46 -0700
committerNanley Chery <[email protected]>2019-10-28 10:47:04 -0700
commit83fc15e5ba4be270345ea26126f7ae0471f0e70d (patch)
tree31b094549aec008990287499a11d23a0be0a649f /src/gallium/drivers
parent0eaf293b47966576b21aa28ddf74de27669210c6 (diff)
iris: Drop support for I915_FORMAT_MOD_Y_TILED_CCS on TGL+
The format of the CCS has changed. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c2
1 files changed, 1 insertions, 1 deletions
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: