drm/amd/pm: Fix missing thermal throttler status
authorjsg <jsg@openbsd.org>
Wed, 15 Jun 2022 07:40:33 +0000 (07:40 +0000)
committerjsg <jsg@openbsd.org>
Wed, 15 Jun 2022 07:40:33 +0000 (07:40 +0000)
From Lijo Lazar
e0199ce728fb98a96a20136a5edb11c160d3151f in linux 5.15.y/5.15.47
b0f4d663fce6a4232d3c20ce820f919111b1c60b in mainline linux

sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c

index eba258b..30947a3 100644 (file)
@@ -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"},