]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: disable runtime PM if RC6 is disabled
authorImre Deak <imre.deak@intel.com>
Mon, 14 Apr 2014 17:24:36 +0000 (20:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 13:41:10 +0000 (15:41 +0200)
commit0d1feb2fbd7b896e2332f19ff75bead73197d8f0
tree70c422167a2034495c40c6b91933e201fe5fba2a
parent901cd9beb6149da65abf1c57aa19af8ce6da895e
drm/i915: disable runtime PM if RC6 is disabled

On VLV we depend on RC6 to save the GT render and media HW context
before going to the D3 state via RPM, so as a preparation for the
VLV RPM support (added in an upcoming patch) disable RPM if RC6 is
disabled.

There is probably a similar dependency on other platforms too, so for
safety require RC6 for those too. For these platforms (SNB, HSW, BDW)
this is then a possible fix.

v2:
- require RC6 for all RPM platforms, not just for VLV (Paulo, Daniel)

Signed-off-by: Imre Deak <imre.deak@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/i915_drv.c
drivers/gpu/drm/i915/intel_pm.c