summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2023-02-28 11:31:52 -0800
committerJordan Justen <jordan.l.justen@intel.com>2023-04-07 03:25:57 -0400
commit286917981d9db3e4695c815219ca142ad1f40936 (patch)
tree371206cf50be51a1b044c0e27dc013503ed87fc1
parent43c3896c839570147d56b2c25b2c25cdc7c7d225 (diff)
isl: Update MTL CCS disable check to use intel_device_info_wa_stepping()
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--src/intel/isl/isl_format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
index bd2d8556989..a32a3618239 100644
--- a/src/intel/isl/isl_format.c
+++ b/src/intel/isl/isl_format.c
@@ -877,7 +877,8 @@ isl_format_supports_ccs_e(const struct intel_device_info *devinfo,
enum isl_format format)
{
/* Wa_14017353530: Disable compression on MTL until B0 */
- if (intel_device_info_is_mtl(devinfo) && devinfo->revision < 4)
+ if (intel_device_info_is_mtl(devinfo) &&
+ intel_device_info_wa_stepping(devinfo) < INTEL_STEPPING_B0)
return false;
/* Wa_22011186057: Disable compression on ADL-P A0 */