From dbf19b76e8f1226085083c2450466eb26d1b98e7 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 10 Apr 2023 09:12:53 -0700 Subject: [PATCH] intel/isl: Use intel_needs_workaround() for MTL CCS WA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also use parent WA number of 14017240301 instead of 14017353530. Reviewed-by: José Roberto de Souza Signed-off-by: Jordan Justen Part-of: --- src/intel/isl/isl_format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index d8508c90a94..ac438df65ec 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -876,8 +876,8 @@ bool 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) + /* Disable compression on MTL until B0 */ + if (intel_needs_workaround(devinfo, 14017240301)) return false; /* Wa_22011186057: Disable compression on ADL-P A0 */