Re: [PATCH 1/7] drm/amdgpu: Implement DPC recovery

2020-08-31 Thread Andrey Grodzovsky
On 8/28/20 10:07 PM, Luben Tuikov wrote: On 2020-08-26 10:46, Andrey Grodzovsky wrote: Add DPC handlers with basic recovery functionality. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 9 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 181

Re: [PATCH 1/7] drm/amdgpu: Implement DPC recovery

2020-08-28 Thread Luben Tuikov
On 2020-08-26 10:46, Andrey Grodzovsky wrote: > Add DPC handlers with basic recovery functionality. > > Signed-off-by: Andrey Grodzovsky > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h| 9 ++ > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 181 > - >

Re: [PATCH 1/7] drm/amdgpu: Implement DPC recovery

2020-08-27 Thread Andrey Grodzovsky
Indeed, I noticed it later and did it in patch 6 (merging 1 and 6 was very messy due to following changes so I just kept it as a separate patch). Andrey On 8/26/20 9:23 PM, Li, Dennis wrote: [AMD Official Use Only - Internal Distribution Only] Hi, Andrey, I found that the sequences of

RE: [PATCH 1/7] drm/amdgpu: Implement DPC recovery

2020-08-26 Thread Li, Dennis
[AMD Official Use Only - Internal Distribution Only] Hi, Andrey, I found that the sequences of amdgpu_pci_slot_reset is mostly similar to amdgpu_do_asic_reset. Could help us refactor them to reuse more codes? Best Regards Dennis Li -Original Message- From: amd-gfx On Behalf Of

Re: [PATCH 1/7] drm/amdgpu: Implement DPC recovery

2020-08-26 Thread Alex Deucher
On Wed, Aug 26, 2020 at 10:47 AM Andrey Grodzovsky wrote: > > Add DPC handlers with basic recovery functionality. > > Signed-off-by: Andrey Grodzovsky > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h| 9 ++ > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 181 > -