Home
last modified time | relevance | path

Searched refs:ras_if (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_umc.c36 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()
41 adev->umc.ras_if->block = AMDGPU_RAS_BLOCK__UMC; in amdgpu_umc_ras_late_init()
42 adev->umc.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_umc_ras_late_init()
43 adev->umc.ras_if->sub_block_index = 0; in amdgpu_umc_ras_late_init()
44 strcpy(adev->umc.ras_if->name, "umc"); in amdgpu_umc_ras_late_init()
46 ih_info.head = fs_info.head = *adev->umc.ras_if; in amdgpu_umc_ras_late_init()
48 r = amdgpu_ras_late_init(adev, adev->umc.ras_if, in amdgpu_umc_ras_late_init()
53 if (amdgpu_ras_is_supported(adev, adev->umc.ras_if->block)) { in amdgpu_umc_ras_late_init()
[all …]
Damdgpu_mmhub.c37 if (!adev->mmhub.ras_if) { in amdgpu_mmhub_ras_late_init()
38 adev->mmhub.ras_if = kmalloc(sizeof(struct ras_common_if), GFP_KERNEL); in amdgpu_mmhub_ras_late_init()
39 if (!adev->mmhub.ras_if) in amdgpu_mmhub_ras_late_init()
41 adev->mmhub.ras_if->block = AMDGPU_RAS_BLOCK__MMHUB; in amdgpu_mmhub_ras_late_init()
42 adev->mmhub.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_mmhub_ras_late_init()
43 adev->mmhub.ras_if->sub_block_index = 0; in amdgpu_mmhub_ras_late_init()
44 strcpy(adev->mmhub.ras_if->name, "mmhub"); in amdgpu_mmhub_ras_late_init()
46 ih_info.head = fs_info.head = *adev->mmhub.ras_if; in amdgpu_mmhub_ras_late_init()
47 r = amdgpu_ras_late_init(adev, adev->mmhub.ras_if, in amdgpu_mmhub_ras_late_init()
49 if (r || !amdgpu_ras_is_supported(adev, adev->mmhub.ras_if->block)) { in amdgpu_mmhub_ras_late_init()
[all …]
Damdgpu_nbio.c35 if (!adev->nbio.ras_if) { in amdgpu_nbio_ras_late_init()
36 adev->nbio.ras_if = kmalloc(sizeof(struct ras_common_if), GFP_KERNEL); in amdgpu_nbio_ras_late_init()
37 if (!adev->nbio.ras_if) in amdgpu_nbio_ras_late_init()
39 adev->nbio.ras_if->block = AMDGPU_RAS_BLOCK__PCIE_BIF; in amdgpu_nbio_ras_late_init()
40 adev->nbio.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_nbio_ras_late_init()
41 adev->nbio.ras_if->sub_block_index = 0; in amdgpu_nbio_ras_late_init()
42 strcpy(adev->nbio.ras_if->name, "pcie_bif"); in amdgpu_nbio_ras_late_init()
44 ih_info.head = fs_info.head = *adev->nbio.ras_if; in amdgpu_nbio_ras_late_init()
45 r = amdgpu_ras_late_init(adev, adev->nbio.ras_if, in amdgpu_nbio_ras_late_init()
50 if (amdgpu_ras_is_supported(adev, adev->nbio.ras_if->block)) { in amdgpu_nbio_ras_late_init()
[all …]
Damdgpu_sdma.c101 if (!adev->sdma.ras_if) { in amdgpu_sdma_ras_late_init()
102 adev->sdma.ras_if = kmalloc(sizeof(struct ras_common_if), GFP_KERNEL); in amdgpu_sdma_ras_late_init()
103 if (!adev->sdma.ras_if) in amdgpu_sdma_ras_late_init()
105 adev->sdma.ras_if->block = AMDGPU_RAS_BLOCK__SDMA; in amdgpu_sdma_ras_late_init()
106 adev->sdma.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_sdma_ras_late_init()
107 adev->sdma.ras_if->sub_block_index = 0; in amdgpu_sdma_ras_late_init()
108 strcpy(adev->sdma.ras_if->name, "sdma"); in amdgpu_sdma_ras_late_init()
110 fs_info.head = ih_info->head = *adev->sdma.ras_if; in amdgpu_sdma_ras_late_init()
112 r = amdgpu_ras_late_init(adev, adev->sdma.ras_if, in amdgpu_sdma_ras_late_init()
117 if (amdgpu_ras_is_supported(adev, adev->sdma.ras_if->block)) { in amdgpu_sdma_ras_late_init()
[all …]
Damdgpu_gfx.c618 if (!adev->gfx.ras_if) { in amdgpu_gfx_ras_late_init()
619 adev->gfx.ras_if = kmalloc(sizeof(struct ras_common_if), GFP_KERNEL); in amdgpu_gfx_ras_late_init()
620 if (!adev->gfx.ras_if) in amdgpu_gfx_ras_late_init()
622 adev->gfx.ras_if->block = AMDGPU_RAS_BLOCK__GFX; in amdgpu_gfx_ras_late_init()
623 adev->gfx.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_gfx_ras_late_init()
624 adev->gfx.ras_if->sub_block_index = 0; in amdgpu_gfx_ras_late_init()
625 strcpy(adev->gfx.ras_if->name, "gfx"); in amdgpu_gfx_ras_late_init()
627 fs_info.head = ih_info.head = *adev->gfx.ras_if; in amdgpu_gfx_ras_late_init()
629 r = amdgpu_ras_late_init(adev, adev->gfx.ras_if, in amdgpu_gfx_ras_late_init()
634 if (amdgpu_ras_is_supported(adev, adev->gfx.ras_if->block)) { in amdgpu_gfx_ras_late_init()
[all …]
Damdgpu_xgmi.c644 if (!adev->gmc.xgmi.ras_if) { in amdgpu_xgmi_ras_late_init()
645 adev->gmc.xgmi.ras_if = kmalloc(sizeof(struct ras_common_if), GFP_KERNEL); in amdgpu_xgmi_ras_late_init()
646 if (!adev->gmc.xgmi.ras_if) in amdgpu_xgmi_ras_late_init()
648 adev->gmc.xgmi.ras_if->block = AMDGPU_RAS_BLOCK__XGMI_WAFL; in amdgpu_xgmi_ras_late_init()
649 adev->gmc.xgmi.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_xgmi_ras_late_init()
650 adev->gmc.xgmi.ras_if->sub_block_index = 0; in amdgpu_xgmi_ras_late_init()
651 strcpy(adev->gmc.xgmi.ras_if->name, "xgmi_wafl"); in amdgpu_xgmi_ras_late_init()
653 ih_info.head = fs_info.head = *adev->gmc.xgmi.ras_if; in amdgpu_xgmi_ras_late_init()
654 r = amdgpu_ras_late_init(adev, adev->gmc.xgmi.ras_if, in amdgpu_xgmi_ras_late_init()
656 if (r || !amdgpu_ras_is_supported(adev, adev->gmc.xgmi.ras_if->block)) { in amdgpu_xgmi_ras_late_init()
[all …]
Dnbio_v7_4.c303 struct ras_manager *obj = amdgpu_ras_find_obj(adev, adev->nbio.ras_if); in nbio_v7_4_handle_ras_controller_intr_no_bifring()
333 adev->nbio.ras_if->name); in nbio_v7_4_handle_ras_controller_intr_no_bifring()
339 adev->nbio.ras_if->name); in nbio_v7_4_handle_ras_controller_intr_no_bifring()
Damdgpu_mmhub.h47 struct ras_common_if *ras_if; member
Damdgpu_umc.h64 struct ras_common_if *ras_if; member
Damdgpu_sdma.h70 struct ras_common_if *ras_if; member
Damdgpu_nbio.h94 struct ras_common_if *ras_if; member
Damdgpu_gmc.h151 struct ras_common_if *ras_if; member
Damdgpu_gfx.h323 struct ras_common_if *ras_if; member
Dsoc15.c1393 if (adev->nbio.ras_if && in soc15_common_hw_fini()
1394 amdgpu_ras_is_supported(adev, adev->nbio.ras_if->block)) { in soc15_common_hw_fini()