aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Zhu2018-03-20 01:08:09 -0500
committerChunming Zhou2018-03-29 21:50:27 -0500
commit2fa58c77fb9e563219f8ec647b9ddf52f3390ed2 (patch)
tree4e41586a4ffdabbb3b2d2c67948ca1706597a0c1 /include
parent4dfa458979c345ea5eb46749f545d78c09e3f244 (diff)
downloadexternal-libgbm-2fa58c77fb9e563219f8ec647b9ddf52f3390ed2.tar.gz
external-libgbm-2fa58c77fb9e563219f8ec647b9ddf52f3390ed2.tar.xz
external-libgbm-2fa58c77fb9e563219f8ec647b9ddf52f3390ed2.zip
headers: sync up amdgpu_drm.h with drm-next
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>
Diffstat (limited to 'include')
-rw-r--r--include/drm/amdgpu_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index a023b476..f784f248 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -656,6 +656,10 @@ struct drm_amdgpu_cs_chunk_data {
656 #define AMDGPU_INFO_SENSOR_VDDNB 0x6 656 #define AMDGPU_INFO_SENSOR_VDDNB 0x6
657 /* Subquery id: Query graphics voltage */ 657 /* Subquery id: Query graphics voltage */
658 #define AMDGPU_INFO_SENSOR_VDDGFX 0x7 658 #define AMDGPU_INFO_SENSOR_VDDGFX 0x7
659 /* Subquery id: Query GPU stable pstate shader clock */
660 #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK 0x8
661 /* Subquery id: Query GPU stable pstate memory clock */
662 #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK 0x9
659/* Number of VRAM page faults on CPU access. */ 663/* Number of VRAM page faults on CPU access. */
660#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E 664#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E
661#define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F 665#define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F