intel/dev: report stepping for TGL systems
Workaround 14010672564 requires a check for the TGL B0 stepping. Reviewed-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22458>
This commit is contained in:
@@ -1653,6 +1653,17 @@ intel_device_info_wa_stepping(struct intel_device_info *devinfo)
|
||||
if (devinfo->revision < 4)
|
||||
return INTEL_STEPPING_A0;
|
||||
return INTEL_STEPPING_B0;
|
||||
} else if (devinfo->platform == INTEL_PLATFORM_TGL) {
|
||||
switch (devinfo->revision) {
|
||||
case 0:
|
||||
return INTEL_STEPPING_A0;
|
||||
case 1:
|
||||
return INTEL_STEPPING_B0;
|
||||
case 3:
|
||||
return INTEL_STEPPING_C0;
|
||||
default:
|
||||
return INTEL_STEPPING_RELEASE;
|
||||
}
|
||||
}
|
||||
|
||||
/* all other platforms support only released steppings */
|
||||
|
||||
Reference in New Issue
Block a user