diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-16 19:53:17 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-17 02:25:49 +0300 |
commit | 9ddc8ec027a39759c946c3f4944d3e0c5a007ccd (patch) | |
tree | 4b8ab99b174f0e6aaa98b7f7c7d2f56dbb911899 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f8b7487734ceae5f593e7b50368f98bc3eb3d068 (diff) | |
download | linux-9ddc8ec027a39759c946c3f4944d3e0c5a007ccd.tar.xz |
drm/i915: Eliminate the trylock for awaiting an earlier request
We currently use an error-prone mutex_trylock to grab another timeline
to find an earlier request along it. However, with a bit of a
sleight-of-hand, we can reduce the mutex_trylock to a spin_lock on the
immediate request and careful pointer chasing to acquire a reference on
the previous request.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191216165317.2742896-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions