diff options
author | Nanley Chery <[email protected]> | 2019-08-09 10:41:38 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2019-10-28 10:47:04 -0700 |
commit | a94cb6503f88c81cf95227702f88e29944ec4766 (patch) | |
tree | 5dd3941ffaae9c7508dca402a367c30e79f9902e /src | |
parent | 83fc15e5ba4be270345ea26126f7ae0471f0e70d (diff) |
isl: Disable CCS_D on Gen12+
Clear-only compression no longer exists on TGL.
v2. Add BSpec reference. (Sagar)
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Sagar Ghuge <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/isl/isl_format.c | 6 |
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)) |