OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Dec 2021 22:52:28 +0000 (17:52 -0500)
commitdcd10d879a9d1d4e929d374c2f24aba8fac3252b
tree4c1bfc61669b00953c951cc9f6b2da522379aacb
parent841933d5b8aa853abe68e63827f68f50fab37226
drm/amd/pm: fix reading SMU FW version from amdgpu_firmware_info on YC

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
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c