Re: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs

2023-11-23 Thread Felix Kuehling
From: Pan, Xinhui Sent: Friday, November 10, 2023 12:51 PM To: Kuehling, Felix ; amd-gfx@lists.freedesktop.org Cc: Deng, Emily ; Koenig, Christian Subject: RE: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs I once replaced the queue with the freezable one, but got hang in f

Re: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs

2023-11-21 Thread Felix Kuehling
10, 2023 12:51 PM To: Kuehling, Felix ; amd-gfx@lists.freedesktop.org Cc: Deng, Emily ; Koenig, Christian Subject: RE: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs I once replaced the queue with the freezable one, but got hang in flush. Looks like Felix has fixed it. A

RE: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs

2023-11-10 Thread Pan, Xinhui
reedesktop.org Cc: Deng, Emily ; Koenig, Christian Subject: RE: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs I once replaced the queue with the freezable one, but got hang in flush. Looks like Felix has fixed it. Acked-and-tested-by: xinhui pan -Original Message---

RE: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs

2023-11-09 Thread Pan, Xinhui
@lists.freedesktop.org Cc: Deng, Emily ; Pan, Xinhui ; Koenig, Christian Subject: [RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs Make restore workers freezable so we don't have to explicitly flush them in suspend and GPU reset code paths, and we don't accidentally try to restore BOs whi

[RFC PATCH v2] drm/amdkfd: Run restore_workers on freezable WQs

2023-11-07 Thread Felix Kuehling
Make restore workers freezable so we don't have to explicitly flush them in suspend and GPU reset code paths, and we don't accidentally try to restore BOs while the GPU is suspended. Not having to flush restore_work also helps avoid lock/fence dependencies in the GPU reset case where we're not allo