aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorKenneth Feng <[email protected]>2019-10-11 09:51:34 +0000
committerAlex Deucher <[email protected]>2019-10-15 19:50:37 +0000
commit372120f0a5922655eb2579a50d6aafad474fd14c (patch)
treec54eedc26b1ba676b59363be4d76b31c6ec4bf24 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: Fix tdr3 could hang with slow compute issue (diff)
downloadkernel-372120f0a5922655eb2579a50d6aafad474fd14c.tar.gz
kernel-372120f0a5922655eb2579a50d6aafad474fd14c.zip
drm/amd/powerplay: bug fix for pcie parameters override
Bug fix for pcie paramerers override on swsmu. Below is a scenario to have this problem. pptable definition on pcie dpm: 0 -> pcie gen speed:1, pcie lanes: *16 1 -> pcie gen speed:4, pcie lanes: *16 Then if we have a system only have the capbility: pcie gen speed: 3, pcie lanes: *8, we will override dpm 1 to pcie gen speed 3, pcie lanes *8. But the code skips the dpm 0 configuration. So the real pcie dpm parameters are: 0 -> pcie gen speed:1, pcie lanes: *16 1 -> pcie gen speed:3, pcie lanes: *8 Then the wrong pcie lanes will be toggled. Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions