From 52ced4008c90693fe242e6be985a4b58b8b5fe2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Wed, 31 Jan 2024 12:27:28 -0800 Subject: [PATCH] intel: Drop pre-production steppings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workaround tool was already updated with MTL production stepping so no need to return any stepping value for MTL. For TGL it was also updated a long time ago, so no need to check for revision 0. Reviewed-by: Mark Janes Signed-off-by: José Roberto de Souza Part-of: --- src/intel/dev/intel_device_info.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index 88f49be0f92..2b9fb5cb642 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -1776,14 +1776,9 @@ intel_device_info_update_after_hwconfig(struct intel_device_info *devinfo) enum intel_wa_steppings intel_device_info_wa_stepping(struct intel_device_info *devinfo) { - if (intel_device_info_is_mtl(devinfo)) { - if (devinfo->revision < 4) - return INTEL_STEPPING_A0; - return INTEL_STEPPING_B0; - } else if (devinfo->platform == INTEL_PLATFORM_TGL) { + if (devinfo->platform == INTEL_PLATFORM_TGL) { + /* TGL production steppings: B0 and C0 */ switch (devinfo->revision) { - case 0: - return INTEL_STEPPING_A0; case 1: return INTEL_STEPPING_B0; case 3: