]> git.baikalelectronics.ru Git - kernel.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>
Mon, 5 May 2014 07:09:06 +0000 (09:09 +0200)
commit3691ae85cbf28f53bdf0e2f6d93465de07980794
tree1732721ef7ecac55a45aa6a9fff1ba46caf3b2e8
parent888df1d292caad909f5281256805f67b8173751a
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