Commit 61f9fdcd authored by Zhang Rui's avatar Zhang Rui Committed by Hans de Goede

tools/power/x86/intel-speed-select: Add Emerald Rapid quirk

Need memory frequency quirk as Sapphire Rapids in Emerald Rapids.
So add Emerald Rapids CPU model check in is_spr_platform().
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: Subject, changelog and code edits]
Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 0d5eea35
...@@ -110,7 +110,7 @@ int is_skx_based_platform(void) ...@@ -110,7 +110,7 @@ int is_skx_based_platform(void)
int is_spr_platform(void) int is_spr_platform(void)
{ {
if (cpu_model == 0x8F) if (cpu_model == 0x8F || cpu_model == 0xCF)
return 1; return 1;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment