Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f644909 authored by Jacob Pan's avatar Jacob Pan Committed by Len Brown
Browse files

tools/power/turbostat: Add Denverton RAPL support



The Denverton CPU RAPL supports package, core, and DRAM domains.

Signed-off-by: default avatarJacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 2c48c990
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2663,6 +2663,9 @@ void rapl_probe(unsigned int family, unsigned int model)
	case 0x4D:	/* AVN */
		do_rapl = RAPL_PKG | RAPL_CORES;
		break;
	case 0x5f:	/* DNV */
		do_rapl = RAPL_PKG | RAPL_DRAM | RAPL_DRAM_POWER_INFO | RAPL_DRAM_PERF_STATUS | RAPL_PKG_PERF_STATUS | RAPL_PKG_POWER_INFO | RAPL_CORES_ENERGY_STATUS;
		break;
	default:
		return;
	}