Re: [PATCH 2/2] drm/amdgpu: Auto-validate DMABuf imports in compute VMs

2023-12-05 Thread Felix Kuehling
On 2023-12-04 03:40, Christian König wrote:   @@ -416,6 +423,28 @@ int amdgpu_vm_validate_pt_bos(struct amdgpu_device *adev, struct amdgpu_vm *vm,   }   spin_lock(&vm->status_lock);   } +    while (ticket && !list_empty(&vm->evicted_user)) { +    bo_base = list_first_en

Re: [PATCH 2/2] drm/amdgpu: Auto-validate DMABuf imports in compute VMs

2023-12-04 Thread Christian König
Am 15.11.23 um 00:32 schrieb Felix Kuehling: DMABuf imports in compute VMs are not wrapped in a kgd_mem object on the process_info->kfd_bo_list. There is no explicit KFD API call to validate them or add eviction fences to them. This patch automatically validates and fences dymanic DMABuf imports

[PATCH 2/2] drm/amdgpu: Auto-validate DMABuf imports in compute VMs

2023-11-14 Thread Felix Kuehling
DMABuf imports in compute VMs are not wrapped in a kgd_mem object on the process_info->kfd_bo_list. There is no explicit KFD API call to validate them or add eviction fences to them. This patch automatically validates and fences dymanic DMABuf imports when they are added to a compute VM. Revalidat