History

drm/amd: Add IMU fw version to fw version queries

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

David Francis committed 4 years ago

Commit 68bc1471 parent abe4d9f5 files · +20 −1Browse files

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

Unified · Split

include/uapi/drm/amdgpu_drm.h+2−0
@@ -763,6 +763,8 @@ struct drm_amdgpu_cs_chunk_data { · 762 unmodified lines
763 #define AMDGPU_INFO_FW_MES_KIQ 0x19763 #define AMDGPU_INFO_FW_MES_KIQ 0x19
764 /* Subquery id: Query MES firmware version */764 /* Subquery id: Query MES firmware version */
765 #define AMDGPU_INFO_FW_MES 0x1a765 #define AMDGPU_INFO_FW_MES 0x1a
766 /* Subquery id: Query IMU firmware version */
767 #define AMDGPU_INFO_FW_IMU 0x1b
766 768
767/* number of bytes moved for TTM migration */769/* number of bytes moved for TTM migration */
768#define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f770#define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f