summaryrefslogtreecommitdiffstats
path: root/include/clocksource
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@intel.com>2019-12-13 19:37:35 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-12-13 23:22:05 +0100
commite03512edd2b8d01fe9d34b8c66cc21933e4a68f6 (patch)
treeb272770e607e993714a046743b689f68cb32bff7 /include/clocksource
parentdrm/i915: Use EAGAIN for trylock failures (diff)
downloadlinux-e03512edd2b8d01fe9d34b8c66cc21933e4a68f6.tar.xz
linux-e03512edd2b8d01fe9d34b8c66cc21933e4a68f6.zip
drm/i915/rps: Add frequency translation helpers
Add two helpers that for reading the actual GT's frequency. The two helpers are: - intel_rps_read_cagf: reads the frequency and returns it not normalized - intel_rps_read_actual_frequency: provides the frequency in Hz. Use the above helpers in sysfs and debugfs. Signed-off-by: Andi Shyti <andi.shyti@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191213183736.31992-2-andi@etezian.org
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions