]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powercap/intel_rapl: add support for TigerLake Desktop
authorZhang Rui <rui.zhang@intel.com>
Thu, 10 Sep 2020 07:48:58 +0000 (15:48 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Sep 2020 17:17:29 +0000 (19:17 +0200)
Add intel_rapl support for the TigerLake desktop platform.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c

index 6f55aaef8afc993dec7c82ac7a5473eb94ef5c74..60dbe0e43dd4e31b3f074c52d3761a4eb8187af9 100644 (file)
@@ -1035,6 +1035,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE_L,         &rapl_defaults_core),
        X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE,           &rapl_defaults_core),
        X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L,         &rapl_defaults_core),
+       X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE,           &rapl_defaults_core),
        X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,    &rapl_defaults_spr_server),
 
        X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT,     &rapl_defaults_byt),