]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix NAK-G generation during PCI-e link width switch
authorEvan Quan <evan.quan@amd.com>
Tue, 25 May 2021 04:08:53 +0000 (12:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Jun 2021 04:17:56 +0000 (00:17 -0400)
commit18188e72e6eecf499531000e0b91c1381bd8d802
tree7f953a5704eaab74db6d9f73d9262cae00bf7faa
parentb58c54a4da7f3fa22f2f4c1b1ccd70f3d167853f
drm/amdgpu: fix NAK-G generation during PCI-e link width switch

A lot of NAK-G being generated when link widht switching is happening.
WA for this issue is to program the SPC to 4 symbols per clock during
bootup when the native PCIE width is x4.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c
drivers/gpu/drm/amd/amdgpu/nv.c