drm/amd/pm: fix reading SMU FW version from amdgpu_firmware_info on YC
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 9 Dec 2021 18:13:53 +0000 (12:13 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:32:49 +0000 (09:32 +0100)
commite3a01c14e806f10e2427d067814db7af1cc85952
tree05a3c2213a4920283ad321aca58643e5f8a8a0fe
parenta386ae526866cd6893616e4f51d8040f19fb5193
drm/amd/pm: fix reading SMU FW version from amdgpu_firmware_info on YC

commit dcd10d879a9d1d4e929d374c2f24aba8fac3252b upstream.

This value does not get cached into adev->pm.fw_version during
startup for smu13 like it does for other SMU like smu12.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c