]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit542db3cd345c38936bb9e4bb2c8d1971e6ac6619
treece72a0645b62a6647eaa9f5d45ee06080b058778
parent1f814daca43a2d99248fd754eacfb8ba12449235
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