drm/amdgpu: Report Missing MES Firmware Versions with Sysfs
authorOri Messinger <Ori.Messinger@amd.com>
Wed, 26 Jul 2023 16:29:03 +0000 (12:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:14:07 +0000 (17:14 -0400)
commit557d466b15a52f23955a9077272ad8c32def624a
tree0db4eed0de5bbcee1571779bcde6ed8d5b766595
parentd124aa0ac96358042ba34df091a3bfa6e77fcf6f
drm/amdgpu: Report Missing MES Firmware Versions with Sysfs

Added missing MES firmware versions to the 'fw_version' sysfs
directory, they should now exist as a files named "mes_fw_version"
and "mes_kiq_fw_version" found at:

/sys/class/drm/cardX/device/fw_version/mes_fw_version
/sys/class/drm/cardX/device/fw_version/mes_kiq_fw_version
Where X is the card number, and the version is displayed in hexadecimal.

Signed-off-by: Ori Messinger <ori.messinger@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c