History

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

Alex Deucher committed 4 years ago

Commit af14e7c1 parent 041a1102 files · +26 −1Browse files

Showing the changes to include/uapi/drm (1 of 2 files). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+2−1
@@ -1097,7 +1097,8 @@ struct drm_amdgpu_info_hw_ip { · 1096 unmodified lines
1097 __u32 ib_size_alignment;1097 __u32 ib_size_alignment;
1098 /** Bitmask of available rings. Bit 0 means ring 0, etc. */1098 /** Bitmask of available rings. Bit 0 means ring 0, etc. */
1099 __u32 available_rings;1099 __u32 available_rings;
1100 __u32 _pad;1100 /** version info: bits 23:16 major, 15:8 minor, 7:0 revision */
1101 __u32 ip_discovery_version;
1101};1102};
1102 1103
1103struct drm_amdgpu_info_num_handles {1104struct drm_amdgpu_info_num_handles {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t