From: jsg Date: Wed, 15 Jun 2022 07:40:33 +0000 (+0000) Subject: drm/amd/pm: Fix missing thermal throttler status X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=74bf867ba1283aa7ce60a5786a8d7fcd924b564a;p=openbsd drm/amd/pm: Fix missing thermal throttler status From Lijo Lazar e0199ce728fb98a96a20136a5edb11c160d3151f in linux 5.15.y/5.15.47 b0f4d663fce6a4232d3c20ce820f919111b1c60b in mainline linux --- diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c b/sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c index eba258b77b0..30947a3e7c8 100644 --- a/sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +++ b/sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c @@ -1629,6 +1629,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"},