From: Chris Wilson Date: Fri, 16 Jan 2015 09:34:35 +0000 (+0200) Subject: drm/i915: Assert that runtime pm is active on user fw access X-Git-Tag: fixes-v4.0-rc1~91^2~8^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6daccb0b2a4c8c675395061cffbf77e9e5f31e7b;p=pandora-kernel.git drm/i915: Assert that runtime pm is active on user fw access 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 results when we are in resume callchain (Mika) Signed-off-by: Chris Wilson Signed-off-by: Mika Kuoppala Reviewed-by: Deepak S (v2) Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed