[PATCH v2 7/7] drm/amdgpu: Disable DPC for XGMI for now.

Alex Deucher alexdeucher at gmail.com
Fri Aug 28 19:31:54 UTC 2020


On Fri, Aug 28, 2020 at 3:30 PM Alex Deucher <alexdeucher at gmail.com> wrote:
>
> On Fri, Aug 28, 2020 at 12:06 PM Andrey Grodzovsky
> <andrey.grodzovsky at amd.com> wrote:
> >
> > XGMI support is more complicated then single device support as
> > questions synchronization between the device recovering from
> > PCI error and other memebers of the hive is required.

Typo: "members"
With that fixed:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> > Leaving this for next round.
> >
> > Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
>
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
>
> > ---
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > index 429167b..47e16baf 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> > @@ -4782,6 +4782,11 @@ pci_ers_result_t amdgpu_pci_error_detected(struct pci_dev *pdev, pci_channel_sta
> >
> >         DRM_INFO("PCI error: detected callback, state(%d)!!\n", state);
> >
> > +       if (adev->gmc.xgmi.num_physical_nodes > 1) {
> > +               DRM_WARN("No support for XGMI hive yet...");
> > +               return PCI_ERS_RESULT_DISCONNECT;
> > +       }
> > +
> >         switch (state) {
> >         case pci_channel_io_normal:
> >                 return PCI_ERS_RESULT_CAN_RECOVER;
> > --
> > 2.7.4
> >
> > _______________________________________________
> > amd-gfx mailing list
> > amd-gfx at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list