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:44:03 +0000 (14:44 -0400)
commit68bc147363bd9769a07d1cbf5cbe2bb4573f4e3c
tree571c1dc0587bae4d8986b7b1d997003b478c2ba7
parentabe4d9f03fae76c9650b0d942faf6990b35c377b
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