summaryrefslogtreecommitdiff
path: root/src/intel/isl/isl_format.c
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2019-08-09 10:41:38 -0700
committerNanley Chery <nanley.g.chery@intel.com>2019-10-28 10:47:04 -0700
commita94cb6503f88c81cf95227702f88e29944ec4766 (patch)
tree5dd3941ffaae9c7508dca402a367c30e79f9902e /src/intel/isl/isl_format.c
parent83fc15e5ba4be270345ea26126f7ae0471f0e70d (diff)
isl: Disable CCS_D on Gen12+
Clear-only compression no longer exists on TGL. v2. Add BSpec reference. (Sagar) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/intel/isl/isl_format.c')
-rw-r--r--src/intel/isl/isl_format.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
index a36edb9662f..efd6936d4f6 100644
--- a/src/intel/isl/isl_format.c
+++ b/src/intel/isl/isl_format.c
@@ -533,8 +533,10 @@ bool
isl_format_supports_ccs_d(const struct gen_device_info *devinfo,
enum isl_format format)
{
- /* Fast clears were first added on Ivy Bridge */
- if (devinfo->gen < 7)
+ /* Clear-only compression was first added on Ivy Bridge and was last
+ * implemented on Ice lake (see BSpec: 43862).
+ */
+ if (devinfo->gen < 7 || devinfo->gen > 11)
return false;
if (!isl_format_supports_rendering(devinfo, format))