diff options
author | Maarten Lankhorst <[email protected]> | 2021-01-28 17:25:39 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2021-03-24 17:27:20 +0100 |
commit | f1ac8a0292605e094533c02106d1d2f6a97028a3 (patch) | |
tree | 3cac20411aecf922af3a0dd68c6fb08f87421c03 /tools/perf/util/trace-event-scripting.c | |
parent | c93987753ae8057e61a3902e71362613f7256600 (diff) |
drm/i915: Fix pread/pwrite to work with new locking rules.
We are removing obj->mm.lock, and need to take the reservation lock
before we can pin pages. Move the pinning pages into the helper, and
merge gtt pwrite/pread preparation and cleanup paths.
The fence lock is also removed; it will conflict with fence annotations,
because of memory allocations done when pagefaulting inside copy_*_user.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
[danvet: Pick the older version to avoid the conflicts]
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions