OSDN Git Service

drm/i915: Remove RPM sequence checking
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Oct 2016 12:42:17 +0000 (13:42 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Oct 2016 12:45:37 +0000 (13:45 +0100)
commit2eedfc7d58997cbd7fd747aa757b8ceac8a2dc50
treeb71f5d9465f6bcfd9a4dd9f9843caef556765245
parent3594a3e21f1f77d46e89195f36292a2fd0f4aa83
drm/i915: Remove RPM sequence checking

We only used the RPM sequence checking inside the lowlevel GTT
accessors, when we had to rely on callers taking the wakeref on our
behalf. Now that we take the RPM wakeref inside the GTT management
routines themselves, we can forgo the sanitycheck of the callers.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161024124218.18252-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_runtime_pm.c