Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: Expose TA FW version in fw_version file

Reporting the fw_version just returns 0, the actual version is kept as
ta_*_ucode_version. This is the same as the feature reported in
the amdgpu_firmware_info debugfs file.

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Kent Russell and committed by
Alex Deucher
358e00e0 fabe01d7

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
··· 403 403 FW_VERSION_ATTR(mec2_fw_version, 0444, gfx.mec2_fw_version); 404 404 FW_VERSION_ATTR(sos_fw_version, 0444, psp.sos_fw_version); 405 405 FW_VERSION_ATTR(asd_fw_version, 0444, psp.asd_fw_version); 406 - FW_VERSION_ATTR(ta_ras_fw_version, 0444, psp.ta_fw_version); 407 - FW_VERSION_ATTR(ta_xgmi_fw_version, 0444, psp.ta_fw_version); 406 + FW_VERSION_ATTR(ta_ras_fw_version, 0444, psp.ta_ras_ucode_version); 407 + FW_VERSION_ATTR(ta_xgmi_fw_version, 0444, psp.ta_xgmi_ucode_version); 408 408 FW_VERSION_ATTR(smc_fw_version, 0444, pm.fw_version); 409 409 FW_VERSION_ATTR(sdma_fw_version, 0444, sdma.instance[0].fw_version); 410 410 FW_VERSION_ATTR(sdma2_fw_version, 0444, sdma.instance[1].fw_version);