OSDN Git Service

drm/i915: Only apply the jump to the "efficient RPS" frequency on startup
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Feb 2017 15:03:48 +0000 (15:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Feb 2017 22:35:46 +0000 (22:35 +0000)
commitbd64818dfe3b19ecdcf47a7b0726c4b59ff4fb5e
tree302075cf966f871965a015b6bf32be457fc30d20
parent17136d548e1b5ecd947da996f125907a671313d9
drm/i915: Only apply the jump to the "efficient RPS" frequency on startup

Currently we apply the jump to rpe if we are below it and the GPU needs
more power. For some GPUs, the rpe is 75% of the maximum range causing
us to dramatically overshoot low power applications *and* unable to
reach the low frequency that can most efficiently deliver their
workload.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170210150348.22146-3-chris@chris-wilson.co.uk
Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_pm.c