drm/i915: factor out gen6_update_ring_freq
authorImre Deak <imre.deak@intel.com>
Fri, 18 Apr 2014 13:16:23 +0000 (16:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:09:08 +0000 (09:09 +0200)
commitc2bc2fc541b60f3afc263685af0e358b6bcac5a0
treeee3d2658d4f5032ee93dad0c89a60c456c3ebb65
parentb5478bcd5f04c3eef934f506a98c8849bb410cd9
drm/i915: factor out gen6_update_ring_freq

This is needed by the next patch moving the call out from platform
specific RPM callbacks to platform independent code.

No functional change.

v2:
- patch introduce in v2 of the patchset
v3:
- simplify platform check condition (Ville)

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
drivers/gpu/drm/i915/intel_pm.c