]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Jump to at least RPe on VLV when increasing the GPU frequency
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 25 Jun 2013 18:38:11 +0000 (21:38 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:14:51 +0000 (11:14 +0200)
commitb8710efb0bff1376665337c2a24dfa1e2d1ad3e5
tree4e9e68b98b60779f74cce0b0dd75fdeac46c520b
parent66030a5d7dc1b5f32575e8769df263fbbc568aee
drm/i915: Jump to at least RPe on VLV when increasing the GPU frequency

If the current GPU frquency is below RPe, and we're asked to increase
it, just go directly to RPe. This should provide better performance
faster than letting the frequency trickle up in response to the up
threshold interrupts.

For now just do it for VLV, since that matches quite closely how VLV
used to operate when the rps delayed timer kept things at RPe always.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c