summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2023-02-18 03:39:42 -0500
committerMarge Bot <emma+marge@anholt.net>2023-03-03 00:41:48 +0000
commit03ffb8d77c646c73fedef882605aac671d856718 (patch)
tree3a2e373294989bc720cd3f12b6be7dc50f0671d9 /include
parent8e86ba3dd404d71cf227f60c8337663c97db231e (diff)
downloadmesa-03ffb8d77c646c73fedef882605aac671d856718.tar.gz
mesa-03ffb8d77c646c73fedef882605aac671d856718.tar.bz2
mesa-03ffb8d77c646c73fedef882605aac671d856718.zip
amd: update amdgpu_drm.h
From kernel commit 817714d9665e. Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21641>
Diffstat (limited to 'include')
-rw-r--r--include/drm-uapi/amdgpu_drm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/drm-uapi/amdgpu_drm.h b/include/drm-uapi/amdgpu_drm.h
index 45dc7e00c89..b6eb90df5d0 100644
--- a/include/drm-uapi/amdgpu_drm.h
+++ b/include/drm-uapi/amdgpu_drm.h
@@ -1116,6 +1116,16 @@ struct drm_amdgpu_info_device {
__u64 tcc_disabled_mask;
__u64 min_engine_clock;
__u64 min_memory_clock;
+ /* The following fields are only set on gfx11+, older chips set 0. */
+ __u32 tcp_cache_size; /* AKA GL0, VMEM cache */
+ __u32 num_sqc_per_wgp;
+ __u32 sqc_data_cache_size; /* AKA SMEM cache */
+ __u32 sqc_inst_cache_size;
+ __u32 gl1c_cache_size;
+ __u32 gl2c_cache_size;
+ __u64 mall_size; /* AKA infinity cache */
+ /* high 32 bits of the rb pipes mask */
+ __u32 enabled_rb_pipes_mask_hi;
};
struct drm_amdgpu_info_hw_ip {