aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorRobert Bragg <[email protected]>2017-06-13 12:23:06 +0100
committerBen Widawsky <[email protected]>2017-06-14 12:31:57 -0700
commit1bef3409f139d787598245179ff824ff0b46cce4 (patch)
tree6df382fe6176fe017c2385080c99e6b38bc29057 /tools/perf/util/c++/clang.cpp
parent155e941f49289fe73157f1c9b3c93450a2e40175 (diff)
drm/i915/perf: remove perf.hook_lock
In earlier iterations of the i915-perf driver we had a number of callbacks/hooks from other parts of the i915 driver to e.g. notify us when a legacy context was pinned and these could run asynchronously with respect to the stream file operations and might also run in atomic context. dev_priv->perf.hook_lock had been for serialising access to state needed within these callbacks, but as the code has evolved some of the hooks have gone away or are implemented to avoid needing to lock any state. The remaining use of this lock was actually redundant considering how the gen7 oacontrol state used to be updated as part of a context pin hook. Signed-off-by: Robert Bragg <[email protected]> Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Signed-off-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions