Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c66875b1 authored by yanyang1's avatar yanyang1 Committed by Alex Deucher
Browse files

drm/amdgpu: print smc fw info in CGS.



The non-powerplay code handles this directly.  Do
it in cgs for powerplay.

Signed-off-by: default avataryanyang1 <Young.Yang@amd.com>
Reviewed-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 83ba126a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -787,6 +787,7 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
		}

		hdr = (const struct smc_firmware_header_v1_0 *)	adev->pm.fw->data;
		amdgpu_ucode_print_smc_hdr(&hdr->header);
		adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
		ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
		ucode_start_address = le32_to_cpu(hdr->ucode_start_addr);