]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: refactor RPM disabling due to RC6 being disabled
authorImre Deak <imre.deak@intel.com>
Tue, 15 Dec 2015 18:10:31 +0000 (20:10 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Dec 2015 13:42:46 +0000 (15:42 +0200)
commit7d0bbd0713cf0e96afe639c3a4e39474231f3c67
treee43682c5d27bf67b3595314f27931197abc41b6e
parent769d68aaefc2f8cff199c1d80f2f6ef3e3f29ce4
drm/i915: refactor RPM disabling due to RC6 being disabled

We can make the RPM dependency on RC6 explcit in the code by taking an
actual RPM reference, instead of avoiding to drop the initial one. This
will also enable us to remove the HAS_RUNTIME_PM special casing from
more places in the next patch.

v2:
- fixed typo in commit message (Joonas)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450203038-5150-4-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_runtime_pm.c