drm/amdgpu: enable ras capablity check on arcturus
Subsystems (2)
PATCH 1/2 drm/amdgpu: enable ras capablity check on arcturus
check hw ras capablity via atomfirmware
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -1
@@ -1661,7 +1661,8 @@ static void amdgpu_ras_check_supported(struct amdgpu_device *adev, *supported =0 ;if (amdgpu_sriov_vf (adev) || - adev->asic_type !=CHIP_VEGA20 ) + (adev->asic_type !=CHIP_VEGA20 && + adev->asic_type !=CHIP_ARCTURUS ))return ; if (adev->is_atom_fw &&
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20191113145705.12298-1-Hawking.Zhang-5C7GfCeVMHo@public.gmane.org
PATCH 2/2 drm/amdgpu: init umc functions for arcturus umc ras
reuse vg20 umc functions for arcturus umc ras
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2 -0
@@ -635,6 +635,7 @@ static void gmc_v9_0_set_umc_funcs(struct amdgpu_device *adev) adev->umc.funcs = &umc_v6_0_funcs;break ;case CHIP_VEGA20 : +case CHIP_ARCTURUS : adev->umc.max_ras_err_cnt_per_query =UMC_V6_1_TOTAL_CHANNEL_NUM ; adev->umc.channel_inst_num =UMC_V6_1_CHANNEL_INSTANCE_NUM ; adev->umc.umc_inst_num =UMC_V6_1_UMC_INSTANCE_NUM ;
@@ -748,6 +749,7 @@ static int gmc_v9_0_late_init(void *handle)switch (adev->asic_type) {case CHIP_VEGA10 :case CHIP_VEGA20 : +case CHIP_ARCTURUS : r =amdgpu_atomfirmware_mem_ecc_supported (adev);if (!r) {DRM_INFO ("ECC is not present.\n" );
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20191113145705.12298-2-Hawking.Zhang-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byRe: [PATCH 2/2] drm/amdgpu: init umc functions for arcturus umc ras
Quoted 5 lines · Hawking Zhang
reuse vg20 umc functions for arcturus umc ras
Change-Id Ia8af3c20a717c76ec18aa5fa332cfd81ca60ff69Signed-off-by Hawking Zhang <[email protected]>
Series is:
Quoted 27 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2
-1@@ -635,6 +635,7 @@ static void gmc_v9_0_set_umc_funcs(struct amdgpu_device *adev) adev->umc.funcs = &umc_v6_0_funcs;break ;case CHIP_VEGA20 : +case CHIP_ARCTURUS : adev->umc.max_ras_err_cnt_per_query =UMC_V6_1_TOTAL_CHANNEL_NUM ; adev->umc.channel_inst_num =UMC_V6_1_CHANNEL_INSTANCE_NUM ; adev->umc.umc_inst_num =UMC_V6_1_UMC_INSTANCE_NUM ;@@ -748,6 +749,7 @@ static int gmc_v9_0_late_init(void *handle)switch (adev->asic_type) {case CHIP_VEGA10 :case CHIP_VEGA20 : +case CHIP_ARCTURUS : r =amdgpu_atomfirmware_mem_ecc_supported (adev);if (!r) {DRM_INFO ("ECC is not present.\n" ); --2.17.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Clements, John
Reviewed-by John ClementsRE: [PATCH 2/2] drm/amdgpu: init umc functions for arcturus umc ras
In reply to a message not in the archive-----Original Message-----
From: Hawking Zhang <[email protected]>
Sent: Wednesday, November 13, 2019 10:57 PM
To: [email protected]; Deucher, Alexander <[email protected]>; Li, Dennis <[email protected]>; Clements, John <[email protected]>
Cc: Zhang, Hawking <[email protected]>
Subject: [PATCH 2/2] drm/amdgpu: init umc functions for arcturus umc ras
reuse vg20 umc functions for arcturus umc ras
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1 -0
@@ -635,6 +635,7 @@ static void gmc_v9_0_set_umc_funcs(struct amdgpu_device *adev) adev->umc.funcs = &umc_v6_0_funcs;break ;case CHIP_VEGA20 : +case CHIP_ARCTURUS : adev->umc.max_ras_err_cnt_per_query =UMC_V6_1_TOTAL_CHANNEL_NUM ; adev->umc.channel_inst_num =UMC_V6_1_CHANNEL_INSTANCE_NUM ; adev->umc.umc_inst_num = UMC_V6_1_UMC_INSTANCE_NUM; @@ -748,6 +749,7 @@ static int gmc_v9_0_late_init(void *handle)
switch (adev->asic_type) {
case CHIP_VEGA10:
case CHIP_VEGA20:
+ case CHIP_ARCTURUS:
r = amdgpu_atomfirmware_mem_ecc_supported(adev); if (!r) {
DRM_INFO("ECC is not present.\n");
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx