diff options
| author | Lijo Lazar <lijo.lazar@amd.com> | 2025-06-28 08:20:25 +0300 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-11 18:12:53 +0300 | 
| commit | 1dd2fa0e00f17b909ff0fab92c1c48c2d7911c15 (patch) | |
| tree | 61a12ab77d5b2077cd56846718df592e999ac32a /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | 111821e4b5a3105c42c7c99f4abd4d8af9f64248 (diff) | |
| download | linux-1dd2fa0e00f17b909ff0fab92c1c48c2d7911c15.tar.xz | |
drm/amdgpu: Save and restore switch state
During a DPC error kernel waits for the link to be active before
notifying downstream devices. On certain platforms with Broadcom switch
in synthetiic mode, switch responds with values even though the link is
not fully ready. The config space restoration done by pcie port driver
for SWUS/DS of dGPU is thus not effective as the switch is still doing
internal enumeration.
As a workaround, save state of SWUS/DS device in driver. Add additional
check to see if link is active and restore the values during DPC error
callbacks.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
