[Intel-xe] [CI v8 09/18] drm/xe: Adjust to commit "drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm"

Dafna Hirschfeld dhirschfeld at habana.ai
Sun Nov 12 22:07:51 UTC 2023


On 03.11.2023 16:32, Thomas Hellström wrote:
>Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
>---
> drivers/gpu/drm/xe/xe_vm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
>index dc7991eabb58..46a87a4e42d8 100644
>--- a/drivers/gpu/drm/xe/xe_vm.c
>+++ b/drivers/gpu/drm/xe/xe_vm.c
>@@ -1385,8 +1385,8 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags)
> 		goto err_no_resv;
> 	}
>
>-	drm_gpuvm_init(&vm->gpuvm, "Xe VM", &xe->drm, vm_resv_obj, 0, vm->size,
>-		       0, 0, &gpuvm_ops);
>+	drm_gpuvm_init(&vm->gpuvm, "Xe VM", 0, &xe->drm, vm_resv_obj,
>+		       0, vm->size, 0, 0, &gpuvm_ops);

Maybe vm->flags can now move to vm->gpuvm->flags ?

Dafna,

>
> 	drm_gem_object_put(vm_resv_obj);
>
>-- 
>2.41.0
>


More information about the Intel-xe mailing list