drm/i915/skl: Gen9 Forcewake
authorZhe Wang <zhe1.wang@intel.com>
Tue, 4 Nov 2014 17:07:04 +0000 (17:07 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:42:15 +0000 (18:42 +0100)
commit38cff0b15756dae3c7452618e6673f77d87e7220
tree6dab11726410ccbf20df24ace789aba5bcf7c8f8
parentd21b795c419a7f59b4921b1ab5ff40d9a5eef05a
drm/i915/skl: Gen9 Forcewake

Implement common forcewake functions shared by Gen9 features.

v2: Make the focewake_{get,put} functions static (Mika)
    Small coding style fix in the function definition (Damien)

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Zhe Wang <zhe1.wang@intel.com> (v1)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> (v2)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_uncore.c