Commit 4badb999 authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu: provide more ucode name shown via id

Provide some lost ucode name shown via firmware ID.

v2: fix whitespace (Alex)
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 807d90b5
......@@ -688,6 +688,30 @@ const char *amdgpu_ucode_name(enum AMDGPU_UCODE_ID ucode_id)
return "UMSCH_MM_CMD_BUFFER";
case AMDGPU_UCODE_ID_JPEG_RAM:
return "JPEG";
case AMDGPU_UCODE_ID_SDMA_RS64:
return "RS64_SDMA";
case AMDGPU_UCODE_ID_CP_RS64_PFP:
return "RS64_PFP";
case AMDGPU_UCODE_ID_CP_RS64_ME:
return "RS64_ME";
case AMDGPU_UCODE_ID_CP_RS64_MEC:
return "RS64_MEC";
case AMDGPU_UCODE_ID_CP_RS64_PFP_P0_STACK:
return "RS64_PFP_P0_STACK";
case AMDGPU_UCODE_ID_CP_RS64_PFP_P1_STACK:
return "RS64_PFP_P1_STACK";
case AMDGPU_UCODE_ID_CP_RS64_ME_P0_STACK:
return "RS64_ME_P0_STACK";
case AMDGPU_UCODE_ID_CP_RS64_ME_P1_STACK:
return "RS64_ME_P1_STACK";
case AMDGPU_UCODE_ID_CP_RS64_MEC_P0_STACK:
return "RS64_MEC_P0_STACK";
case AMDGPU_UCODE_ID_CP_RS64_MEC_P1_STACK:
return "RS64_MEC_P1_STACK";
case AMDGPU_UCODE_ID_CP_RS64_MEC_P2_STACK:
return "RS64_MEC_P2_STACK";
case AMDGPU_UCODE_ID_CP_RS64_MEC_P3_STACK:
return "RS64_MEC_P3_STACK";
default:
return "UNKNOWN UCODE";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment