]> 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)
commitfb82422802e144862407e3d75354548b1016b932
treece72a0645b62a6647eaa9f5d45ee06080b058778
parent546390a1b98027659bc3f54336fe21d3bf04735f
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