]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stop kicking the signaling thread on seqno wraparound
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 6 Mar 2018 13:01:42 +0000 (13:01 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 6 Mar 2018 17:25:55 +0000 (17:25 +0000)
commit2401065e53e0fb43d6bdd28030c138fbf208c3b8
treed827bac0d434a9cb50dd39c6ce23b6cc45ba055b
parent3e4bbd9fa8dbc55b0b70f07ea5840ab9623517c2
drm/i915: Stop kicking the signaling thread on seqno wraparound

Since commit 6e1a2e40e1ce ("drm/i915/breadcrumbs: Ignore unsubmitted
signalers"), we cancel the signaler when retiring the request and so
upon wraparound, where we wait for all requests to be retired, we no
longer need to spin waiting for the signaling thread to release its
references to the in-flight requests, and so we can assert that the
signaler is idle.

References: 6e1a2e40e1ce ("drm/i915/breadcrumbs: Ignore unsubmitted signalers")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180306130143.13312-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_breadcrumbs.c