drm/amdgpu: Expose TA FW version in fw_version file
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +2 -2
@@ -403,8 +403,8 @@ FW_VERSION_ATTR(mec_fw_version, 0444, gfx.mec_fw_version);FW_VERSION_ATTR (mec2_fw_version,0444 , gfx.mec2_fw_version);FW_VERSION_ATTR (sos_fw_version,0444 , psp.sos_fw_version);FW_VERSION_ATTR (asd_fw_version,0444 , psp.asd_fw_version); -FW_VERSION_ATTR (ta_ras_fw_version,0444 , psp.ta_fw_version); -FW_VERSION_ATTR (ta_xgmi_fw_version,0444 , psp.ta_fw_version); +FW_VERSION_ATTR (ta_ras_fw_version,0444 , psp.ta_ras_ucode_version); +FW_VERSION_ATTR (ta_xgmi_fw_version,0444 , psp.ta_xgmi_ucode_version);FW_VERSION_ATTR (smc_fw_version,0444 , pm.fw_version);FW_VERSION_ATTR (sdma_fw_version,0444 , sdma.instance[0 ].fw_version);FW_VERSION_ATTR (sdma2_fw_version,0444 , sdma.instance[1 ].fw_version);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 6 lines · Kent Russell
Reporting the
fw_versionjust returns 0, the actual version is kept as ta_*_ucode_version. This is the same as the feature reported in theamdgpu_firmware_infodebugfs file.Signed-off-by Kent Russell <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +2
-3@@ -403,8 +403,8 @@ FW_VERSION_ATTR(mec_fw_version, 0444, gfx.mec_fw_version);FW_VERSION_ATTR (mec2_fw_version,0444 , gfx.mec2_fw_version);FW_VERSION_ATTR (sos_fw_version,0444 , psp.sos_fw_version);FW_VERSION_ATTR (asd_fw_version,0444 , psp.asd_fw_version); -FW_VERSION_ATTR (ta_ras_fw_version,0444 , psp.ta_fw_version); -FW_VERSION_ATTR (ta_xgmi_fw_version,0444 , psp.ta_fw_version); +FW_VERSION_ATTR (ta_ras_fw_version,0444 , psp.ta_ras_ucode_version); +FW_VERSION_ATTR (ta_xgmi_fw_version,0444 , psp.ta_xgmi_ucode_version);FW_VERSION_ATTR (smc_fw_version,0444 , pm.fw_version);FW_VERSION_ATTR (sdma_fw_version,0444 , sdma.instance[0 ].fw_version);FW_VERSION_ATTR (sdma2_fw_version,0444 , sdma.instance[1 ].fw_version); --2.17.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx