diff options
| author | 2019-11-06 09:13:12 +0000 | |
|---|---|---|
| committer | 2019-11-07 17:05:33 +0000 | |
| commit | 27dbae8f36c1c25008b7885fc07c57054b7dfba3 (patch) | |
| tree | bb14f321d5d9ffc77383298d97946321604e3d17 /scripts/const_structs.checkpatch | |
| parent | drm/i915/gt: Defer engine registration until fully initialised (diff) | |
drm/i915/gem: Safely acquire the ctx->vm when copying
As we read the ctx->vm unlocked before cloning/exporting, we should
validate our reference is correct before returning it. We already do for
clone_vm() but were not so strict around get_ppgtt().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106091312.12921-1-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
