mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm/amd/pm: Fix missing thermal throttler status
[ Upstream commit b0f4d663fc ]
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7b7fba107b
commit
e0199ce728
@@ -1627,6 +1627,7 @@ static const struct throttling_logging_label {
|
||||
uint32_t feature_mask;
|
||||
const char *label;
|
||||
} logging_label[] = {
|
||||
{(1U << THROTTLER_TEMP_GPU_BIT), "GPU"},
|
||||
{(1U << THROTTLER_TEMP_MEM_BIT), "HBM"},
|
||||
{(1U << THROTTLER_TEMP_VR_GFX_BIT), "VR of GFX rail"},
|
||||
{(1U << THROTTLER_TEMP_VR_MEM_BIT), "VR of HBM rail"},
|
||||
|
||||
Reference in New Issue
Block a user