/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_hdp.c | 37 if (!adev->hdp.ras_if) { in amdgpu_hdp_ras_late_init() 39 if (!adev->hdp.ras_if) in amdgpu_hdp_ras_late_init() 43 adev->hdp.ras_if->sub_block_index = 0; in amdgpu_hdp_ras_late_init() 45 ih_info.head = fs_info.head = *adev->hdp.ras_if; in amdgpu_hdp_ras_late_init() 46 r = amdgpu_ras_late_init(adev, adev->hdp.ras_if, in amdgpu_hdp_ras_late_init() 49 kfree(adev->hdp.ras_if); in amdgpu_hdp_ras_late_init() 50 adev->hdp.ras_if = NULL; in amdgpu_hdp_ras_late_init() 59 adev->hdp.ras_if) { in amdgpu_hdp_ras_fini() 60 struct ras_common_if *ras_if = adev->hdp.ras_if; in amdgpu_hdp_ras_fini() local 65 amdgpu_ras_late_fini(adev, ras_if, &ih_info); in amdgpu_hdp_ras_fini() [all …]
|
A D | amdgpu_mmhub.c | 37 if (!adev->mmhub.ras_if) { in amdgpu_mmhub_ras_late_init() 39 if (!adev->mmhub.ras_if) in amdgpu_mmhub_ras_late_init() 43 adev->mmhub.ras_if->sub_block_index = 0; in amdgpu_mmhub_ras_late_init() 45 ih_info.head = fs_info.head = *adev->mmhub.ras_if; in amdgpu_mmhub_ras_late_init() 46 r = amdgpu_ras_late_init(adev, adev->mmhub.ras_if, in amdgpu_mmhub_ras_late_init() 49 kfree(adev->mmhub.ras_if); in amdgpu_mmhub_ras_late_init() 50 adev->mmhub.ras_if = NULL; in amdgpu_mmhub_ras_late_init() 59 adev->mmhub.ras_if) { in amdgpu_mmhub_ras_fini() 60 struct ras_common_if *ras_if = adev->mmhub.ras_if; in amdgpu_mmhub_ras_fini() local 65 amdgpu_ras_late_fini(adev, ras_if, &ih_info); in amdgpu_mmhub_ras_fini() [all …]
|
A D | amdgpu_nbio.c | 35 if (!adev->nbio.ras_if) { in amdgpu_nbio_ras_late_init() 37 if (!adev->nbio.ras_if) in amdgpu_nbio_ras_late_init() 41 adev->nbio.ras_if->sub_block_index = 0; in amdgpu_nbio_ras_late_init() 43 ih_info.head = fs_info.head = *adev->nbio.ras_if; in amdgpu_nbio_ras_late_init() 44 r = amdgpu_ras_late_init(adev, adev->nbio.ras_if, in amdgpu_nbio_ras_late_init() 65 kfree(adev->nbio.ras_if); in amdgpu_nbio_ras_late_init() 66 adev->nbio.ras_if = NULL; in amdgpu_nbio_ras_late_init() 73 adev->nbio.ras_if) { in amdgpu_nbio_ras_fini() 74 struct ras_common_if *ras_if = adev->nbio.ras_if; in amdgpu_nbio_ras_fini() local 79 amdgpu_ras_late_fini(adev, ras_if, &ih_info); in amdgpu_nbio_ras_fini() [all …]
|
A D | amdgpu_sdma.c | 101 if (!adev->sdma.ras_if) { in amdgpu_sdma_ras_late_init() 103 if (!adev->sdma.ras_if) in amdgpu_sdma_ras_late_init() 133 kfree(adev->sdma.ras_if); in amdgpu_sdma_ras_late_init() 134 adev->sdma.ras_if = NULL; in amdgpu_sdma_ras_late_init() 141 adev->sdma.ras_if) { in amdgpu_sdma_ras_fini() 142 struct ras_common_if *ras_if = adev->sdma.ras_if; in amdgpu_sdma_ras_fini() local 144 .head = *ras_if, in amdgpu_sdma_ras_fini() 153 kfree(ras_if); in amdgpu_sdma_ras_fini() 171 struct ras_common_if *ras_if = adev->sdma.ras_if; in amdgpu_sdma_process_ecc_irq() local 176 if (!ras_if) in amdgpu_sdma_process_ecc_irq() [all …]
|
A D | amdgpu_umc.c | 36 if (!adev->umc.ras_if) { in amdgpu_umc_ras_late_init() 37 adev->umc.ras_if = in amdgpu_umc_ras_late_init() 39 if (!adev->umc.ras_if) in amdgpu_umc_ras_late_init() 71 kfree(adev->umc.ras_if); in amdgpu_umc_ras_late_init() 72 adev->umc.ras_if = NULL; in amdgpu_umc_ras_late_init() 79 adev->umc.ras_if) { in amdgpu_umc_ras_fini() 80 struct ras_common_if *ras_if = adev->umc.ras_if; in amdgpu_umc_ras_fini() local 82 .head = *ras_if, in amdgpu_umc_ras_fini() 87 kfree(ras_if); in amdgpu_umc_ras_fini() 150 struct ras_common_if *ras_if = adev->umc.ras_if; in amdgpu_umc_process_ecc_irq() local [all …]
|
A D | amdgpu_mca.c | 85 if (!mca_dev->ras_if) { in amdgpu_mca_ras_late_init() 87 if (!mca_dev->ras_if) in amdgpu_mca_ras_late_init() 89 mca_dev->ras_if->block = mca_dev->ras_funcs->ras_block; in amdgpu_mca_ras_late_init() 93 ih_info.head = fs_info.head = *mca_dev->ras_if; in amdgpu_mca_ras_late_init() 94 r = amdgpu_ras_late_init(adev, mca_dev->ras_if, in amdgpu_mca_ras_late_init() 97 kfree(mca_dev->ras_if); in amdgpu_mca_ras_late_init() 98 mca_dev->ras_if = NULL; in amdgpu_mca_ras_late_init() 111 if (!mca_dev->ras_if) in amdgpu_mca_ras_fini() 114 amdgpu_ras_late_fini(adev, mca_dev->ras_if, &ih_info); in amdgpu_mca_ras_fini() 115 kfree(mca_dev->ras_if); in amdgpu_mca_ras_fini() [all …]
|
A D | amdgpu_gfx.c | 635 if (!adev->gfx.ras_if) { in amdgpu_gfx_ras_late_init() 637 if (!adev->gfx.ras_if) in amdgpu_gfx_ras_late_init() 666 kfree(adev->gfx.ras_if); in amdgpu_gfx_ras_late_init() 667 adev->gfx.ras_if = NULL; in amdgpu_gfx_ras_late_init() 674 adev->gfx.ras_if) { in amdgpu_gfx_ras_fini() 675 struct ras_common_if *ras_if = adev->gfx.ras_if; in amdgpu_gfx_ras_fini() local 677 .head = *ras_if, in amdgpu_gfx_ras_fini() 682 kfree(ras_if); in amdgpu_gfx_ras_fini() 710 struct ras_common_if *ras_if = adev->gfx.ras_if; in amdgpu_gfx_cp_ecc_error_irq() local 715 if (!ras_if) in amdgpu_gfx_cp_ecc_error_irq() [all …]
|
A D | amdgpu_xgmi.c | 745 if (!adev->gmc.xgmi.ras_if) { in amdgpu_xgmi_ras_late_init() 747 if (!adev->gmc.xgmi.ras_if) in amdgpu_xgmi_ras_late_init() 751 adev->gmc.xgmi.ras_if->sub_block_index = 0; in amdgpu_xgmi_ras_late_init() 753 ih_info.head = fs_info.head = *adev->gmc.xgmi.ras_if; in amdgpu_xgmi_ras_late_init() 754 r = amdgpu_ras_late_init(adev, adev->gmc.xgmi.ras_if, in amdgpu_xgmi_ras_late_init() 757 kfree(adev->gmc.xgmi.ras_if); in amdgpu_xgmi_ras_late_init() 758 adev->gmc.xgmi.ras_if = NULL; in amdgpu_xgmi_ras_late_init() 767 adev->gmc.xgmi.ras_if) { in amdgpu_xgmi_ras_fini() 768 struct ras_common_if *ras_if = adev->gmc.xgmi.ras_if; in amdgpu_xgmi_ras_fini() local 773 amdgpu_ras_late_fini(adev, ras_if, &ih_info); in amdgpu_xgmi_ras_fini() [all …]
|
A D | amdgpu_hdp.h | 44 struct ras_common_if *ras_if; member
|
A D | amdgpu_mca.h | 37 struct ras_common_if *ras_if; member
|
A D | amdgpu_mmhub.h | 51 struct ras_common_if *ras_if; member
|
A D | amdgpu_umc.h | 69 struct ras_common_if *ras_if; member
|
A D | amdgpu_sdma.h | 75 struct ras_common_if *ras_if; member
|
A D | nbio_v7_4.c | 373 struct ras_manager *obj = amdgpu_ras_find_obj(adev, adev->nbio.ras_if); in nbio_v7_4_handle_ras_controller_intr_no_bifring() 410 get_ras_block_str(adev->nbio.ras_if)); in nbio_v7_4_handle_ras_controller_intr_no_bifring() 416 get_ras_block_str(adev->nbio.ras_if)); in nbio_v7_4_handle_ras_controller_intr_no_bifring()
|
A D | amdgpu_nbio.h | 105 struct ras_common_if *ras_if; member
|
A D | amdgpu_gmc.h | 159 struct ras_common_if *ras_if; member
|
A D | amdgpu_gfx.h | 339 struct ras_common_if *ras_if; member
|
A D | soc15.c | 1314 if (adev->nbio.ras_if && in soc15_common_hw_fini() 1315 amdgpu_ras_is_supported(adev, adev->nbio.ras_if->block)) { in soc15_common_hw_fini()
|