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>
Mon, 5 May 2014 07:09:09 +0000 (09:09 +0200)
commit92b806d3684f2c7009554aaf587531a6a861af39
tree422b7d26a631acee7b94f1c181ae4a2c7c317dfa
parentc2bc2fc541b60f3afc263685af0e358b6bcac5a0
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