diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-06-17 17:38:59 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-06-20 15:33:48 -0700 |
commit | 33991ae8f40a8245f68e8e442766bf9072eaaa2a (patch) | |
tree | bed0eb971724e99c175a1dac21d45582500a6f93 /block/blk-iolatency.c | |
parent | 0d39640ace670bccb7f03b2a9e5463ec0885a9ca (diff) |
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 <fei.yang@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618003859.3239239-1-matthew.brost@intel.com
Diffstat (limited to 'block/blk-iolatency.c')
0 files changed, 0 insertions, 0 deletions