]> 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)
commit8b7914c85e470f7fb5f765aa1e36e00ad19fd4fd
tree7f953a5704eaab74db6d9f73d9262cae00bf7faa
parentefbf357810a98698193d647dbfe813b7773e6d03
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