Re: [PATCH] drm/amd/amdkfd: Evict all queues even HWS remove queue failed

2025-03-07 Thread Zha, YiFan(Even)
: Kuehling, Felix Sent: Thursday, March 6, 2025 8:23 AM To: Zha, YiFan(Even) ; amd-gfx@lists.freedesktop.org ; Deucher, Alexander ; Zhang, Hawking Cc: Chang, HaiJun ; Chen, Horace ; Yin, ZhenGuo (Chris) Subject: Re: [PATCH] drm/amd/amdkfd: Evict all queues even HWS remove queue failed On 2025-03

Re: [PATCH] drm/amd/amdkfd: Evict all queues even HWS remove queue failed

2025-03-05 Thread Felix Kuehling
On 2025-03-05 00:42, Yifan Zha wrote: [Why] If reset is detected and kfd need to evict working queues, HWS moving queue will be failed. Then remaining queues are not evicted and in active state. After reset done, kfd uses HWS to termination remaining activated queues but HWS is resetted. So

[PATCH] drm/amd/amdkfd: Evict all queues even HWS remove queue failed

2025-03-04 Thread Yifan Zha
[Why] If reset is detected and kfd need to evict working queues, HWS moving queue will be failed. Then remaining queues are not evicted and in active state. After reset done, kfd uses HWS to termination remaining activated queues but HWS is resetted. So remove queue will be failed again. [How]