summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-07 22:09:42 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-08 07:52:36 +0100
commita4c969d107a66369e6b8bf6b2fa28ca01723133b (patch)
treeb60287aabe4697738739734e0bdc71b86a221f35 /include/linux/timerqueue.h
parent8f8b1171e1a514c2fdfd388b662a7e5b34e839a8 (diff)
downloadcachepc-linux-a4c969d107a66369e6b8bf6b2fa28ca01723133b.tar.gz
cachepc-linux-a4c969d107a66369e6b8bf6b2fa28ca01723133b.zip
drm/i915/perf: Set the exclusive stream under perf->lock
The BKL struct_mutex is no more, the only serialisation we required for setting the exclusive stream is already managed by ce->pin_mutex in gen8_configure_all_contexts(). As such, we can manipulate i915_perf.exclusive_stream underneath our own (already held) perf->lock. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191007140812.10963-2-chris@chris-wilson.co.uk Link: https://patchwork.freedesktop.org/patch/msgid/20191007210942.18145-2-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions