Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait

2023-10-23 Thread Christian König
has real issue, the wait forever is bad user experience, and driver couldn't work anymore. Emily Deng Best Wishes -Original Message- From: Christian König Sent: Friday, October 20, 2023 3:29 PM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/2] drm/amdgpu:

Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait

2023-10-20 Thread Felix Kuehling
tober 20, 2023 3:29 PM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait Am 20.10.23 um 08:13 schrieb Emily Deng: Issue: Dead heappen during gpu recover, the call sequence as below: amdgpu_device_gpu_recover->amdgpu_amdkfd_p

Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait

2023-10-20 Thread Christian König
ssage- From: Christian König Sent: Friday, October 20, 2023 3:29 PM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait Am 20.10.23 um 08:13 schrieb Emily Deng: Issue: Dead heappen during gpu recover, the call se

RE: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait

2023-10-20 Thread Deng, Emily
PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait > >Am 20.10.23 um 08:13 schrieb Emily Deng: >> Issue: Dead heappen during gpu recover, the call sequence as below: >> >> amdgpu_device_gpu_recov

Re: [PATCH 1/2] drm/amdgpu: Add timeout for sync wait

2023-10-20 Thread Christian König
Am 20.10.23 um 08:13 schrieb Emily Deng: Issue: Dead heappen during gpu recover, the call sequence as below: amdgpu_device_gpu_recover->amdgpu_amdkfd_pre_reset->flush_delayed_work-> amdgpu_amdkfd_gpuvm_restore_process_bos->amdgpu_sync_wait It is because the amdgpu_sync_wait is waiting for the b