intel/dev: Add BMG stepping mapping

Bspec: 68090
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29457>
This commit is contained in:
José Roberto de Souza
2024-04-04 11:55:40 -07:00
committed by Marge Bot
parent d4a180639f
commit 25e7b74712

View File

@@ -1904,7 +1904,18 @@ intel_device_info_wa_stepping(struct intel_device_info *devinfo)
* 'compiler_field' in intel_device_info.py * 'compiler_field' in intel_device_info.py
*/ */
if (devinfo->platform == INTEL_PLATFORM_LNL) { if (devinfo->platform == INTEL_PLATFORM_BMG) {
switch (devinfo->revision) {
case 0:
return INTEL_STEPPING_A0;
case 1:
return INTEL_STEPPING_A1;
case 4:
return INTEL_STEPPING_B0;
default:
return INTEL_STEPPING_RELEASE;
}
} else if (devinfo->platform == INTEL_PLATFORM_LNL) {
switch (devinfo->revision) { switch (devinfo->revision) {
case 0: case 0:
return INTEL_STEPPING_A0; return INTEL_STEPPING_A0;