]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: make runtime PM swizzling/ring_freq init platform independent
authorImre Deak <imre.deak@intel.com>
Mon, 14 Apr 2014 17:24:39 +0000 (20:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 13:43:08 +0000 (15:43 +0200)
commit81173fc4da204bd2e3dc189285fbed164eee1385
treea11fd65a8bf335d384f3661e6bfaa41781b1c245
parent17cdeec4ec1609dc7df16e3c4f53d7cfe71845da
drm/i915: make runtime PM swizzling/ring_freq init platform independent

We need to re-init sizzling on all platforms so move it to the
platform independent runtime resume callback. The ring frequency reinit
is also needed everywhere except on VLV, but gen6_update_ring_freq()
will be a noop on VLV, so we can move this function too to platform
independent code.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_display.c