Searched refs:mmhub (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mmhub.c | 37 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() 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() 48 if (r || !amdgpu_ras_is_supported(adev, adev->mmhub.ras_if->block)) { in amdgpu_mmhub_ras_late_init() 49 kfree(adev->mmhub.ras_if); in amdgpu_mmhub_ras_late_init() [all …]
|
D | gmc_v9_0.c | 1195 adev->mmhub.funcs = &mmhub_v9_4_funcs; in gmc_v9_0_set_mmhub_funcs() 1198 adev->mmhub.funcs = &mmhub_v1_7_funcs; in gmc_v9_0_set_mmhub_funcs() 1201 adev->mmhub.funcs = &mmhub_v1_0_funcs; in gmc_v9_0_set_mmhub_funcs() 1210 adev->mmhub.ras_funcs = &mmhub_v1_0_ras_funcs; in gmc_v9_0_set_mmhub_ras_funcs() 1213 adev->mmhub.ras_funcs = &mmhub_v9_4_ras_funcs; in gmc_v9_0_set_mmhub_ras_funcs() 1216 adev->mmhub.ras_funcs = &mmhub_v1_7_ras_funcs; in gmc_v9_0_set_mmhub_ras_funcs() 1300 if (adev->mmhub.ras_funcs && in gmc_v9_0_late_init() 1301 adev->mmhub.ras_funcs->reset_ras_error_count) in gmc_v9_0_late_init() 1302 adev->mmhub.ras_funcs->reset_ras_error_count(adev); in gmc_v9_0_late_init() 1319 u64 base = adev->mmhub.funcs->get_fb_location(adev); in gmc_v9_0_vram_gtt_location() [all …]
|
D | gmc_v10_0.c | 680 adev->mmhub.funcs = &mmhub_v2_3_funcs; in gmc_v10_0_set_mmhub_funcs() 683 adev->mmhub.funcs = &mmhub_v2_0_funcs; in gmc_v10_0_set_mmhub_funcs() 855 adev->mmhub.funcs->init(adev); in gmc_v10_0_sw_init() 1032 r = adev->mmhub.funcs->gart_enable(adev); in gmc_v10_0_gart_enable() 1045 adev->mmhub.funcs->set_fault_enable_default(adev, value); in gmc_v10_0_gart_enable() 1093 adev->mmhub.funcs->gart_disable(adev); in gmc_v10_0_gart_disable() 1161 r = adev->mmhub.funcs->set_clockgating(adev, state); in gmc_v10_0_set_clockgating_state() 1176 adev->mmhub.funcs->get_clockgating(adev, flags); in gmc_v10_0_get_clockgating_state()
|
D | amdgpu_gmc.c | 450 if (adev->mmhub.ras_funcs && in amdgpu_gmc_ras_late_init() 451 adev->mmhub.ras_funcs->ras_late_init) { in amdgpu_gmc_ras_late_init() 452 r = adev->mmhub.ras_funcs->ras_late_init(adev); in amdgpu_gmc_ras_late_init() 504 if (adev->mmhub.ras_funcs && in amdgpu_gmc_ras_fini() 505 adev->mmhub.ras_funcs->ras_fini) in amdgpu_gmc_ras_fini() 506 adev->mmhub.ras_funcs->ras_fini(adev); in amdgpu_gmc_ras_fini()
|
D | amdgpu_ras.c | 852 if (adev->mmhub.ras_funcs && in amdgpu_ras_query_error_status() 853 adev->mmhub.ras_funcs->query_ras_error_count) in amdgpu_ras_query_error_status() 854 adev->mmhub.ras_funcs->query_ras_error_count(adev, &err_data); in amdgpu_ras_query_error_status() 856 if (adev->mmhub.ras_funcs && in amdgpu_ras_query_error_status() 857 adev->mmhub.ras_funcs->query_ras_error_status) in amdgpu_ras_query_error_status() 858 adev->mmhub.ras_funcs->query_ras_error_status(adev); in amdgpu_ras_query_error_status() 944 if (adev->mmhub.ras_funcs && in amdgpu_ras_reset_error_status() 945 adev->mmhub.ras_funcs->reset_ras_error_count) in amdgpu_ras_reset_error_status() 946 adev->mmhub.ras_funcs->reset_ras_error_count(adev); in amdgpu_ras_reset_error_status() 948 if (adev->mmhub.ras_funcs && in amdgpu_ras_reset_error_status() [all …]
|
D | amdgpu_device.c | 3307 if (adev->mmhub.ras_funcs && in amdgpu_device_xgmi_reset_func() 3308 adev->mmhub.ras_funcs->reset_ras_error_count) in amdgpu_device_xgmi_reset_func() 3309 adev->mmhub.ras_funcs->reset_ras_error_count(adev); in amdgpu_device_xgmi_reset_func() 4596 if (tmp_adev->mmhub.ras_funcs && in amdgpu_do_asic_reset() 4597 tmp_adev->mmhub.ras_funcs->reset_ras_error_count) in amdgpu_do_asic_reset() 4598 tmp_adev->mmhub.ras_funcs->reset_ras_error_count(tmp_adev); in amdgpu_do_asic_reset()
|
D | amdgpu_amdkfd_gfx_v9.c | 707 adev->mmhub.funcs->setup_vm_pt_regs(adev, vmid, page_table_base); in kgd_gfx_v9_set_vm_context_page_table_base()
|
D | amdgpu.h | 965 struct amdgpu_mmhub mmhub; member
|