diff options
| author | Rob Clark <[email protected]> | 2020-10-23 09:51:08 -0700 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2020-11-04 16:00:56 -0800 |
| commit | 20224d715a882210428ea62bba93f1bc4a0afe23 (patch) | |
| tree | cab4d2b0e55f4b85672eb1d61f3d3b76b76ae162 /tools/perf/scripts/python | |
| parent | 599089c6af68300207ee1823230d31eda1f15959 (diff) | |
drm/msm/submit: Move copy_from_user ahead of locking bos
We cannot switch to using obj->resv for locking without first moving all
the copy_from_user() ahead of submit_lock_objects(). Otherwise in the
mm fault path we aquire mm->mmap_sem before obj lock, but in the submit
path the order is reversed.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions