All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
@ 2018-03-20  6:08 Qiang Yu
       [not found] ` <1521526089-2706-1-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Qiang Yu @ 2018-03-20  6:08 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Rex Zhu

From: Rex Zhu <Rex.Zhu@amd.com>

Add sensor_info type
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
---
 include/drm/amdgpu_drm.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index f9d81bf..c519776 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -723,6 +723,10 @@ struct drm_amdgpu_cs_chunk_data {
 	#define AMDGPU_INFO_SENSOR_VDDNB		0x6
 	/* Subquery id: Query graphics voltage */
 	#define AMDGPU_INFO_SENSOR_VDDGFX		0x7
+	/* Subquery id: Query GPU stable pstate shader clock */
+	#define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK		0x8
+	/* Subquery id: Query GPU stable pstate memory clock */
+	#define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK		0x9
 /* Number of VRAM page faults on CPU access. */
 #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS	0x1E
 #define AMDGPU_INFO_VRAM_LOST_COUNTER		0x1F
-- 
1.9.1

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

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

* Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
       [not found] ` <1521526089-2706-1-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
@ 2018-03-29  1:10   ` Yu, Qiang
       [not found]     ` <DM5PR1201MB0121EF299ABC93EE458A11688FA20-grEf7a3NxMD4CsP3eSZmAmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Yu, Qiang @ 2018-03-29  1:10 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Zhu, Rex

Hi guys,

Ping.

Regards,
Qiang

________________________________________
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Qiang Yu <Qiang.Yu@amd.com>
Sent: Tuesday, March 20, 2018 2:08:09 PM
To: amd-gfx@lists.freedesktop.org
Cc: Zhu, Rex
Subject: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

From: Rex Zhu <Rex.Zhu@amd.com>

Add sensor_info type
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
---
 include/drm/amdgpu_drm.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index f9d81bf..c519776 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -723,6 +723,10 @@ struct drm_amdgpu_cs_chunk_data {
        #define AMDGPU_INFO_SENSOR_VDDNB                0x6
        /* Subquery id: Query graphics voltage */
        #define AMDGPU_INFO_SENSOR_VDDGFX               0x7
+       /* Subquery id: Query GPU stable pstate shader clock */
+       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK               0x8
+       /* Subquery id: Query GPU stable pstate memory clock */
+       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK               0x9
 /* Number of VRAM page faults on CPU access. */
 #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS   0x1E
 #define AMDGPU_INFO_VRAM_LOST_COUNTER          0x1F
--
1.9.1

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

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

* Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
       [not found]     ` <DM5PR1201MB0121EF299ABC93EE458A11688FA20-grEf7a3NxMD4CsP3eSZmAmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
@ 2018-03-29  3:07       ` zhoucm1
       [not found]         ` <1778cdc5-1e8a-9395-76b0-23f4d3c15451-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: zhoucm1 @ 2018-03-29  3:07 UTC (permalink / raw)
  To: Yu, Qiang, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Zhu, Rex

Acked-by: Chunming Zhou <david1.zhou@amd.com>


On 2018年03月29日 09:10, Yu, Qiang wrote:
> Hi guys,
>
> Ping.
>
> Regards,
> Qiang
>
> ________________________________________
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Qiang Yu <Qiang.Yu@amd.com>
> Sent: Tuesday, March 20, 2018 2:08:09 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
>
> From: Rex Zhu <Rex.Zhu@amd.com>
>
> Add sensor_info type
> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK
>
> Reviewed-by: Evan Quan <evan.quan@amd.com>
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
> ---
>   include/drm/amdgpu_drm.h | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
> index f9d81bf..c519776 100644
> --- a/include/drm/amdgpu_drm.h
> +++ b/include/drm/amdgpu_drm.h
> @@ -723,6 +723,10 @@ struct drm_amdgpu_cs_chunk_data {
>          #define AMDGPU_INFO_SENSOR_VDDNB                0x6
>          /* Subquery id: Query graphics voltage */
>          #define AMDGPU_INFO_SENSOR_VDDGFX               0x7
> +       /* Subquery id: Query GPU stable pstate shader clock */
> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK               0x8
> +       /* Subquery id: Query GPU stable pstate memory clock */
> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK               0x9
>   /* Number of VRAM page faults on CPU access. */
>   #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS   0x1E
>   #define AMDGPU_INFO_VRAM_LOST_COUNTER          0x1F
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

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

* Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
       [not found]         ` <1778cdc5-1e8a-9395-76b0-23f4d3c15451-5C7GfCeVMHo@public.gmane.org>
@ 2018-03-30  2:04           ` Yu, Qiang
       [not found]             ` <CY4PR1201MB011768509DAFED221933D7528FA10-1iTaO6aE1DAP/tBwSbHU42rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Yu, Qiang @ 2018-03-30  2:04 UTC (permalink / raw)
  To: Zhou, David(ChunMing), amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Zhu, Rex

Hi, Can anyone submit it?

Thanks,
Qiang

________________________________________
From: Zhou, David(ChunMing)
Sent: Thursday, March 29, 2018 11:07:09 AM
To: Yu, Qiang; amd-gfx@lists.freedesktop.org
Cc: Zhu, Rex
Subject: Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

Acked-by: Chunming Zhou <david1.zhou@amd.com>


On 2018年03月29日 09:10, Yu, Qiang wrote:
> Hi guys,
>
> Ping.
>
> Regards,
> Qiang
>
> ________________________________________
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Qiang Yu <Qiang.Yu@amd.com>
> Sent: Tuesday, March 20, 2018 2:08:09 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
>
> From: Rex Zhu <Rex.Zhu@amd.com>
>
> Add sensor_info type
> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK
>
> Reviewed-by: Evan Quan <evan.quan@amd.com>
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
> ---
>   include/drm/amdgpu_drm.h | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
> index f9d81bf..c519776 100644
> --- a/include/drm/amdgpu_drm.h
> +++ b/include/drm/amdgpu_drm.h
> @@ -723,6 +723,10 @@ struct drm_amdgpu_cs_chunk_data {
>          #define AMDGPU_INFO_SENSOR_VDDNB                0x6
>          /* Subquery id: Query graphics voltage */
>          #define AMDGPU_INFO_SENSOR_VDDGFX               0x7
> +       /* Subquery id: Query GPU stable pstate shader clock */
> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK               0x8
> +       /* Subquery id: Query GPU stable pstate memory clock */
> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK               0x9
>   /* Number of VRAM page faults on CPU access. */
>   #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS   0x1E
>   #define AMDGPU_INFO_VRAM_LOST_COUNTER          0x1F
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

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

* Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
       [not found]             ` <CY4PR1201MB011768509DAFED221933D7528FA10-1iTaO6aE1DAP/tBwSbHU42rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
@ 2018-03-30 13:21               ` Alex Deucher
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2018-03-30 13:21 UTC (permalink / raw)
  To: Yu, Qiang
  Cc: Zhou, David(ChunMing),
	Zhu, Rex, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Chunming submitted it:
https://cgit.freedesktop.org/mesa/drm/commit/include/drm/amdgpu_drm.h?id=2fa58c77fb9e563219f8ec647b9ddf52f3390ed2

Alex

On Thu, Mar 29, 2018 at 10:04 PM, Yu, Qiang <Qiang.Yu@amd.com> wrote:
> Hi, Can anyone submit it?
>
> Thanks,
> Qiang
>
> ________________________________________
> From: Zhou, David(ChunMing)
> Sent: Thursday, March 29, 2018 11:07:09 AM
> To: Yu, Qiang; amd-gfx@lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
>
> Acked-by: Chunming Zhou <david1.zhou@amd.com>
>
>
> On 2018年03月29日 09:10, Yu, Qiang wrote:
>> Hi guys,
>>
>> Ping.
>>
>> Regards,
>> Qiang
>>
>> ________________________________________
>> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Qiang Yu <Qiang.Yu@amd.com>
>> Sent: Tuesday, March 20, 2018 2:08:09 PM
>> To: amd-gfx@lists.freedesktop.org
>> Cc: Zhu, Rex
>> Subject: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
>>
>> From: Rex Zhu <Rex.Zhu@amd.com>
>>
>> Add sensor_info type
>> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
>> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK
>>
>> Reviewed-by: Evan Quan <evan.quan@amd.com>
>> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
>> ---
>>   include/drm/amdgpu_drm.h | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
>> index f9d81bf..c519776 100644
>> --- a/include/drm/amdgpu_drm.h
>> +++ b/include/drm/amdgpu_drm.h
>> @@ -723,6 +723,10 @@ struct drm_amdgpu_cs_chunk_data {
>>          #define AMDGPU_INFO_SENSOR_VDDNB                0x6
>>          /* Subquery id: Query graphics voltage */
>>          #define AMDGPU_INFO_SENSOR_VDDGFX               0x7
>> +       /* Subquery id: Query GPU stable pstate shader clock */
>> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK               0x8
>> +       /* Subquery id: Query GPU stable pstate memory clock */
>> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK               0x9
>>   /* Number of VRAM page faults on CPU access. */
>>   #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS   0x1E
>>   #define AMDGPU_INFO_VRAM_LOST_COUNTER          0x1F
>> --
>> 1.9.1
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2018-03-30 13:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20  6:08 [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next Qiang Yu
     [not found] ` <1521526089-2706-1-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
2018-03-29  1:10   ` Yu, Qiang
     [not found]     ` <DM5PR1201MB0121EF299ABC93EE458A11688FA20-grEf7a3NxMD4CsP3eSZmAmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2018-03-29  3:07       ` zhoucm1
     [not found]         ` <1778cdc5-1e8a-9395-76b0-23f4d3c15451-5C7GfCeVMHo@public.gmane.org>
2018-03-30  2:04           ` Yu, Qiang
     [not found]             ` <CY4PR1201MB011768509DAFED221933D7528FA10-1iTaO6aE1DAP/tBwSbHU42rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2018-03-30 13:21               ` Alex Deucher

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.