drm/i915: Show actual alongside requested frequency in debugfs/i915_rps_boost_info
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Oct 2018 11:32:21 +0000 (12:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Oct 2018 11:54:30 +0000 (12:54 +0100)
commitc0a6aa7ec2c365a44ec8eb6e9b23f1f51ad386ed
tree611c92758aa9d57b7b7e4b161191ee40ea5f49bd
parent89d5efcc311cca135de623e9e4a81267e7a9eaa8
drm/i915: Show actual alongside requested frequency in debugfs/i915_rps_boost_info

Previously we hesitated in adding the hw probe for the actual GPU
frequency for rps_boost as it is quite cumbersome, but given some
surprising HW behaviour it would be useful to know both the RPS boost
state and the actual HW state in one location.

v2: vlv/chv needs more tlc

Reported-by: Tomi Sarvela <tomi.p.sarvela@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181002113221.29208-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c