diff options
| author | Matthew Brost <[email protected]> | 2024-06-18 00:38:59 +0000 |
|---|---|---|
| committer | Matthew Brost <[email protected]> | 2024-06-20 22:33:48 +0000 |
| commit | 33991ae8f40a8245f68e8e442766bf9072eaaa2a (patch) | |
| tree | bed0eb971724e99c175a1dac21d45582500a6f93 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/xe: Invert runnable_state / pending enable check and assert (diff) | |
| download | kernel-33991ae8f40a8245f68e8e442766bf9072eaaa2a.tar.gz kernel-33991ae8f40a8245f68e8e442766bf9072eaaa2a.zip | |
drm/xe: Simplify locking in new_vma
Rather than acquiring and dropping the VM / BO dma-resv around
xe_vma_create and do the same thing upon adding preempt fences or an
error, hold these locks through the entire new_vma() function.
v2:
- Rebase (CI)
Cc: Fei Yang <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Jagmeet Randhawa <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
