diff options
| author | yanyang1 <[email protected]> | 2016-05-30 07:30:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-07-07 18:51:15 +0000 |
| commit | c66875b1ee0e5da138977e616c9c203ff97ace28 (patch) | |
| tree | 4b9e8bea7d426b3017026ed3225d2fccd7228bd1 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
| parent | drm/amdgpu: properly clean up runtime pm (diff) | |
| download | kernel-c66875b1ee0e5da138977e616c9c203ff97ace28.tar.gz kernel-c66875b1ee0e5da138977e616c9c203ff97ace28.zip | |
drm/amdgpu: print smc fw info in CGS.
The non-powerplay code handles this directly. Do
it in cgs for powerplay.
Signed-off-by: yanyang1 <[email protected]>
Reviewed-by: Rex Zhu [email protected]
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index cf6f49fc1c75..1f9fd07d5d16 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -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); |
