Home
last modified time | relevance | path

Searched defs:adev (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c36 #define amdgpu_dpm_enable_bapm(adev, e) \ argument
39 #define amdgpu_dpm_is_legacy_dpm(adev) ((adev)->powerplay.pp_handle == (adev)) argument
41 int amdgpu_dpm_get_sclk(struct amdgpu_device *adev, bool low) in amdgpu_dpm_get_sclk()
57 int amdgpu_dpm_get_mclk(struct amdgpu_device *adev, bool low) in amdgpu_dpm_get_mclk()
73 int amdgpu_dpm_set_powergating_by_smu(struct amdgpu_device *adev, uint32_t block_type, bool gate) in amdgpu_dpm_set_powergating_by_smu()
113 int amdgpu_dpm_set_gfx_power_up_by_imu(struct amdgpu_device *adev) in amdgpu_dpm_set_gfx_power_up_by_imu()
127 int amdgpu_dpm_baco_enter(struct amdgpu_device *adev) in amdgpu_dpm_baco_enter()
146 int amdgpu_dpm_baco_exit(struct amdgpu_device *adev) in amdgpu_dpm_baco_exit()
165 int amdgpu_dpm_set_mp1_state(struct amdgpu_device *adev, in amdgpu_dpm_set_mp1_state()
188 int amdgpu_dpm_notify_rlc_state(struct amdgpu_device *adev, bool en) in amdgpu_dpm_notify_rlc_state()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dnbio_v4_3.c32 static void nbio_v4_3_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v4_3_remap_hdp_registers()
40 static u32 nbio_v4_3_get_rev_id(struct amdgpu_device *adev) in nbio_v4_3_get_rev_id()
50 static void nbio_v4_3_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v4_3_mc_access_enable()
60 static u32 nbio_v4_3_get_memsize(struct amdgpu_device *adev) in nbio_v4_3_get_memsize()
65 static void nbio_v4_3_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v4_3_sdma_doorbell_range()
103 static void nbio_v4_3_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v4_3_vcn_doorbell_range()
146 static void nbio_v4_3_gc_doorbell_init(struct amdgpu_device *adev) in nbio_v4_3_gc_doorbell_init()
152 static void nbio_v4_3_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v4_3_enable_doorbell_aperture()
159 static void nbio_v4_3_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v4_3_enable_doorbell_selfring_aperture()
182 static void nbio_v4_3_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v4_3_ih_doorbell_range()
[all …]
H A Damdgpu_device.c177 static inline bool amdgpu_ip_member_of_hwini(struct amdgpu_device *adev, in amdgpu_ip_member_of_hwini()
183 void amdgpu_set_init_level(struct amdgpu_device *adev, in amdgpu_set_init_level()
216 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local
231 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_sysfs_reg_state_get() local
265 int amdgpu_reg_state_sysfs_init(struct amdgpu_device *adev) in amdgpu_reg_state_sysfs_init()
277 void amdgpu_reg_state_sysfs_fini(struct amdgpu_device *adev) in amdgpu_reg_state_sysfs_fini()
341 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_board_info() local
375 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_board_attrs_is_visible() local
401 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px() local
418 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco() local
[all …]
H A Damdgpu_virt.c47 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked()
55 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting()
83 int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_request_full_gpu()
108 int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_release_full_gpu()
129 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu()
145 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data()
164 void amdgpu_virt_ready_to_reset(struct amdgpu_device *adev) in amdgpu_virt_ready_to_reset()
178 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset()
194 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table()
224 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table()
[all …]
H A Dnbif_v6_3_1.c33 static void nbif_v6_3_1_remap_hdp_registers(struct amdgpu_device *adev) in nbif_v6_3_1_remap_hdp_registers()
41 static u32 nbif_v6_3_1_get_rev_id(struct amdgpu_device *adev) in nbif_v6_3_1_get_rev_id()
51 static void nbif_v6_3_1_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbif_v6_3_1_mc_access_enable()
61 static u32 nbif_v6_3_1_get_memsize(struct amdgpu_device *adev) in nbif_v6_3_1_get_memsize()
66 static void nbif_v6_3_1_sdma_doorbell_range(struct amdgpu_device *adev, in nbif_v6_3_1_sdma_doorbell_range()
105 static void nbif_v6_3_1_vcn_doorbell_range(struct amdgpu_device *adev, in nbif_v6_3_1_vcn_doorbell_range()
149 static void nbif_v6_3_1_gc_doorbell_init(struct amdgpu_device *adev) in nbif_v6_3_1_gc_doorbell_init()
155 static void nbif_v6_3_1_enable_doorbell_aperture(struct amdgpu_device *adev, in nbif_v6_3_1_enable_doorbell_aperture()
163 nbif_v6_3_1_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbif_v6_3_1_enable_doorbell_selfring_aperture()
185 static void nbif_v6_3_1_ih_doorbell_range(struct amdgpu_device *adev, in nbif_v6_3_1_ih_doorbell_range()
[all …]
H A Damdgpu_amdkfd.c70 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe()
93 static void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev, in amdgpu_doorbell_get_kfd_info()
127 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, in amdgpu_amdkfd_reset_work() local
148 int amdgpu_amdkfd_drm_client_create(struct amdgpu_device *adev) in amdgpu_amdkfd_drm_client_create()
168 void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) in amdgpu_amdkfd_device_init()
235 void amdgpu_amdkfd_device_fini_sw(struct amdgpu_device *adev) in amdgpu_amdkfd_device_fini_sw()
244 void amdgpu_amdkfd_interrupt(struct amdgpu_device *adev, in amdgpu_amdkfd_interrupt()
251 void amdgpu_amdkfd_suspend(struct amdgpu_device *adev, bool run_pm) in amdgpu_amdkfd_suspend()
257 int amdgpu_amdkfd_resume(struct amdgpu_device *adev, bool run_pm) in amdgpu_amdkfd_resume()
267 int amdgpu_amdkfd_pre_reset(struct amdgpu_device *adev, in amdgpu_amdkfd_pre_reset()
[all …]
H A Dmxgpu_ai.c37 static void xgpu_ai_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_ai_mailbox_send_ack()
42 static void xgpu_ai_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_ai_mailbox_set_valid()
56 static enum idh_event xgpu_ai_mailbox_peek_msg(struct amdgpu_device *adev) in xgpu_ai_mailbox_peek_msg()
63 static int xgpu_ai_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_msg()
78 static uint8_t xgpu_ai_peek_ack(struct amdgpu_device *adev) { in xgpu_ai_peek_ack()
82 static int xgpu_ai_poll_ack(struct amdgpu_device *adev) in xgpu_ai_poll_ack()
101 static int xgpu_ai_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_ai_poll_msg()
119 static void xgpu_ai_mailbox_trans_msg (struct amdgpu_device *adev, in xgpu_ai_mailbox_trans_msg()
163 static int xgpu_ai_send_access_requests(struct amdgpu_device *adev, in xgpu_ai_send_access_requests()
195 static int xgpu_ai_request_reset(struct amdgpu_device *adev) in xgpu_ai_request_reset()
[all …]
H A Dgfx_v12_0.c307 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v12_0_kiq_unmap_queues() local
376 static void gfx_v12_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v12_0_set_kiq_pm4_funcs()
405 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_test_ring() local
447 struct amdgpu_device *adev = ring->adev; in gfx_v12_0_ring_test_ib() local
524 static void gfx_v12_0_free_microcode(struct amdgpu_device *adev) in gfx_v12_0_free_microcode()
534 static int gfx_v12_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v12_0_init_toc_microcode()
556 static int gfx_v12_0_init_microcode(struct amdgpu_device *adev) in gfx_v12_0_init_microcode()
628 static u32 gfx_v12_0_get_csb_size(struct amdgpu_device *adev) in gfx_v12_0_get_csb_size()
647 static void gfx_v12_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v12_0_get_csb_buffer()
678 static void gfx_v12_0_rlc_fini(struct amdgpu_device *adev) in gfx_v12_0_rlc_fini()
[all …]
H A Dgfx_v7_0.c887 static void gfx_v7_0_free_microcode(struct amdgpu_device *adev) in gfx_v7_0_free_microcode()
909 static int gfx_v7_0_init_microcode(struct amdgpu_device *adev) in gfx_v7_0_init_microcode()
984 static void gfx_v7_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v7_0_tiling_mode_table_init()
1549 static void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, in gfx_v7_0_select_se_sh()
1583 static u32 gfx_v7_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v7_0_get_rb_active_bitmap()
1600 gfx_v7_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v7_0_raster_config()
1632 gfx_v7_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v7_0_write_harvested_raster_configs()
1747 static void gfx_v7_0_setup_rb(struct amdgpu_device *adev) in gfx_v7_0_setup_rb()
1813 static void gfx_v7_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_compute_vmid()
1851 static void gfx_v7_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_gds_vmid()
[all …]
H A Dnbio_v7_7.c31 static void nbio_v7_7_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_7_remap_hdp_registers()
39 static u32 nbio_v7_7_get_rev_id(struct amdgpu_device *adev) in nbio_v7_7_get_rev_id()
50 static void nbio_v7_7_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_7_mc_access_enable()
60 static u32 nbio_v7_7_get_memsize(struct amdgpu_device *adev) in nbio_v7_7_get_memsize()
65 static void nbio_v7_7_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_7_sdma_doorbell_range()
88 static void nbio_v7_7_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_7_vcn_doorbell_range()
108 static void nbio_v7_7_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_7_enable_doorbell_aperture()
120 static void nbio_v7_7_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_7_enable_doorbell_selfring_aperture()
146 static void nbio_v7_7_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_7_ih_doorbell_range()
169 static void nbio_v7_7_ih_control(struct amdgpu_device *adev) in nbio_v7_7_ih_control()
[all …]
H A Damdgpu_gfx.c46 int amdgpu_gfx_mec_queue_to_bit(struct amdgpu_device *adev, int mec, in amdgpu_gfx_mec_queue_to_bit()
59 void amdgpu_queue_mask_bit_to_mec_queue(struct amdgpu_device *adev, int bit, in amdgpu_queue_mask_bit_to_mec_queue()
70 bool amdgpu_gfx_is_mec_queue_enabled(struct amdgpu_device *adev, in amdgpu_gfx_is_mec_queue_enabled()
77 int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, in amdgpu_gfx_me_queue_to_bit()
90 bool amdgpu_gfx_is_me_queue_enabled(struct amdgpu_device *adev, in amdgpu_gfx_is_me_queue_enabled()
142 static bool amdgpu_gfx_is_graphics_multipipe_capable(struct amdgpu_device *adev) in amdgpu_gfx_is_graphics_multipipe_capable()
147 static bool amdgpu_gfx_is_compute_multipipe_capable(struct amdgpu_device *adev) in amdgpu_gfx_is_compute_multipipe_capable()
166 bool amdgpu_gfx_is_high_priority_graphics_queue(struct amdgpu_device *adev, in amdgpu_gfx_is_high_priority_graphics_queue()
188 bool amdgpu_gfx_is_high_priority_compute_queue(struct amdgpu_device *adev, in amdgpu_gfx_is_high_priority_compute_queue()
201 void amdgpu_gfx_compute_queue_acquire(struct amdgpu_device *adev) in amdgpu_gfx_compute_queue_acquire()
[all …]
H A Dsoc24.c74 static int soc24_query_video_codecs(struct amdgpu_device *adev, bool encode, in soc24_query_video_codecs()
92 static u32 soc24_get_config_memsize(struct amdgpu_device *adev) in soc24_get_config_memsize()
97 static u32 soc24_get_xclk(struct amdgpu_device *adev) in soc24_get_xclk()
102 void soc24_grbm_select(struct amdgpu_device *adev, in soc24_grbm_select()
136 static uint32_t soc24_read_indexed_register(struct amdgpu_device *adev, in soc24_read_indexed_register()
155 static uint32_t soc24_get_register_value(struct amdgpu_device *adev, in soc24_get_register_value()
169 static int soc24_read_register(struct amdgpu_device *adev, u32 se_num, in soc24_read_register()
193 soc24_asic_reset_method(struct amdgpu_device *adev) in soc24_asic_reset_method()
217 static int soc24_asic_reset(struct amdgpu_device *adev) in soc24_asic_reset()
243 static void soc24_program_aspm(struct amdgpu_device *adev) in soc24_program_aspm()
[all …]
H A Dnbio_v7_11.c31 static void nbio_v7_11_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_11_remap_hdp_registers()
39 static u32 nbio_v7_11_get_rev_id(struct amdgpu_device *adev) in nbio_v7_11_get_rev_id()
50 static void nbio_v7_11_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_11_mc_access_enable()
60 static u32 nbio_v7_11_get_memsize(struct amdgpu_device *adev) in nbio_v7_11_get_memsize()
65 static void nbio_v7_11_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_11_sdma_doorbell_range()
88 static void nbio_v7_11_vpe_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_11_vpe_doorbell_range()
113 static void nbio_v7_11_vcn_doorbell_range(struct amdgpu_device *adev, in nbio_v7_11_vcn_doorbell_range()
137 static void nbio_v7_11_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_11_enable_doorbell_aperture()
150 static void nbio_v7_11_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_11_enable_doorbell_selfring_aperture()
175 static void nbio_v7_11_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_11_ih_doorbell_range()
[all …]
H A Dgfx_v11_0.c297 struct amdgpu_device *adev = kiq_ring->adev; in gfx11_kiq_set_resources() local
363 struct amdgpu_device *adev = kiq_ring->adev; in gfx11_kiq_unmap_queues() local
432 static void gfx_v11_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_kiq_pm4_funcs()
437 static void gfx_v11_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v11_0_init_golden_registers()
508 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ring() local
549 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ib() local
626 static void gfx_v11_0_free_microcode(struct amdgpu_device *adev) in gfx_v11_0_free_microcode()
636 static int gfx_v11_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v11_0_init_toc_microcode()
658 static void gfx_v11_0_check_fw_cp_gfx_shadow(struct amdgpu_device *adev) in gfx_v11_0_check_fw_cp_gfx_shadow()
679 static int gfx_v11_0_init_microcode(struct amdgpu_device *adev) in gfx_v11_0_init_microcode()
[all …]
H A Dgmc_v11_0.c53 static int gmc_v11_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_ecc_interrupt_state()
62 gmc_v11_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_vm_fault_interrupt_state()
99 static int gmc_v11_0_process_interrupt(struct amdgpu_device *adev, in gmc_v11_0_process_interrupt()
167 static void gmc_v11_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v11_0_set_irq_funcs()
185 static bool gmc_v11_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v11_0_use_invalidate_semaphore()
193 struct amdgpu_device *adev, in gmc_v11_0_get_vmid_pasid_mapping_info()
211 static void gmc_v11_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v11_0_flush_gpu_tlb()
315 static void gmc_v11_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v11_0_flush_gpu_tlb_pasid()
393 struct amdgpu_device *adev = ring->adev; in gmc_v11_0_emit_pasid_mapping() local
440 static uint64_t gmc_v11_0_map_mtype(struct amdgpu_device *adev, uint32_t flags) in gmc_v11_0_map_mtype()
[all …]
H A Dgmc_v10_0.c54 static int gmc_v10_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v10_0_ecc_interrupt_state()
63 gmc_v10_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v10_0_vm_fault_interrupt_state()
99 static int gmc_v10_0_process_interrupt(struct amdgpu_device *adev, in gmc_v10_0_process_interrupt()
198 static void gmc_v10_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v10_0_set_irq_funcs()
216 static bool gmc_v10_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v10_0_use_invalidate_semaphore()
224 struct amdgpu_device *adev, in gmc_v10_0_get_atc_vmid_pasid_mapping_info()
253 static void gmc_v10_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v10_0_flush_gpu_tlb()
350 static void gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v10_0_flush_gpu_tlb_pasid()
428 struct amdgpu_device *adev = ring->adev; in gmc_v10_0_emit_pasid_mapping() local
476 static uint64_t gmc_v10_0_map_mtype(struct amdgpu_device *adev, uint32_t flags) in gmc_v10_0_map_mtype()
[all …]
H A Dgmc_v9_0.c414 static int gmc_v9_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v9_0_ecc_interrupt_state()
465 static int gmc_v9_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v9_0_vm_fault_interrupt_state()
545 static int gmc_v9_0_process_interrupt(struct amdgpu_device *adev, in gmc_v9_0_process_interrupt()
754 static void gmc_v9_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v9_0_set_irq_funcs()
793 static bool gmc_v9_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v9_0_use_invalidate_semaphore()
808 static bool gmc_v9_0_get_atc_vmid_pasid_mapping_info(struct amdgpu_device *adev, in gmc_v9_0_get_atc_vmid_pasid_mapping_info()
837 static void gmc_v9_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v9_0_flush_gpu_tlb()
953 static void gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v9_0_flush_gpu_tlb_pasid()
985 struct amdgpu_device *adev = ring->adev; in gmc_v9_0_emit_flush_gpu_tlb() local
1033 struct amdgpu_device *adev = ring->adev; in gmc_v9_0_emit_pasid_mapping() local
[all …]
H A Dnbio_v7_0.c36 static void nbio_v7_0_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_0_remap_hdp_registers()
44 static u32 nbio_v7_0_get_rev_id(struct amdgpu_device *adev) in nbio_v7_0_get_rev_id()
54 static void nbio_v7_0_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_0_mc_access_enable()
63 static u32 nbio_v7_0_get_memsize(struct amdgpu_device *adev) in nbio_v7_0_get_memsize()
68 static void nbio_v7_0_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_0_sdma_doorbell_range()
85 static void nbio_v7_0_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_0_vcn_doorbell_range()
105 static void nbio_v7_0_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_0_enable_doorbell_aperture()
111 static void nbio_v7_0_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_0_enable_doorbell_selfring_aperture()
117 static void nbio_v7_0_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_0_ih_doorbell_range()
131 static uint32_t nbio_7_0_read_syshub_ind_mmr(struct amdgpu_device *adev, uint32_t offset) in nbio_7_0_read_syshub_ind_mmr()
[all …]
H A Dgmc_v12_0.c45 static int gmc_v12_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v12_0_ecc_interrupt_state()
53 static int gmc_v12_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v12_0_vm_fault_interrupt_state()
89 static int gmc_v12_0_process_interrupt(struct amdgpu_device *adev, in gmc_v12_0_process_interrupt()
160 static void gmc_v12_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v12_0_set_irq_funcs()
178 static bool gmc_v12_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v12_0_use_invalidate_semaphore()
186 struct amdgpu_device *adev, in gmc_v12_0_get_vmid_pasid_mapping_info()
201 static void gmc_v12_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid, in gmc_v12_0_flush_vm_hub()
293 static void gmc_v12_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v12_0_flush_gpu_tlb()
335 static void gmc_v12_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v12_0_flush_gpu_tlb_pasid()
413 struct amdgpu_device *adev = ring->adev; in gmc_v12_0_emit_pasid_mapping() local
[all …]
H A Dmmhub_v3_3.c88 mmhub_v3_3_print_l2_protection_fault_status(struct amdgpu_device *adev, in mmhub_v3_3_print_l2_protection_fault_status()
132 static void mmhub_v3_3_setup_vm_pt_regs(struct amdgpu_device *adev, in mmhub_v3_3_setup_vm_pt_regs()
148 static void mmhub_v3_3_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v3_3_init_gart_aperture_regs()
165 static void mmhub_v3_3_init_system_aperture_regs(struct amdgpu_device *adev) in mmhub_v3_3_init_system_aperture_regs()
205 static void mmhub_v3_3_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v3_3_init_tlb_regs()
225 static void mmhub_v3_3_init_cache_regs(struct amdgpu_device *adev) in mmhub_v3_3_init_cache_regs()
270 static void mmhub_v3_3_enable_system_domain(struct amdgpu_device *adev) in mmhub_v3_3_enable_system_domain()
283 static void mmhub_v3_3_disable_identity_aperture(struct amdgpu_device *adev) in mmhub_v3_3_disable_identity_aperture()
303 static void mmhub_v3_3_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v3_3_setup_vmid_config()
353 static void mmhub_v3_3_program_invalidation(struct amdgpu_device *adev) in mmhub_v3_3_program_invalidation()
[all …]
H A Dgfx_v10_0.c3680 struct amdgpu_device *adev = kiq_ring->adev; in gfx10_kiq_set_resources() local
3805 static void gfx_v10_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v10_0_set_kiq_pm4_funcs()
3810 static void gfx_v10_0_init_spm_golden_registers(struct amdgpu_device *adev) in gfx_v10_0_init_spm_golden_registers()
3833 static void gfx_v10_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v10_0_init_golden_registers()
3953 struct amdgpu_device *adev = ring->adev; in gfx_v10_0_ring_test_ring() local
3991 struct amdgpu_device *adev = ring->adev; in gfx_v10_0_ring_test_ib() local
4046 static void gfx_v10_0_free_microcode(struct amdgpu_device *adev) in gfx_v10_0_free_microcode()
4058 static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) in gfx_v10_0_check_fw_write_wait()
4094 static bool gfx_v10_0_navi10_gfxoff_should_enable(struct amdgpu_device *adev) in gfx_v10_0_navi10_gfxoff_should_enable()
4111 static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev) in gfx_v10_0_check_gfxoff_flag()
[all …]
H A Dmmhub_v3_0_2.c96 mmhub_v3_0_2_print_l2_protection_fault_status(struct amdgpu_device *adev, in mmhub_v3_0_2_print_l2_protection_fault_status()
129 static void mmhub_v3_0_2_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in mmhub_v3_0_2_setup_vm_pt_regs()
143 static void mmhub_v3_0_2_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_gart_aperture_regs()
160 static void mmhub_v3_0_2_init_system_aperture_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_system_aperture_regs()
202 static void mmhub_v3_0_2_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_tlb_regs()
222 static void mmhub_v3_0_2_init_cache_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_cache_regs()
273 static void mmhub_v3_0_2_enable_system_domain(struct amdgpu_device *adev) in mmhub_v3_0_2_enable_system_domain()
285 static void mmhub_v3_0_2_disable_identity_aperture(struct amdgpu_device *adev) in mmhub_v3_0_2_disable_identity_aperture()
311 static void mmhub_v3_0_2_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v3_0_2_setup_vmid_config()
361 static void mmhub_v3_0_2_program_invalidation(struct amdgpu_device *adev) in mmhub_v3_0_2_program_invalidation()
[all …]
H A Dmmhub_v4_1_0.c97 mmhub_v4_1_0_print_l2_protection_fault_status(struct amdgpu_device *adev, in mmhub_v4_1_0_print_l2_protection_fault_status()
136 static void mmhub_v4_1_0_setup_vm_pt_regs(struct amdgpu_device *adev, in mmhub_v4_1_0_setup_vm_pt_regs()
150 static void mmhub_v4_1_0_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v4_1_0_init_gart_aperture_regs()
167 static void mmhub_v4_1_0_init_system_aperture_regs(struct amdgpu_device *adev) in mmhub_v4_1_0_init_system_aperture_regs()
211 static void mmhub_v4_1_0_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v4_1_0_init_tlb_regs()
231 static void mmhub_v4_1_0_init_cache_regs(struct amdgpu_device *adev) in mmhub_v4_1_0_init_cache_regs()
282 static void mmhub_v4_1_0_enable_system_domain(struct amdgpu_device *adev) in mmhub_v4_1_0_enable_system_domain()
294 static void mmhub_v4_1_0_disable_identity_aperture(struct amdgpu_device *adev) in mmhub_v4_1_0_disable_identity_aperture()
320 static void mmhub_v4_1_0_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v4_1_0_setup_vmid_config()
370 static void mmhub_v4_1_0_program_invalidation(struct amdgpu_device *adev) in mmhub_v4_1_0_program_invalidation()
[all …]
H A Dgfxhub_v2_1.c79 gfxhub_v2_1_print_l2_protection_fault_status(struct amdgpu_device *adev, in gfxhub_v2_1_print_l2_protection_fault_status()
108 static u64 gfxhub_v2_1_get_fb_location(struct amdgpu_device *adev) in gfxhub_v2_1_get_fb_location()
118 static u64 gfxhub_v2_1_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v2_1_get_mc_fb_offset()
123 static void gfxhub_v2_1_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v2_1_setup_vm_pt_regs()
137 static void gfxhub_v2_1_init_gart_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_gart_aperture_regs()
154 static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_system_aperture_regs()
190 static void gfxhub_v2_1_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_tlb_regs()
209 static void gfxhub_v2_1_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_cache_regs()
260 static void gfxhub_v2_1_enable_system_domain(struct amdgpu_device *adev) in gfxhub_v2_1_enable_system_domain()
272 static void gfxhub_v2_1_disable_identity_aperture(struct amdgpu_device *adev) in gfxhub_v2_1_disable_identity_aperture()
[all …]
H A Dmxgpu_vi.c279 void xgpu_vi_init_golden_registers(struct amdgpu_device *adev) in xgpu_vi_init_golden_registers()
319 static void xgpu_vi_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_vi_mailbox_send_ack()
343 static void xgpu_vi_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_vi_mailbox_set_valid()
353 static void xgpu_vi_mailbox_trans_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_trans_msg()
366 static int xgpu_vi_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_msg()
389 static int xgpu_vi_poll_ack(struct amdgpu_device *adev) in xgpu_vi_poll_ack()
411 static int xgpu_vi_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_vi_poll_msg()
431 static int xgpu_vi_send_access_requests(struct amdgpu_device *adev, in xgpu_vi_send_access_requests()
459 static int xgpu_vi_request_reset(struct amdgpu_device *adev) in xgpu_vi_request_reset()
464 static int xgpu_vi_wait_reset_cmpl(struct amdgpu_device *adev) in xgpu_vi_wait_reset_cmpl()
[all …]

12345678910>>...26