diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-05 16:48:22 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-05 18:28:15 +0300 |
commit | ab7a69020fb5d5c7ba19fba60f62fd6f9ca9f779 (patch) | |
tree | 5b91507a12423d740f51b57ae52c009def3cd792 /samples | |
parent | 07e9c59d63df6a1c44c1975c01827ba18b69270a (diff) | |
download | linux-ab7a69020fb5d5c7ba19fba60f62fd6f9ca9f779.tar.xz |
drm/i915: Return early for await_start on same timeline
Requests within a timeline are ordered by that timeline, so awaiting for
the start of a request within the timeline is a no-op. This used to work
by falling out of the mutex_trylock() as the signaler and waiter had the
same timeline and not returning an error.
Fixes: 6a79d848403d ("drm/i915: Lock signaler timeline while navigating")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: <stable@vger.kernel.org> # v5.5+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200305134822.2750496-1-chris@chris-wilson.co.uk
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions