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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:36:23 +0000 (18:36 +0200)
commite0199ce728fb98a96a20136a5edb11c160d3151f
treecd1ca1dfbd0dc37c3994a21588b2aa15a411468c
parent7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9
drm/amd/pm: Fix missing thermal throttler status

[ Upstream commit b0f4d663fce6a4232d3c20ce820f919111b1c60b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c