All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix bug to get average GPU power
@ 2020-10-23  3:02 Lei Guo
  2020-10-27  3:29 ` Quan, Evan
  0 siblings, 1 reply; 4+ messages in thread
From: Lei Guo @ 2020-10-23  3:02 UTC (permalink / raw)
  To: amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 876 bytes --]

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

From: Guo Lei <raykwok1150@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@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



[-- Attachment #1.2: Type: text/html, Size: 2103 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] Fix bug to get average GPU power
  2020-10-23  3:02 [PATCH] Fix bug to get average GPU power Lei Guo
@ 2020-10-27  3:29 ` Quan, Evan
  2020-11-06 11:33   ` Tom St Denis
  0 siblings, 1 reply; 4+ messages in thread
From: Quan, Evan @ 2020-10-27  3:29 UTC (permalink / raw)
  To: Lei Guo, amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1404 bytes --]

[AMD Official Use Only - Internal Distribution Only]

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

From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Lei Guo
Sent: Friday, October 23, 2020 11:03 AM
To: amd-gfx@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@163.com<mailto:raykwok1150@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@163.com<mailto:raykwok1150@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





[-- Attachment #1.2: Type: text/html, Size: 8418 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix bug to get average GPU power
  2020-10-27  3:29 ` Quan, Evan
@ 2020-11-06 11:33   ` Tom St Denis
  2020-11-09  6:00     ` Lei Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Tom St Denis @ 2020-11-06 11:33 UTC (permalink / raw)
  To: Quan, Evan; +Cc: amd-gfx, Lei Guo


[-- Attachment #1.1: Type: text/plain, Size: 1786 bytes --]

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 <Evan.Quan@amd.com> wrote:

> [AMD Official Use Only - Internal Distribution Only]
>
> Reviewed-by: Evan Quan <evan.quan@amd.com>
>
>
>
> *From:* amd-gfx <amd-gfx-bounces@lists.freedesktop.org> *On Behalf Of *Lei
> Guo
> *Sent:* Friday, October 23, 2020 11:03 AM
> *To:* amd-gfx@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@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@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
>
>
>
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>

[-- Attachment #1.2: Type: text/html, Size: 7257 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Re: [PATCH] Fix bug to get average GPU power
  2020-11-06 11:33   ` Tom St Denis
@ 2020-11-09  6:00     ` Lei Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Lei Guo @ 2020-11-09  6:00 UTC (permalink / raw)
  To: Tom St Denis; +Cc: Quan, Evan, amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1806 bytes --]




Hi Tom


The patch is  below as an attachment. 


BR,
Lei



At 2020-11-06 19:33:36, "Tom St Denis" <tstdenis82@gmail.com> 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 <Evan.Quan@amd.com> wrote:


[AMD Official Use Only - Internal Distribution Only]





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

 

From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Lei Guo
Sent: Friday, October 23, 2020 11:03 AM
To:amd-gfx@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@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@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

 

 

 

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[-- Attachment #1.2: Type: text/html, Size: 8177 bytes --]

[-- Attachment #2: 0001-Fix-bug-to-get-average-GPU-power.patch --]
[-- Type: application/octet-stream, Size: 853 bytes --]

From 0277318fc1799d17878d9f407254773fc2bb964c Mon Sep 17 00:00:00 2001
From: Guo Lei <raykwok1150@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@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


[-- Attachment #3: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-09  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23  3:02 [PATCH] Fix bug to get average GPU power Lei Guo
2020-10-27  3:29 ` Quan, Evan
2020-11-06 11:33   ` Tom St Denis
2020-11-09  6:00     ` Lei Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.