OSDN Git Service

drm/i915: Remove redudant wait for each engine to idle from seqno wrap
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Mar 2017 14:50:40 +0000 (15:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Mar 2017 11:09:46 +0000 (12:09 +0100)
commit7a453fb82f869ea919aefb4943c7d24194c98698
tree02d8d1241cc5e308ed4a5f53241c61efaaad9387
parent25112b64b3d261c192369acb56727d44840a5d30
drm/i915: Remove redudant wait for each engine to idle from seqno wrap

Having added the wait upon each engine to idle into the central
i915_gem_wait_for_idle(), we can remove the now redundant wait from
reset_all_global_seqno(). This has the advantage of removing the late
detection of an error (an engine still busy) which left the seqno reset
only partially complete (though it should be safe enough!).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170330145041.9005-5-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem_request.c