![]() |
|
|||
0001 /* 0002 * Copyright 2020 Advanced Micro Devices, Inc. 0003 * 0004 * Permission is hereby granted, free of charge, to any person obtaining a 0005 * copy of this software and associated documentation files (the "Software"), 0006 * to deal in the Software without restriction, including without limitation 0007 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 0008 * and/or sell copies of the Software, and to permit persons to whom the 0009 * Software is furnished to do so, subject to the following conditions: 0010 * 0011 * The above copyright notice and this permission notice shall be included in 0012 * all copies or substantial portions of the Software. 0013 * 0014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 0017 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 0018 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 0019 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 0020 * OTHER DEALINGS IN THE SOFTWARE. 0021 */ 0022 #include "amdgpu.h" 0023 #include "amdgpu_amdkfd.h" 0024 #include "amdgpu_amdkfd_arcturus.h" 0025 #include "amdgpu_amdkfd_gfx_v9.h" 0026 0027 const struct kfd2kgd_calls aldebaran_kfd2kgd = { 0028 .program_sh_mem_settings = kgd_gfx_v9_program_sh_mem_settings, 0029 .set_pasid_vmid_mapping = kgd_gfx_v9_set_pasid_vmid_mapping, 0030 .init_interrupts = kgd_gfx_v9_init_interrupts, 0031 .hqd_load = kgd_gfx_v9_hqd_load, 0032 .hiq_mqd_load = kgd_gfx_v9_hiq_mqd_load, 0033 .hqd_sdma_load = kgd_arcturus_hqd_sdma_load, 0034 .hqd_dump = kgd_gfx_v9_hqd_dump, 0035 .hqd_sdma_dump = kgd_arcturus_hqd_sdma_dump, 0036 .hqd_is_occupied = kgd_gfx_v9_hqd_is_occupied, 0037 .hqd_sdma_is_occupied = kgd_arcturus_hqd_sdma_is_occupied, 0038 .hqd_destroy = kgd_gfx_v9_hqd_destroy, 0039 .hqd_sdma_destroy = kgd_arcturus_hqd_sdma_destroy, 0040 .wave_control_execute = kgd_gfx_v9_wave_control_execute, 0041 .get_atc_vmid_pasid_mapping_info = 0042 kgd_gfx_v9_get_atc_vmid_pasid_mapping_info, 0043 .set_vm_context_page_table_base = kgd_gfx_v9_set_vm_context_page_table_base, 0044 .program_trap_handler_settings = kgd_gfx_v9_program_trap_handler_settings 0045 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |