mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 13:40:37 +02:00
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:
parent
47ac056d0f
commit
acb2a7d2ec
1 changed files with 11 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue