diff options
author | Chris Wilson <[email protected]> | 2015-02-12 07:53:18 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2015-02-24 15:30:42 +0200 |
commit | 6c31a614c43ae274546f736b2a33363e149c3dc2 (patch) | |
tree | 789a38d65a150244fe4b8ade763340a600960452 /tools/perf/util/trace-event-scripting.c | |
parent | b3a38998f042b862f5ba4d7f2268f3a8dfb4883a (diff) |
drm/i915: Check obj->vma_list under the struct_mutex
When we walk the list of vma, or even for protecting against concurrent
framebuffer creation, we must hold the struct_mutex or else a second
thread can corrupt the list as we walk it.
Fixes regression from
commit d7f46fc4e7323887494db13f063a8e59861fefb0
Author: Ben Widawsky <[email protected]>
Date: Fri Dec 6 14:10:55 2013 -0800
drm/i915: Make pin count per VMA
References: https://bugs.freedesktop.org/show_bug.cgi?id=89085
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Cc: [email protected]
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions