Fix Zen-based (family 0x8f) CPU naming
Previously, it identified all Zen CPUs as Ryzen 7. Since the model and stepping information consist of microarchitecture information and don't carry the model number, use the parse_amd based name, which will remove any unnecessary details from the returned name. Fixes #15153. Change-Id: I1a20bf35a60b2fdd20d4cc90ec2dd95fd0e6439d Reviewed-on: https://review.haiku-os.org/c/1634 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
e1a822a95f
commit
f093894af1
@@ -324,8 +324,7 @@ get_cpu_model_string(enum cpu_platform platform, enum cpu_vendor cpuVendor,
|
||||
return "FX-Series";
|
||||
if (model == 0x10 || model == 0x13)
|
||||
return "A-Series";
|
||||
} else if (family == 0x8f)
|
||||
return "Ryzen 7";
|
||||
}
|
||||
|
||||
// Fallback to manual parsing of the model string
|
||||
get_cpuid_model_string(cpuidName);
|
||||
|
||||
Reference in New Issue
Block a user