Acked-by: Chunming Zhou <[email protected]>

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

Ping.

Regards,
Qiang

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

From: Rex Zhu <[email protected]>

Add sensor_info type
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK

Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
---
  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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
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

Reply via email to