drm/i915: get/put runtime PM without holding rps.hw_lock
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 19 Dec 2013 13:54:52 +0000 (11:54 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Mar 2014 14:13:04 +0000 (15:13 +0100)
commit5bfa0199e95220e10d57204b856f0a361270fefe
treedd5ac72508d2a8dd47be59b2e4bb781d25eac5b8
parentda7235692c5be122a776d04ab18e591fbc73f13c
drm/i915: get/put runtime PM without holding rps.hw_lock

We'll need this when we merge PC8 and Runtime PM: the PC8
enable/disable functions need that lock.

Also, it's good practice to not hold a lock for longer than strictly
needed.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c