Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

2018-03-30 Thread Alex Deucher
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...@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.z...@amd.com>
>
>
> On 2018年03月29日 09:10, Yu, Qiang wrote:
>> Hi guys,
>>
>> Ping.
>>
>> Regards,
>> Qiang
>>
>> 
>> From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Qiang Yu 
>> <qiang...@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@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.q...@amd.com>
>> Signed-off-by: Rex Zhu <rex@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_VDDNB0x6
>>  /* 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


Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

2018-03-29 Thread Yu, Qiang
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.z...@amd.com>


On 2018年03月29日 09:10, Yu, Qiang wrote:
> Hi guys,
>
> Ping.
>
> Regards,
> Qiang
>
> 
> From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Qiang Yu 
> <qiang...@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@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.q...@amd.com>
> Signed-off-by: Rex Zhu <rex@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_VDDNB0x6
>  /* 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


Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

2018-03-28 Thread zhoucm1

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


On 2018年03月29日 09:10, Yu, Qiang wrote:

Hi guys,

Ping.

Regards,
Qiang


From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Qiang Yu 
<qiang...@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@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.q...@amd.com>
Signed-off-by: Rex Zhu <rex@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_VDDNB0x6
 /* 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


Re: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

2018-03-28 Thread Yu, Qiang
Hi guys,

Ping.

Regards,
Qiang


From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Qiang Yu 
<qiang...@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@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.q...@amd.com>
Signed-off-by: Rex Zhu <rex@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_VDDNB0x6
/* 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


[PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

2018-03-20 Thread Qiang Yu
From: Rex Zhu 

Add sensor_info type
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK

Reviewed-by: Evan Quan 
Signed-off-by: Rex Zhu 
---
 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_VDDNB0x6
/* 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