Re: [PATCH] drm/amd/amdkfd: Don't sent command to HWS on kfd reset

2021-11-05 Thread Felix Kuehling
Am 2021-11-04 um 12:53 p.m. schrieb shaoyunl: > When kfd need to be reset, sent command to HWS might cause hang and get > unnecessary timeout. > This change try not to touch HW in pre_reset and keep queues to be in the > evicted state > when the reset is done, so they are not put back on the ru

[PATCH] drm/amd/amdkfd: Don't sent command to HWS on kfd reset

2021-11-04 Thread shaoyunl
When kfd need to be reset, sent command to HWS might cause hang and get unnecessary timeout. This change try not to touch HW in pre_reset and keep queues to be in the evicted state when the reset is done, so they are not put back on the runlist. These queues will be destroied on process terminat

Re: [PATCH] drm/amd/amdkfd: Don't sent command to HWS on kfd reset

2021-11-03 Thread Felix Kuehling
On 2021-11-03 11:04 a.m., shaoyunl wrote: When kfd need to be reset, sent command to HWS might cause hang and get unnecessary timeout. This change try not to touch HW in pre_reset and keep queues to be in the evicted state when the reset is done, so they are not put back on the runlist. These

Re: [PATCH] drm/amd/amdkfd: Don't sent command to HWS on kfd reset

2021-11-03 Thread Alex Deucher
On Wed, Nov 3, 2021 at 11:05 AM shaoyunl wrote: > > When kfd need to be reset, sent command to HWS might cause hang and get > unnecessary timeout. > This change try not to touch HW in pre_reset and keep queues to be in the > evicted state > when the reset is done, so they are not put back on the

[PATCH] drm/amd/amdkfd: Don't sent command to HWS on kfd reset

2021-11-03 Thread shaoyunl
When kfd need to be reset, sent command to HWS might cause hang and get unnecessary timeout. This change try not to touch HW in pre_reset and keep queues to be in the evicted state when the reset is done, so they are not put back on the runlist. These queues will be destroied on process terminat