drm/amd/pm: skip dpm disablement on suspend for SMU 13.0.0
authorEvan Quan <evan.quan@amd.com>
Fri, 6 May 2022 09:36:06 +0000 (17:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:31 +0000 (14:56 -0400)
Since PMFW will handle this properly. Driver involvement is
unnecessary.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

index 6016b325b6b582302f743087517bea8417487598..a601024ba4de8854b1d2ed9ada98372ab4f8af21 100644 (file)
@@ -1436,6 +1436,7 @@ static int smu_disable_dpms(struct smu_context *smu)
                case IP_VERSION(11, 0, 0):
                case IP_VERSION(11, 0, 5):
                case IP_VERSION(11, 0, 9):
+               case IP_VERSION(13, 0, 0):
                        return 0;
                default:
                        break;