intel: Return PTL stepping

Without this no temporary workaround is applied to PTL as by
default INTEL_STEPPING_RELEASE is returned and it is larger than
any stepping.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35110>
This commit is contained in:
José Roberto de Souza
2025-05-22 09:24:22 -07:00
committed by Marge Bot
parent c78d6bc4c3
commit ddca50584c
+10 -1
View File
@@ -1994,7 +1994,16 @@ intel_device_info_wa_stepping(struct intel_device_info *devinfo)
* 'compiler_field' in intel_device_info.py
*/
if (devinfo->platform == INTEL_PLATFORM_BMG) {
if (devinfo->platform == INTEL_PLATFORM_PTL) {
switch (devinfo->revision) {
case 0:
return INTEL_STEPPING_A0;
case 4:
return INTEL_STEPPING_B0;
default:
return INTEL_STEPPING_RELEASE;
}
} else if (devinfo->platform == INTEL_PLATFORM_BMG) {
switch (devinfo->revision) {
case 0:
return INTEL_STEPPING_A0;