Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35264f6f authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/amdgpu: removing BO_VAs shouldn't be interruptible

parent d27d4941
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ void amdgpu_gem_object_close(struct drm_gem_object *obj,

	amdgpu_vm_get_pd_bo(vm, &list, &vm_pd);

	r = ttm_eu_reserve_buffers(&ticket, &list, true, &duplicates);
	r = ttm_eu_reserve_buffers(&ticket, &list, false, &duplicates);
	if (r) {
		dev_err(adev->dev, "leaking bo va because "
			"we fail to reserve bo (%d)\n", r);