drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 7 Jul 2023 19:31:35 +0000 (14:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Jul 2023 16:08:17 +0000 (12:08 -0400)
commit31c7a3b378a136adc63296a2ff17645896fcf303
tree5bc079e016c18e42e7f59c9b41fbd629c3a15dde
parentdcb489bae65d92cfd26da22c7a0d6665b06ecc63
drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13

Intel platforms such as Sapphire Rapids and Raptor Lake don't support
dynamic pcie lane or speed switching.

This limitation seems to carry over from one generation to another.
To be safer, disable dynamic pcie lane width and speed switching when
running on an Intel platform.

Link: https://edc.intel.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-processors-datasheet-volume-1-of-2/005/pci-express-support/
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2663
Co-developed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c