diff options
author | Maarten Lankhorst <[email protected]> | 2021-03-23 16:50:49 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2021-03-24 17:46:56 +0100 |
commit | 480ae79537b28f30ef6e07b7de69a9ae2599daa7 (patch) | |
tree | 89efae3c5b370ade558a842bdd1ab5c2a659c201 /drivers/gpu/drm/i915/selftests/i915_request.c | |
parent | b91e1b11f9fc54ae723e4f75a3d1b40d027cdbd8 (diff) |
drm/i915/selftests: Prepare gtt tests for obj->mm.lock removal
We need to lock the global gtt dma_resv, use i915_vm_lock_objects
to handle this correctly. Add ww handling for this where required.
Add the object lock around unpin/put pages, and use the unlocked
versions of pin_pages and pin_map where required.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions