Home
last modified time | relevance | path

Searched refs:mmhub (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
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 …]
Dgmc_v9_0.c1160 adev->mmhub.funcs = &mmhub_v9_4_funcs; in gmc_v9_0_set_mmhub_funcs()
1163 adev->mmhub.funcs = &mmhub_v1_0_funcs; in gmc_v9_0_set_mmhub_funcs()
1223 if (adev->mmhub.funcs && adev->mmhub.funcs->reset_ras_error_count) in gmc_v9_0_late_init()
1224 adev->mmhub.funcs->reset_ras_error_count(adev); in gmc_v9_0_late_init()
1239 base = adev->mmhub.funcs->get_fb_location(adev); in gmc_v9_0_vram_gtt_location()
1354 adev->mmhub.funcs->init(adev); in gmc_v9_0_sw_init()
1586 r = adev->mmhub.funcs->gart_enable(adev); in gmc_v9_0_gart_enable()
1621 if (adev->mmhub.funcs->update_power_gating) in gmc_v9_0_hw_init()
1622 adev->mmhub.funcs->update_power_gating(adev, true); in gmc_v9_0_hw_init()
1650 adev->mmhub.funcs->set_fault_enable_default(adev, value); in gmc_v9_0_hw_init()
[all …]
Dgmc_v10_0.c635 adev->mmhub.funcs = &mmhub_v2_0_funcs; in gmc_v10_0_set_mmhub_funcs()
790 adev->mmhub.funcs->init(adev); in gmc_v10_0_sw_init()
955 r = adev->mmhub.funcs->gart_enable(adev); in gmc_v10_0_gart_enable()
973 adev->mmhub.funcs->set_fault_enable_default(adev, value); in gmc_v10_0_gart_enable()
1014 adev->mmhub.funcs->gart_disable(adev); in gmc_v10_0_gart_disable()
1082 r = adev->mmhub.funcs->set_clockgating(adev, state); in gmc_v10_0_set_clockgating_state()
1097 adev->mmhub.funcs->get_clockgating(adev, flags); in gmc_v10_0_get_clockgating_state()
Damdgpu_gmc.c322 if (adev->mmhub.funcs && adev->mmhub.funcs->ras_late_init) { in amdgpu_gmc_ras_late_init()
323 r = adev->mmhub.funcs->ras_late_init(adev); in amdgpu_gmc_ras_late_init()
Damdgpu_ras.c790 if (adev->mmhub.funcs->query_ras_error_count) in amdgpu_ras_error_query()
791 adev->mmhub.funcs->query_ras_error_count(adev, &err_data); in amdgpu_ras_error_query()
1493 if (adev->mmhub.funcs->query_ras_error_status) in amdgpu_ras_error_status_query()
1494 adev->mmhub.funcs->query_ras_error_status(adev); in amdgpu_ras_error_status_query()
Damdgpu_device.c3078 if (adev->mmhub.funcs && adev->mmhub.funcs->reset_ras_error_count) in amdgpu_device_xgmi_reset_func()
3079 adev->mmhub.funcs->reset_ras_error_count(adev); in amdgpu_device_xgmi_reset_func()
4300 if (tmp_adev->mmhub.funcs && in amdgpu_do_asic_reset()
4301 tmp_adev->mmhub.funcs->reset_ras_error_count) in amdgpu_do_asic_reset()
4302 tmp_adev->mmhub.funcs->reset_ras_error_count(tmp_adev); in amdgpu_do_asic_reset()
Damdgpu_amdkfd_gfx_v9.c702 adev->mmhub.funcs->setup_vm_pt_regs(adev, vmid, page_table_base); in kgd_gfx_v9_set_vm_context_page_table_base()
Damdgpu.h884 struct amdgpu_mmhub mmhub; member