diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2018-10-23 11:49:17 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 04:46:49 +0200 |
commit | 37e919180c378c1fa3aca55c4052c650963f0bd1 (patch) | |
tree | e78660b475bf84d710e0a6795022396027644c06 /drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | |
parent | drm/amdgpu: add helper function to print psp hdr (diff) | |
download | linux-37e919180c378c1fa3aca55c4052c650963f0bd1.tar.xz linux-37e919180c378c1fa3aca55c4052c650963f0bd1.zip |
drm/amdgpu/psp: print out psp v11 ucode hdr in drm debug mode
Print the psp header data if requested.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index 67a53467063a..78b4687e29de 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c @@ -83,6 +83,7 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) goto out; sos_hdr = (const struct psp_firmware_header_v1_0 *)adev->psp.sos_fw->data; + amdgpu_ucode_print_psp_hdr(&sos_hdr->header); switch (sos_hdr->header.header_version_major) { case 1: |