]> Git Repo - linux.git/commitdiff
drm/amdgpu: print ras drv fw debug info
authorStanley.Yang <[email protected]>
Thu, 23 Mar 2023 07:51:19 +0000 (15:51 +0800)
committerAlex Deucher <[email protected]>
Fri, 31 Mar 2023 15:18:32 +0000 (11:18 -0400)
Signed-off-by: Stanley.Yang <[email protected]>
Reviewed-by: Candice Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

index 6d2879ac585b1190640520b64944fb0bc9044eb7..f76b1cb8baf85591670129ea231bc6138a6d43f1 100644 (file)
@@ -459,6 +459,12 @@ void amdgpu_ucode_print_psp_hdr(const struct common_firmware_header *hdr)
                                DRM_DEBUG("psp_dbg_drv_size_bytes: %u\n",
                                          le32_to_cpu(desc->size_bytes));
                                break;
+                       case PSP_FW_TYPE_PSP_RAS_DRV:
+                               DRM_DEBUG("psp_ras_drv_version: %u\n",
+                                         le32_to_cpu(desc->fw_version));
+                               DRM_DEBUG("psp_ras_drv_size_bytes: %u\n",
+                                         le32_to_cpu(desc->size_bytes));
+                               break;
                        default:
                                DRM_DEBUG("Unsupported PSP fw type: %d\n", desc->fw_type);
                                break;
This page took 0.058151 seconds and 4 git commands to generate.