aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-05-05 18:09:11 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-25 09:31:03 -0400
commitaf14e7c2fc9b60af70b410a7dace116eaa5e4e65 (patch)
treedabeedd1c7b8646b4c1d74b3c539d9155eea538a /include/uapi/drm/amdgpu_drm.h
parentdrm/amd/display: Drop FPU flags from dcn32_clk_mgr (diff)
downloadlinux-dev-af14e7c2fc9b60af70b410a7dace116eaa5e4e65.tar.xz
linux-dev-af14e7c2fc9b60af70b410a7dace116eaa5e4e65.zip
drm/amdgpu: add the IP discovery IP versions for HW INFO data
Use the former pad element to store the IP versions from the IP discovery table. This allows userspace to get the IP version from the kernel to better align with hardware IP versions. Proposed mesa patch: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17411/diffs?commit_id=c8a63590dfd0d64e6e6a634dcfed993f135dd075 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r--include/uapi/drm/amdgpu_drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 63de71f53110..c2c9c674a223 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -1097,7 +1097,8 @@ struct drm_amdgpu_info_hw_ip {
__u32 ib_size_alignment;
/** Bitmask of available rings. Bit 0 means ring 0, etc. */
__u32 available_rings;
- __u32 _pad;
+ /** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
+ __u32 ip_discovery_version;
};
struct drm_amdgpu_info_num_handles {