Re: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery

2020-09-01 Thread Andrey Grodzovsky
nstead of KIQ to access registers. Best Regards Dennis Li -Original Message- From: Grodzovsky, Andrey Sent: Tuesday, September 1, 2020 9:40 AM To: Li, Dennis ; amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Zhang, Hawking ; Koenig, Christian Subject: Re: [PATCH] drm/a

Re: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery

2020-09-01 Thread Christian König
Am 01.09.20 um 03:17 schrieb Dennis Li: When GPU is in reset, its status isn't stable and ring buffer also need be reset when resuming. Therefore driver should protect GPU recovery thread from ring buffer accessed by other threads. Otherwise GPU will randomly hang during recovery. One style com

Re: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery

2020-09-01 Thread Christian König
her, Alexander ; Kuehling, Felix ; Zhang, Hawking ; Koenig, Christian Subject: Re: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery On 8/31/20 9:17 PM, Dennis Li wrote: When GPU is in reset, its status isn't stable and ring buffer also need be reset when resuming. Therefore dr

RE: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery

2020-08-31 Thread Li, Dennis
mber 1, 2020 9:40 AM To: Li, Dennis ; amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Zhang, Hawking ; Koenig, Christian Subject: Re: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery On 8/31/20 9:17 PM, Dennis Li wrote: > When GPU is in reset, its status

Re: [PATCH] drm/amdgpu: block ring buffer access during GPU recovery

2020-08-31 Thread Andrey Grodzovsky
On 8/31/20 9:17 PM, Dennis Li wrote: When GPU is in reset, its status isn't stable and ring buffer also need be reset when resuming. Therefore driver should protect GPU recovery thread from ring buffer accessed by other threads. Otherwise GPU will randomly hang during recovery. Signed-off-by: