summaryrefslogtreecommitdiff
path: root/lib/igt_rapl.h
AgeCommit message (Collapse)Author
2019-10-25i915/gem_exec_schedule: Handle package power RAPL unavailabilityChris Wilson
It turns out that not all platforms have working package power. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112094 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
2019-10-15lib: Generalise rapl interfaceChris Wilson
We can use our existing rapl interface that monitors gpu power, to also sample the other rapl domains such as package, cores and ram. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Andi Shyti <andi.shyti@intel.com> Reviewed-by: Andi Shyti <andi.shyti@intel.com>