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>
Mon, 13 Dec 2021 21:34:27 +0000 (16:34 -0500)
commit6f072a84550d93342d7f7282e661e3834a801159
tree7ada5e2eed00f318a3aa7b8e7dab789c77108ed7
parent240e6d25a0a8ab98c042e37b2fd3c1f2cbf3e561
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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c