powertop/SOURCES/powertop-2.9-intel-glk-support.patch
2021-09-10 02:15:43 +00:00

52 lines
1.4 KiB
Diff

From 523b15bd892f036bb6b777ad6c88f334f0980347 Mon Sep 17 00:00:00 2001
From: Nivedita Swaminathan <nivedita.swaminathan@intel.com>
Date: Wed, 31 Jan 2018 14:41:18 -0800
Subject: [PATCH] Enable support for Intel GLK
This commit enables support for Intel GLK platforms
Signed-off-by: Nivedita Swaminathan <nivedita.saminathan@intel.com>
---
src/cpu/intel_cpus.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/cpu/intel_cpus.cpp b/src/cpu/intel_cpus.cpp
index 3901342..4980516 100644
--- a/src/cpu/intel_cpus.cpp
+++ b/src/cpu/intel_cpus.cpp
@@ -68,6 +68,7 @@ static int intel_cpu_models[] = {
0x5E, /* SKY */
0x56, /* BDX-DE */
0x5c, /* BXT-P */
+ 0x7A, /* GLK */
0x8E, /* KBL */
0x9E, /* KBL */
0 /* last entry must be zero */
@@ -165,6 +166,7 @@ nhm_core::nhm_core(int model)
case 0x5E: /* SKY */
case 0x3D: /* BDW */
case 0x5c: /* BXT-P */
+ case 0x7A: /* GLK */
case 0x8E: /* KBL */
case 0x9E: /* KBL */
has_c7_res = 1;
@@ -345,6 +347,7 @@ nhm_package::nhm_package(int model)
case 0x5E: /* SKY */
case 0x3D: /* BDW */
case 0x5c: /* BXT-P */
+ case 0x7A: /* GLK */
case 0x8E: /* KBL */
case 0x9E: /* KBL */
has_c2c6_res=1;
@@ -377,6 +380,7 @@ nhm_package::nhm_package(int model)
case 0x4E: /* SKY */
case 0x5E: /* SKY */
case 0x5c: /* BXT-P */
+ case 0x7A: /* GLK */
case 0x8E: /* KBL */
case 0x9E: /* KBL */
has_c8c9c10_res = 1;
--
2.14.3