intel: Drop pre-production steppings

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 <markjanes@swizzler.org>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27399>
This commit is contained in:
José Roberto de Souza 2024-01-31 12:27:28 -08:00 committed by Marge Bot
parent 80f532a636
commit 52ced4008c

View file

@ -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: