mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
[ Upstream commit 61f9fdcdcd
]
Need memory frequency quirk as Sapphire Rapids in Emerald Rapids.
So add Emerald Rapids CPU model check in is_spr_platform().
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: Subject, changelog and code edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b086888a80
commit
0b196c1cda
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ int is_skx_based_platform(void)
|
|||
|
||||
int is_spr_platform(void)
|
||||
{
|
||||
if (cpu_model == 0x8F)
|
||||
if (cpu_model == 0x8F || cpu_model == 0xCF)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue