drm/i915/vlv: Remove wait for for punit to updates freq.
authorDeepak S <deepak.s@linux.intel.com>
Sat, 9 May 2015 12:34:44 +0000 (18:04 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:41 +0000 (11:25 +0200)
commita7f6e231150c93c4e15f258f0d4b1ffe97da3971
treecc9ad0ac41ee2f9b457e46042e5a2b3e3a216b74
parentb6e742f652791919ce5c8e05a1d664bcbc5111a6
drm/i915/vlv: Remove wait for for punit to updates freq.

When GPU is idle on VLV, Request freq to punit should be good enough to
get the voltage back to VNN. Also, make sure gfx clock force applies
before requesting the freq fot vlv.

v2: Do forcewake before setting idle frequency (ville)
    Update function comments to match the code (Deepak)

v3: Fix get/put across idle frequency Request. (Ville)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75244
suggested-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Deepak S <deepak.s@linux.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/intel_pm.c