OSDN Git Service

drm/i915/pmu: Use raw clock for rc6 estimation
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 14 Dec 2020 09:43:48 +0000 (09:43 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 14 Dec 2020 12:55:48 +0000 (12:55 +0000)
commitc51c29fb35f76a2616694079725fb2cf001de1de
treec3cd82a280872819e2739a0a31c2716607fa447d
parentdbe13ae1d6abaab417edf3c37601c6a56594a4cd
drm/i915/pmu: Use raw clock for rc6 estimation

RC6 is a hardware counter and as such estimating it using the raw clock
during runtime suspend is more appropriate.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
References: 34f439278cef ("perf: Add per event clockid support")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201214094349.3563876-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_pmu.c