mbox series

[v3,0/3] fix PCI AER issues

Message ID 20220913144832.2784012-1-alexander.deucher@amd.com (mailing list archive)
Headers show
Series fix PCI AER issues | expand

Message

Alex Deucher Sept. 13, 2022, 2:48 p.m. UTC
The first two patches fix ordering issues with the doorbells so
that the doorbell structures are initialized before the we program
them.  The last patch fixes the PCI AER errors by moving common hw
init before GMC hw init so that the HDP register is remapped before
it is used preventing a write to a non-existent register.

Drop the HDP remap in GMC init patches as per discussions with Lijo.

Alex Deucher (3):
  drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
  drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
  drm/amdgpu: make sure to init common IP before gmc

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 14 +++++++++---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c     |  5 +++++
 drivers/gpu/drm/amd/amdgpu/soc15.c         | 25 ----------------------
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c     |  4 ++++
 drivers/gpu/drm/amd/amdgpu/vega20_ih.c     |  4 ++++
 5 files changed, 24 insertions(+), 28 deletions(-)