[PATCH] Fix bug to get average GPU power

Quan, Evan Evan.Quan at amd.com
Tue Oct 27 03:29:04 UTC 2020


[AMD Official Use Only - Internal Distribution Only]

Reviewed-by: Evan Quan <evan.quan at amd.com<mailto:evan.quan at amd.com>>

From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Lei Guo
Sent: Friday, October 23, 2020 11:03 AM
To: amd-gfx at lists.freedesktop.org
Subject: [PATCH] Fix bug to get average GPU power


>From 0277318fc1799d17878d9f407254773fc2bb964c Mon Sep 17 00:00:00 2001

From: Guo Lei <raykwok1150 at 163.com<mailto:raykwok1150 at 163.com>>

Date: Fri, 16 Oct 2020 17:03:44 +0800

Subject: [PATCH] Fix bug to get average GPU power



Synchronize emu amd_pp_sensors with kgd_pp_interface.h



Signed-off-by: Guo Lei <raykwok1150 at 163.com<mailto:raykwok1150 at 163.com>>

Change-Id: I531fa006ecdd1d42e589bbfe79a7d6699ae5b2b6

---

 src/umr.h | 3 +++

 1 file changed, 3 insertions(+)



diff --git a/src/umr.h b/src/umr.h

index c928fad..8c45f12 100644

--- a/src/umr.h

+++ b/src/umr.h

@@ -79,6 +79,9 @@ enum amd_pp_sensors {

          AMDGPU_PP_SENSOR_MEM_LOAD,

          AMDGPU_PP_SENSOR_GFX_MCLK,

          AMDGPU_PP_SENSOR_GPU_TEMP,

+        AMDGPU_PP_SENSOR_EDGE_TEMP = AMDGPU_PP_SENSOR_GPU_TEMP,

+        AMDGPU_PP_SENSOR_HOTSPOT_TEMP,

+        AMDGPU_PP_SENSOR_MEM_TEMP,

          AMDGPU_PP_SENSOR_VCE_POWER,

          AMDGPU_PP_SENSOR_UVD_POWER,

          AMDGPU_PP_SENSOR_GPU_POWER,

--

2.17.1




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20201027/8ff88b92/attachment.htm>


More information about the amd-gfx mailing list