Skip to contentSkip to conversation

Fix bug to get average GPU power

PATCH In review Lei Guo 3 participants 4 messages Oct 23, 2020 – Nov 9, 2020

lore
Share & tools
lore

Lei Guo

author
#0 lore raw

PATCH 1/1 Fix bug to get average GPU power

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

From: Guo Lei <[email protected]>

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

Change-Id: I531fa006ecdd1d42e589bbfe79a7d6699ae5b2b6

---

 src/umr.h | 3 +++
 1 file changed, 3 insertions(+)
src/umr.h +0 -0

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,

Signature · 1 line
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reviewed-by Evan Quan on v1 1/1
#1 lore raw

[AMD Official Use Only - Internal Distribution Only]

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

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

From: Guo Lei <[email protected]<mailto:[email protected]>>

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

Change-Id: I531fa006ecdd1d42e589bbfe79a7d6699ae5b2b6

---

 src/umr.h | 3 +++
 1 file changed, 3 insertions(+)
src/umr.h +0 -0

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

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#2 lore raw

For whatever reason when I download this message and try to add it with "git am" it says the patch is empty.

Can you attach the patch as an attachment please?

Thanks,
Tom

Quoted 77 lines · Evan

[AMD Official Use Only - Internal Distribution Only]

*From:* amd-gfx <[email protected]> *On Behalf Of *Lei Guo
*Sent:* Friday, October 23, 2020 11:03 AM
*To:* [email protected]
*Subject:* [PATCH] Fix bug to get average GPU power

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

From: Guo Lei <[email protected]>

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

Change-Id: I531fa006ecdd1d42e589bbfe79a7d6699ae5b2b6

---

 src/umr.h | 3 +++
 1 file changed, 3 insertions(+)
src/umr.h +0 -0

index c928fad..8c45f12 100644

--- a/src/umr.h

+++ b/src/umr.h

src/umr.h +3 -1
@@ -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

Quoted 5 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

author Reviewed-by Evan Quan
#3 lore raw

Hi Tom

The patch is below as an attachment.

BR,
Lei

At 2020-11-06 19:33:36, "Tom St Denis" <[email protected]> wrote:

For whatever reason when I download this message and try to add it with "git am" it says the patch is empty.

Can you attach the patch as an attachment please?

Thanks,
Tom

On Mon, Oct 26, 2020 at 11:29 PM Quan, Evan <[email protected]> wrote:

[AMD Official Use Only - Internal Distribution Only]

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

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

From: Guo Lei <[email protected]>

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

Change-Id: I531fa006ecdd1d42e589bbfe79a7d6699ae5b2b6

---

 src/umr.h | 3 +++
 1 file changed, 3 insertions(+)
src/umr.h +0 -0

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,

Signature · 12 lines
2.17.1

 

 

 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

From 0277318fc1799d17878d9f407254773fc2bb964c Mon Sep 17 00:00:00 2001
From: Guo Lei <[email protected]>
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

Change-Id I531fa006ecdd1d42e589bbfe79a7d6699ae5b2b6
---
 src/umr.h | 3 +++
 1 file changed, 3 insertions(+)
src/umr.h +3 -0
index c928fad..8c45f12 100644
@@ -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,
Signature · 1 line
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx