drm/amd/pm: correct the pcie link state check for SMU13
authorEvan Quan <evan.quan@amd.com>
Fri, 7 Apr 2023 09:12:15 +0000 (17:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Apr 2023 20:11:22 +0000 (16:11 -0400)
commitb9a24d8bd51e2db425602fa82d7f4c06aa3db852
tree1f1f0d4187d9ad17eae54619ada25d4fa1f4a115
parent85e0689eb6b10cd3b2fb455d1b3f4d4d0b13ff78
drm/amd/pm: correct the pcie link state check for SMU13

Update the driver implementations to fit those data exposed
by PMFW.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-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/inc/smu_v13_0.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c