IMU is a new firmware for GFX11. There are four means by which firmware version can be queried from the driver: device attributes, vf2pf, debugfs, and the AMDGPU_INFO_FW_VERSION option in the amdgpu info ioctl. Add IMU as an option for those four methods. V2: Added debugfs
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -763,6 +763,8 @@ struct drm_amdgpu_cs_chunk_data { · 762 unmodified lines | ||
| 763 | 763 | #define AMDGPU_INFO_FW_MES_KIQ 0x19 |
| 764 | 764 | /* Subquery id: Query MES firmware version */ |
| 765 | 765 | #define AMDGPU_INFO_FW_MES 0x1a |
| 766 | + /* Subquery id: Query IMU firmware version */ | |
| 767 | + #define AMDGPU_INFO_FW_IMU 0x1b | |
| 766 | 768 | |
| 767 | 769 | /* number of bytes moved for TTM migration */ |
| 768 | 770 | #define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f |