drm/i915: Combine reset_all_global_seqno() loops into one
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Mar 2017 14:50:41 +0000 (15:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Mar 2017 11:10:53 +0000 (12:10 +0100)
commitae351beb1f0e439fba1136c083167ddfa8d8fe1d
tree0c3b7d411fe2a213fb67601b5d9c23c9d90c3349
parent7a453fb82f869ea919aefb4943c7d24194c98698
drm/i915: Combine reset_all_global_seqno() loops into one

We can merge the pair of loops over the engines and their timelines into
a single loop, making it easier to read and more consistent with the
commentary.

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