Re: [PATCH v4 1/8] drm/amdgpu: Avoid accessing HW when suspending SW state

2020-09-03 Thread Andrey Grodzovsky
On 9/2/20 5:56 PM, Bjorn Helgaas wrote: On Wed, Sep 02, 2020 at 02:42:03PM -0400, Andrey Grodzovsky wrote: At this point the ASIC is already post reset by the HW/PSP so the HW not in proper state to be configured for suspension, some blocks might be even gated and so best is to avoid touching

RE: [PATCH v4 1/8] drm/amdgpu: Avoid accessing HW when suspending SW state

2020-09-02 Thread Li, Dennis
[AMD Official Use Only - Internal Distribution Only] Hi, andrey Did you want to use adev->in_pci_err_recovery to avoid hardware accessed by other threads when doing PCI recovery? If so, it is better to change to use lock protect them. This patch can't solve your issue completely. Best

Re: [PATCH v4 1/8] drm/amdgpu: Avoid accessing HW when suspending SW state

2020-09-02 Thread Bjorn Helgaas
On Wed, Sep 02, 2020 at 02:42:03PM -0400, Andrey Grodzovsky wrote: > At this point the ASIC is already post reset by the HW/PSP > so the HW not in proper state to be configured for suspension, > some blocks might be even gated and so best is to avoid touching it. > > v2: Rename in_dpc to more