summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJunwei Zhang <Jerry.Zhang@amd.com>2017-04-26 23:12:07 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-04-28 17:33:13 -0400
commit408bfe7c3c5d036947b509356f494dc6b46025ff (patch)
treea21b4822d32cb8603697806281182eca8844ab56 /include/uapi
parent2c55b16bf0e1492ba662d884c81d324538cafce1 (diff)
drm/amdgpu: export more gpu info for gfx9
v2: 64-bit aligned for gpu info v3: squash in wave_front_fix Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Qiang Yu <Qiang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/amdgpu_drm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 95260e5043af..6c249e5cfb09 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -767,6 +767,25 @@ struct drm_amdgpu_info_device {
767 __u64 cntl_sb_buf_gpu_addr; 767 __u64 cntl_sb_buf_gpu_addr;
768 /* NGG Parameter Cache */ 768 /* NGG Parameter Cache */
769 __u64 param_buf_gpu_addr; 769 __u64 param_buf_gpu_addr;
770 __u32 prim_buf_size;
771 __u32 pos_buf_size;
772 __u32 cntl_sb_buf_size;
773 __u32 param_buf_size;
774 /* wavefront size*/
775 __u32 wave_front_size;
776 /* shader visible vgprs*/
777 __u32 num_shader_visible_vgprs;
778 /* CU per shader array*/
779 __u32 num_cu_per_sh;
780 /* number of tcc blocks*/
781 __u32 num_tcc_blocks;
782 /* gs vgt table depth*/
783 __u32 gs_vgt_table_depth;
784 /* gs primitive buffer depth*/
785 __u32 gs_prim_buffer_depth;
786 /* max gs wavefront per vgt*/
787 __u32 max_gs_waves_per_vgt;
788 __u32 _pad1;
770}; 789};
771 790
772struct drm_amdgpu_info_hw_ip { 791struct drm_amdgpu_info_hw_ip {