]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Track signaled breadcrumbs outside of the breadcrumb spinlock
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Nov 2020 11:37:15 +0000 (11:37 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 24 Nov 2020 17:30:56 +0000 (09:30 -0800)
commitf3ddf24899d66bd346a0931abebe7fc0c3c7cead
tree0c8428a638efd4c8b80b39aa0847bb0a3711b38f
parent9bd6b5599bd40a5f76766134bab2bce13f975e5c
drm/i915/gt: Track signaled breadcrumbs outside of the breadcrumb spinlock

Make b->signaled_requests a lockless-list so that we can manipulate it
outside of the b->irq_lock.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201123113717.20500-2-chris@chris-wilson.co.uk
(cherry picked from commit 6cfe66eb71b638968350b5f0fff051fd25eb75fb)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h
drivers/gpu/drm/i915/i915_request.h