]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reorder the semaphore deadlock check, again
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 19 Jul 2014 11:40:42 +0000 (12:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Jul 2014 17:29:49 +0000 (19:29 +0200)
commit406d2e609910156b3d1ee104e9bfa23d2cc6973e
tree8f49e995b1e44cd736c847c46263ccf0d801d2c1
parentf47b9824ee6f6b309b2081f5eb442a9bd6ee9846
drm/i915: Reorder the semaphore deadlock check, again

commit dcc25b5c0c2a2f3dbd3734efb8156911b213035c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jun 6 10:22:29 2014 +0100

    drm/i915: Reorder semaphore deadlock check

did the majority of the work, but it missed one crucial detail:

The check for the unkickable deadlock on this ring must come after the
check whether the ring that we are waiting on has already passed its
target seqno.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80709
Tested-by: Stefan Huber <shuber@sthu.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c