summaryrefslogtreecommitdiff
path: root/arch/m32r
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-02-13 09:01:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-28 10:19:44 +0100
commit821e97898016456bc7b42063ac91c0063f88a8dd (patch)
treef83fb36b1539933d2b4a85c9658bd7d437bce072 /arch/m32r
parent1f0ffdc671080f22449387b6ed961edbe700b0a1 (diff)
drm/i915/breadcrumbs: Ignore unsubmitted signalers
commit 117172c8f9d40ba1de8cb35c6e614422faa03330 upstream. When a request is preempted, it is unsubmitted from the HW queue and removed from the active list of breadcrumbs. In the process, this however triggers the signaler and it may see the clear rbtree with the old, and still valid, seqno, or it may match the cleared seqno with the now zero rq->global_seqno. This confuses the signaler into action and signaling the fence. Fixes: d6a2289d9d6b ("drm/i915: Remove the preempted request from the execution queue") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: <stable@vger.kernel.org> # v4.12+ Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180206094633.30181-1-chris@chris-wilson.co.uk (cherry picked from commit fd10e2ce9905030d922e179a8047a4d50daffd8e) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180213090154.17373-1-chris@chris-wilson.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions