mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 07:08:06 -04:00
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: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user