See v1 for the Rust code that uses these C changes.
Signed-off-by: Alice Ryhl <[email protected]>
---
Changes in v2:
- For this version, only the C prerequisites are included. Rust will be
sent as follow-up.
- Link to v1:
https://lore.kernel.org/r/[email protected]
---
Alice Ryhl (3):
drm/gpuvm: take GEM lock inside drm_gpuvm_bo_obtain_prealloc()
drm/gpuvm: drm_gpuvm_bo_obtain() requires lock and staged mode
drm/gpuvm: use const for drm_gpuva_op_* ptrs
drivers/gpu/drm/drm_gpuvm.c | 91 ++++++++++++++++++++++++----------
drivers/gpu/drm/imagination/pvr_vm.c | 2 +-
drivers/gpu/drm/msm/msm_gem.h | 2 +-
drivers/gpu/drm/msm/msm_gem_vma.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_uvmm.c | 2 +-
drivers/gpu/drm/panthor/panthor_mmu.c | 10 ----
drivers/gpu/drm/xe/xe_vm.c | 4 +-
include/drm/drm_gpuvm.h | 12 ++---
8 files changed, 76 insertions(+), 49 deletions(-)
---
base-commit: 44e4c88951fa9c73bfbde8269e443ea5343dd2af
change-id: 20251128-gpuvm-rust-b719cac27ad6
Best regards,
--
Alice Ryhl <[email protected]>