]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: check that we hold an RPM wakelock ref before we put it
authorImre Deak <imre.deak@intel.com>
Tue, 15 Dec 2015 18:10:36 +0000 (20:10 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Dec 2015 14:36:52 +0000 (16:36 +0200)
commit5f32c23331d17a182da241c5ba6a7827f081e700
treece72a0645b62a6647eaa9f5d45ee06080b058778
parent3bb26ef570cc366a6bfb159e06d9e2e02b7068c0
drm/i915: check that we hold an RPM wakelock ref before we put it

With this change we have the corresponding wake lock checks in both the
rpm get and put functions.

v2-v3:
- unchanged
v4:
- keep the corresponding check in the get helper (Chris)
v5:
- add a note to the commit message that with this change we have the
  checks both in the rpm get and put functions (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-9-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c