drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not supported
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 23 Oct 2023 20:42:00 +0000 (15:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 22:41:23 +0000 (18:41 -0400)
commitfbf1035b033a51eee48d5f42e781b02fff272ca0
tree2b9282de150f1f66abce24b16cd846120c4b2527
parent541c341d2ee351f8deabef467dab4ba68bfb024f
drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not supported

Rather than individual ASICs checking for the quirk, set the quirk at the
driver level.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c