drm/i915: Add intel_gpu_freq() and intel_freq_opcode()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 23 Jan 2015 19:04:25 +0000 (21:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:17 +0000 (09:51 +0100)
commit616bc8202da4a8f7e5382f28a03271772bad658a
treeea30e578e3b76d39ed6935723cbfa86ef70c7f1d
parentc8c972ebd209ee1a0f7715e11bc37cbdb399e05e
drm/i915: Add intel_gpu_freq() and intel_freq_opcode()

Rename the vlv_gpu_freq() and vlv_freq_opecode() functions to have
an intel_ prefix, and handle non-VLV/CHV platforms in them as well.
Leave the vlv_ names around for now since they're currently used.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c