]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33c8dd172552a2885672d0ac51ce66d55b09d35c
tree571c1dc0587bae4d8986b7b1d997003b478c2ba7
parent96abd8a63b6097e9c93a75839046a3cbec7e30da
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