]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't accidentally increase the frequency in handling DOWN rps
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Feb 2017 15:03:47 +0000 (15:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Feb 2017 22:35:39 +0000 (22:35 +0000)
commitee76c849a4b54f6763d0b0361839e7d0335132a0
tree9a90eb2bea1f9b7514427aac730c0f3f07a1db0f
parentb42fd8acd254fcf677f0cbf099b0ad120f7eeb58
drm/i915: Don't accidentally increase the frequency in handling DOWN rps

If we receive a DOWN_TIMEOUT rps interrupt, we respond by reducing the
GPU clocks significantly. Before we do, double check that the frequency
we pick is actually a decrease.

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