drm/amd/pm: Fix missing thermal throttler status
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 19 May 2022 05:20:25 +0000 (10:50 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:32 +0000 (14:56 -0400)
commitb0f4d663fce6a4232d3c20ce820f919111b1c60b
treeb3d579fc5005a58b5102d37daf698f2888f710fb
parent49b74d12d1e02fc67b2854a593e589372d894e62
drm/amd/pm: Fix missing thermal throttler status

On aldebaran, when thermal throttling happens due to excessive GPU
temperature, the reason for throttling event is missed in warning
message. This patch fixes it.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c