diff options
author | Chris Wilson <[email protected]> | 2020-01-30 14:39:31 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2020-02-12 13:24:45 +0200 |
commit | 2933803bdcd8ac67c0b97a0bb158e0762d5ae236 (patch) | |
tree | 00ed87781a2d624f9e083b34dcaf50274e3a49c4 /tools/perf/util/trace-event-scripting.c | |
parent | 52144db1309897f279b53e8df8a0d17e1cda7960 (diff) |
drm/i915/gem: Tighten checks and acquiring the mmap object
Make sure we hold the rcu lock as we acquire the rcu protected reference
of the object when looking it up from the associated mmap vma.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1083
Fixes: cc662126b413 ("drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Abdiel Janulgue <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 280d14a69da2e71f43408537c008f2775d5e5360)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions