summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_guc_ct.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-06-17 14:57:44 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-06-21 12:31:00 +0300
commit0caf81b5c53d9bd332a95dbcb44db8de0b397a7c (patch)
tree6e6dcb96c6412d647c7bf387ef6d197c95dc71ed /drivers/gpu/drm/i915/intel_guc_ct.c
parent7a3bc034ed5c4b57c145a025070739ec41434e94 (diff)
downloadlinux-0caf81b5c53d9bd332a95dbcb44db8de0b397a7c.tar.xz
drm/i915: Hold struct_mutex for per-file stats in debugfs/i915_gem_object
As we walk the obj->vma_list in per_file_stats(), we need to hold struct_mutex to prevent alteration of that list. Fixes: 1d2ac403ae3b ("drm: Protect dev->filelist with its own mutex") Fixes: c84455b4bacc ("drm/i915: Move debug only per-request pid tracking from request to ctx") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101460 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170617115744.4452-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc_ct.c')
0 files changed, 0 insertions, 0 deletions