RE: [PATCH] drm/amdkfd: make sure VM is ready for updating operations

2024-04-09 Thread Yu, Lang
, Lang From: Kuehling, Felix Sent: Wednesday, April 10, 2024 8:32 AM To: Koenig, Christian ; Yu, Lang ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdkfd: make sure VM is ready for updating operations On 2024-04-08 3:55, Christian König wrote: Am 07.04.24 um 06:52 schrieb Lang Yu:

Re: [PATCH] drm/amdkfd: make sure VM is ready for updating operations

2024-04-09 Thread Felix Kuehling
On 2024-04-08 3:55, Christian König wrote: Am 07.04.24 um 06:52 schrieb Lang Yu: When VM is in evicting state, amdgpu_vm_update_range would return -EBUSY. Then restore_process_worker runs into a dead loop. Fixes: 2fdba514ad5a ("drm/amdgpu: Auto-validate DMABuf imports in compute VMs") Mhm,

RE: [PATCH] drm/amdkfd: make sure VM is ready for updating operations

2024-04-08 Thread Yu, Lang
[AMD Official Use Only - General] >-Original Message- >From: Koenig, Christian >Sent: Monday, April 8, 2024 3:55 PM >To: Yu, Lang ; amd-gfx@lists.freedesktop.org >Cc: Kuehling, Felix >Subject: Re: [PATCH] drm/amdkfd: make sure VM is ready for updating >operations &g

Re: [PATCH] drm/amdkfd: make sure VM is ready for updating operations

2024-04-08 Thread Christian König
Am 07.04.24 um 06:52 schrieb Lang Yu: When VM is in evicting state, amdgpu_vm_update_range would return -EBUSY. Then restore_process_worker runs into a dead loop. Fixes: 2fdba514ad5a ("drm/amdgpu: Auto-validate DMABuf imports in compute VMs") Mhm, while it would be good to have this case handl