OSDN Git Service

drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
authorMario Limonciello <mario.limonciello@amd.com>
Sat, 8 Jul 2023 02:26:09 +0000 (21:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Jul 2023 16:22:31 +0000 (12:22 -0400)
commit2d60ba1bf51e1fa09a7ae376b295489d7c37fb6d
tree9230b05957ae6f2be6fccfcfd7068cb0a9a82501
parent5d1eb4c4c872b55664f5754cc16827beff8630a7
drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13

SMU13 overrides dynamic PCIe lane width and dynamic speed by when on
certain hosts. commit 38e4ced80479 ("drm/amd/pm: conditionally disable
pcie lane switching for some sienna_cichlid SKUs") worked around this
issue by setting up certain SKUs to set up certain limits, but the same
fundamental problem with those hosts affects all SMU11 implmentations
as well, so align the SMU11 and SMU13 driver handling.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c