]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove forced stop ring on suspend/unload
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:14:10 +0000 (10:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:54:36 +0000 (10:54 +0100)
commit13f88e826413d565da3730a863c6c941032963d4
tree2cb3681f45be7e2b17a55d22a4b3d3e981796e94
parent33b4541bb206e31669bee730096173c3349de523
drm/i915: Remove forced stop ring on suspend/unload

Before suspending (or unloading), we would first wait upon all rendering
to be completed and then disable the rings. This later step is a remanent
from DRI1 days when we did not use request tracking for all operations
upon the ring. Now that we are sure we are waiting upon the very last
operation by the engine, we can forgo clobbering the ring registers,
though we do keep the assert that the engine is indeed idle before
sleeping.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470388464-28458-5-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c