diff options
author | 2019-12-22 23:35:58 +0000 | |
---|---|---|
committer | 2019-12-23 13:08:47 +0000 | |
commit | 6a8679c048eb104dbcc6aa43a0baa7450de46503 (patch) | |
tree | 5a8d237b517620b18fa9d8518d3a2272d1008366 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Introduce a vma.kref (diff) | |
download | wireguard-linux-6a8679c048eb104dbcc6aa43a0baa7450de46503.tar.xz wireguard-linux-6a8679c048eb104dbcc6aa43a0baa7450de46503.zip |
drm/i915: Mark the GEM context link as RCU protected
The only protection for intel_context.gem_cotext is granted by RCU, so
annotate it as a rcu protected pointer and carefully dereference it in
the few occasions we need to use it.
Fixes: 9f3ccd40acf4 ("drm/i915: Drop GEM context as a direct link from i915_request")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191222233558.2201901-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions