aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-11-16 15:27:21 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-11-16 21:12:39 +0000
commit27745e829a5cb896249f355f5bdab3249c5455e2 (patch)
tree792016b59a86461057e2e1a28ad4d2bfddfb4340 /tools/perf/scripts/python
parentdrm/i915/bxt: Broxton decoupled MMIO (diff)
downloadlinux-dev-27745e829a5cb896249f355f5bdab3249c5455e2.tar.xz
linux-dev-27745e829a5cb896249f355f5bdab3249c5455e2.zip
drm/i915/execlists: Use a local lock for dfs_link access
Avoid requiring struct_mutex for exclusive access to the temporary dfs_link inside the i915_dependency as not all callers may want to touch struct_mutex. So rather than force them to take a highly contended lock, introduce a local lock for the execlists schedule operation. Reported-by: David Weinehall <david.weinehall@linux.intel.com> Fixes: 9a151987d709 ("drm/i915: Add execution priority boosting for mmioflips") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: David Weinehall <david.weinehall@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161116152721.11053-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions