summaryrefslogtreecommitdiff
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-11-26 14:04:07 +0000
committerJani Nikula <jani.nikula@intel.com>2021-02-02 13:38:51 +0200
commit9f5dc9974298aea9690c7a0f7007f1af37198230 (patch)
tree75f1f13773268f344f9b51f30766eb1a63ddb4a3 /lib/lockref.c
parent00f9a08fbc3c703b71842a5425c1eb82053c8a70 (diff)
drm/i915/gt: Move the breadcrumb to the signaler if completed upon cancel
If while we are cancelling the breadcrumb signaling, we find that the request is already completed, move it to the irq signaler and let it be signaled. v2: Tweak reference counting so that we only acquire a new reference on adding to a signal list, as opposed to a hidden i915_request_put of the caller's reference. 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/20201126140407.31952-5-chris@chris-wilson.co.uk (cherry picked from commit 85cc2917a3965a3a747a6407d6e3028cfeb1534e) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions