drm/i915/skl: add turbo support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 16 Jan 2015 18:07:25 +0000 (18:07 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:59 +0000 (09:50 +0100)
commitb6fef0ef126eb3f32fedab8a8840d8b65848d675
tree62334aa3a95328eef6cb7c7fc7a08ca15eb38197
parent1407121ae29881ded2f68157643f1164e4c03d3e
drm/i915/skl: add turbo support

Per latest PM programming guide.

v2: the wrong flavour of the function updating the ring frequency was
    called, leading to dead locks (Tvrtko)

v3: Add GEN6_RP_MEDIA_IS_GFX to RP_CONTROL (Imre, done by Damien)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
[danvet: Fixup conflicts with Mika's forcewake refactor.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c