[Intel-gfx] [PATCH 2/9] drm/i915: Assert that runtime pm is active on user fw access

2015-01-16 Thread Mika Kuoppala
From: Chris Wilson ch...@chris-wilson.co.uk On user forcewake access, assert that runtime pm reference is held. Fix and cleanup the callsites accordingly. v2: Remove intel_runtime_pm_get() rebasehap (Deepak) v3: use drivers own runtime state tracking as pm_runtime_active() will return wrong

[Intel-gfx] [PATCH 2/9] drm/i915: Assert that runtime pm is active on user fw access

2014-12-16 Thread Mika Kuoppala
From: Chris Wilson ch...@chris-wilson.co.uk On user forcewake access, assert that runtime pm reference is held. Fix and cleanup the callsites accordingly. v2: Remove intel_runtime_pm_get() rebasehap (Deepak) Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Signed-off-by: Mika Kuoppala