tools/power turbostat: Fix RAPL_GFX_ALL typo
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>
Fri, 23 May 2025 08:06:59 +0000 (13:36 +0530)
committerLen Brown <len.brown@intel.com>
Sun, 8 Jun 2025 18:10:16 +0000 (14:10 -0400)
Fix typo in the currently unused RAPL_GFX_ALL macro definition.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 3b418cae88124e0a871f36e7f5772b908a55810a..018f0fe966915efa17e0668dee8096681bb14d8d 100644 (file)
@@ -539,7 +539,7 @@ enum rapl_msrs {
 #define RAPL_PKG_ALL   (RAPL_PKG | RAPL_PKG_PERF_STATUS | RAPL_PKG_POWER_INFO)
 #define RAPL_DRAM_ALL  (RAPL_DRAM | RAPL_DRAM_PERF_STATUS | RAPL_DRAM_POWER_INFO)
 #define RAPL_CORE_ALL  (RAPL_CORE | RAPL_CORE_POLICY)
-#define RAPL_GFX_ALL   (RAPL_GFX | RAPL_GFX_POLIGY)
+#define RAPL_GFX_ALL   (RAPL_GFX | RAPL_GFX_POLICY)
 
 #define RAPL_AMD_F17H  (RAPL_AMD_PWR_UNIT | RAPL_AMD_CORE_ENERGY_STAT | RAPL_AMD_PKG_ENERGY_STAT)