]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fb324f3af43660978d7e7f25b456ac2c38c76dc
tree611c92758aa9d57b7b7e4b161191ee40ea5f49bd
parenta4c5b207c87736d699343ea65505bedb55f29cdf
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