drm/i915: Refactor vlv/chv GPU frequency divider setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 10 Nov 2014 20:55:12 +0000 (22:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Nov 2014 14:33:51 +0000 (15:33 +0100)
commitdd06f88cd0c730421b575f423d8e75f6ed348804
tree5c173d71ce0820c420b7c95b2a59cad7898504bb
parentce611ef81ff73fe64962fb1b22d8279aab205ad3
drm/i915: Refactor vlv/chv GPU frequency divider setup

The divider used in the GPU frequency calculations is compatible between
vlv and chv. vlv just wants doubled values compared to chv.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S<deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c