Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: Update ta ras block

Update ta ra block to keep sync with RAS TA.

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Stanley.Yang and committed by
Alex Deucher
cc11dffc ee97326f

+11
+1
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
··· 77 77 "jpeg", 78 78 "ih", 79 79 "mpio", 80 + "mmsch", 80 81 }; 81 82 82 83 const char *ras_mca_block_string[] = {
+7
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
··· 98 98 AMDGPU_RAS_BLOCK__JPEG, 99 99 AMDGPU_RAS_BLOCK__IH, 100 100 AMDGPU_RAS_BLOCK__MPIO, 101 + AMDGPU_RAS_BLOCK__MMSCH, 101 102 102 103 AMDGPU_RAS_BLOCK__LAST, 103 104 AMDGPU_RAS_BLOCK__ANY = -1 ··· 796 795 return TA_RAS_BLOCK__VCN; 797 796 case AMDGPU_RAS_BLOCK__JPEG: 798 797 return TA_RAS_BLOCK__JPEG; 798 + case AMDGPU_RAS_BLOCK__IH: 799 + return TA_RAS_BLOCK__IH; 800 + case AMDGPU_RAS_BLOCK__MPIO: 801 + return TA_RAS_BLOCK__MPIO; 802 + case AMDGPU_RAS_BLOCK__MMSCH: 803 + return TA_RAS_BLOCK__MMSCH; 799 804 default: 800 805 WARN_ONCE(1, "RAS ERROR: unexpected block id %d\n", block); 801 806 return TA_RAS_BLOCK__UMC;
+3
drivers/gpu/drm/amd/amdgpu/ta_ras_if.h
··· 92 92 TA_RAS_BLOCK__MCA, 93 93 TA_RAS_BLOCK__VCN, 94 94 TA_RAS_BLOCK__JPEG, 95 + TA_RAS_BLOCK__IH, 96 + TA_RAS_BLOCK__MPIO, 97 + TA_RAS_BLOCK__MMSCH, 95 98 TA_NUM_BLOCK_MAX 96 99 }; 97 100