drm/amd: Add IMU fw version to fw version queries
authorDavid Francis <David.Francis@amd.com>
Fri, 16 Sep 2022 15:15:01 +0000 (11:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Oct 2022 18:34:47 +0000 (14:34 -0400)
commitb72362962a66693cd095389cbe41dd005bfcfb44
tree163fd9d4619c4c4037de335ec2c11d26e08e0490
parent3a3e841d050d9d919317ad2b65d80fc9c8c799dc
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

Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
include/uapi/drm/amdgpu_drm.h