/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_device.c | 151 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local 238 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px() local 255 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco() local 273 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco() local 1656 struct amdgpu_device *adev = dev; in amdgpu_device_ip_set_clockgating_state() local 1690 struct amdgpu_device *adev = dev; in amdgpu_device_ip_set_powergating_state() local 2651 struct amdgpu_device *adev; in amdgpu_device_enable_mgpu_fan_boost() local 2913 struct amdgpu_device *adev = in amdgpu_device_delayed_init_work_handler() local 2924 struct amdgpu_device *adev = in amdgpu_device_delay_enable_gfx_off() local 3390 struct amdgpu_device *adev = in amdgpu_device_xgmi_reset_func() local [all …]
|
A D | soc21.c | 134 static u32 soc21_pcie_rreg(struct amdgpu_device *adev, u32 reg) in soc21_pcie_rreg() 172 static u32 soc21_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc21_didt_rreg() 205 static u32 soc21_get_xclk(struct amdgpu_device *adev) in soc21_get_xclk() 211 void soc21_grbm_select(struct amdgpu_device *adev, in soc21_grbm_select() 350 soc21_asic_reset_method(struct amdgpu_device *adev) in soc21_asic_reset_method() 377 static int soc21_asic_reset(struct amdgpu_device *adev) in soc21_asic_reset() 430 static void soc21_program_aspm(struct amdgpu_device *adev) in soc21_program_aspm() 456 static uint32_t soc21_get_rev_id(struct amdgpu_device *adev) in soc21_get_rev_id() 461 static bool soc21_need_full_reset(struct amdgpu_device *adev) in soc21_need_full_reset() 536 static void soc21_pre_asic_init(struct amdgpu_device *adev) in soc21_pre_asic_init() [all …]
|
A D | soc15.c | 340 static u32 soc15_get_xclk(struct amdgpu_device *adev) in soc15_get_xclk() 355 void soc15_grbm_select(struct amdgpu_device *adev, in soc15_grbm_select() 503 static int soc15_asic_baco_reset(struct amdgpu_device *adev) in soc15_asic_baco_reset() 524 soc15_asic_reset_method(struct amdgpu_device *adev) in soc15_asic_reset_method() 587 static int soc15_asic_reset(struct amdgpu_device *adev) in soc15_asic_reset() 610 static bool soc15_supports_baco(struct amdgpu_device *adev) in soc15_supports_baco() 672 static void soc15_program_aspm(struct amdgpu_device *adev) in soc15_program_aspm() 698 static uint32_t soc15_get_rev_id(struct amdgpu_device *adev) in soc15_get_rev_id() 703 static void soc15_reg_base_init(struct amdgpu_device *adev) in soc15_reg_base_init() 728 void soc15_set_virt_ops(struct amdgpu_device *adev) in soc15_set_virt_ops() [all …]
|
A D | nbio_v4_3.c | 31 static void nbio_v4_3_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v4_3_remap_hdp_registers() 39 static u32 nbio_v4_3_get_rev_id(struct amdgpu_device *adev) in nbio_v4_3_get_rev_id() 59 static u32 nbio_v4_3_get_memsize(struct amdgpu_device *adev) in nbio_v4_3_get_memsize() 145 static void nbio_v4_3_gc_doorbell_init(struct amdgpu_device *adev) in nbio_v4_3_gc_doorbell_init() 181 static void nbio_v4_3_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v4_3_ih_doorbell_range() 216 static void nbio_v4_3_ih_control(struct amdgpu_device *adev) in nbio_v4_3_ih_control() 318 static u32 nbio_v4_3_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v4_3_get_pcie_data_offset() 338 static void nbio_v4_3_init_registers(struct amdgpu_device *adev) in nbio_v4_3_init_registers() 349 static u32 nbio_v4_3_get_rom_offset(struct amdgpu_device *adev) in nbio_v4_3_get_rom_offset() 360 static void nbio_v4_3_program_ltr(struct amdgpu_device *adev) in nbio_v4_3_program_ltr() [all …]
|
A D | jpeg_v4_0.c | 53 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_early_init() local 74 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_sw_init() local 128 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_sw_fini() local 148 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_hw_init() local 177 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_hw_fini() local 199 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_suspend() local 344 static int jpeg_v4_0_start(struct amdgpu_device *adev) in jpeg_v4_0_start() 396 static int jpeg_v4_0_stop(struct amdgpu_device *adev) in jpeg_v4_0_stop() 427 struct amdgpu_device *adev = ring->adev; in jpeg_v4_0_dec_ring_get_rptr() local 441 struct amdgpu_device *adev = ring->adev; in jpeg_v4_0_dec_ring_get_wptr() local [all …]
|
A D | jpeg_v3_0.c | 51 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_early_init() local 82 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_init() local 124 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_fini() local 144 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_init() local 169 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_fini() local 189 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_suspend() local 329 static int jpeg_v3_0_start(struct amdgpu_device *adev) in jpeg_v3_0_start() 382 static int jpeg_v3_0_stop(struct amdgpu_device *adev) in jpeg_v3_0_stop() 413 struct amdgpu_device *adev = ring->adev; in jpeg_v3_0_dec_ring_get_rptr() local 427 struct amdgpu_device *adev = ring->adev; in jpeg_v3_0_dec_ring_get_wptr() local [all …]
|
A D | nv.c | 286 static u32 nv_pcie_rreg(struct amdgpu_device *adev, u32 reg) in nv_pcie_rreg() 357 static u32 nv_get_xclk(struct amdgpu_device *adev) in nv_get_xclk() 363 void nv_grbm_select(struct amdgpu_device *adev, in nv_grbm_select() 461 static int nv_asic_mode2_reset(struct amdgpu_device *adev) in nv_asic_mode2_reset() 494 nv_asic_reset_method(struct amdgpu_device *adev) in nv_asic_reset_method() 526 static int nv_asic_reset(struct amdgpu_device *adev) in nv_asic_reset() 579 static void nv_program_aspm(struct amdgpu_device *adev) in nv_program_aspm() 606 void nv_set_virt_ops(struct amdgpu_device *adev) in nv_set_virt_ops() 611 static uint32_t nv_get_rev_id(struct amdgpu_device *adev) in nv_get_rev_id() 616 static bool nv_need_full_reset(struct amdgpu_device *adev) in nv_need_full_reset() [all …]
|
A D | gfx_v6_0.c | 1769 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_test_ring() local 1875 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_test_ib() local 2109 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_get_wptr() local 2123 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_set_wptr_gfx() local 2131 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_set_wptr_compute() local 2333 static int gfx_v6_0_rlc_init(struct amdgpu_device *adev) in gfx_v6_0_rlc_init() 2425 static u32 gfx_v6_0_halt_rlc(struct amdgpu_device *adev) in gfx_v6_0_halt_rlc() 2477 static void gfx_v6_0_init_cg(struct amdgpu_device *adev) in gfx_v6_0_init_cg() 2880 static void gfx_v6_0_init_pg(struct amdgpu_device *adev) in gfx_v6_0_init_pg() 3330 static int gfx_v6_0_eop_irq(struct amdgpu_device *adev, in gfx_v6_0_eop_irq() [all …]
|
A D | vce_v2_0.c | 57 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_rptr() local 74 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_wptr() local 91 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_set_wptr() local 99 static int vce_v2_0_lmi_clean(struct amdgpu_device *adev) in vce_v2_0_lmi_clean() 142 static void vce_v2_0_disable_cg(struct amdgpu_device *adev) in vce_v2_0_disable_cg() 147 static void vce_v2_0_init_cg(struct amdgpu_device *adev) in vce_v2_0_init_cg() 168 static void vce_v2_0_mc_resume(struct amdgpu_device *adev) in vce_v2_0_mc_resume() 206 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_is_idle() local 213 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_wait_for_idle() local 230 static int vce_v2_0_start(struct amdgpu_device *adev) in vce_v2_0_start() [all …]
|
A D | vi.c | 327 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg() 353 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg() 544 static u32 vi_get_xclk(struct amdgpu_device *adev) in vi_get_xclk() 576 void vi_srbm_select(struct amdgpu_device *adev, in vi_srbm_select() 918 vi_asic_reset_method(struct amdgpu_device *adev) in vi_asic_reset_method() 959 static int vi_asic_reset(struct amdgpu_device *adev) in vi_asic_reset() 1126 static void vi_enable_aspm(struct amdgpu_device *adev) in vi_enable_aspm() 1152 static void vi_program_aspm(struct amdgpu_device *adev) in vi_program_aspm() 1460 static void vi_pre_asic_init(struct amdgpu_device *adev) in vi_pre_asic_init() 2107 void vi_set_virt_ops(struct amdgpu_device *adev) in vi_set_virt_ops() [all …]
|
A D | mxgpu_nv.c | 36 static void xgpu_nv_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_nv_mailbox_send_ack() 61 static int xgpu_nv_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_msg() 75 static uint8_t xgpu_nv_peek_ack(struct amdgpu_device *adev) in xgpu_nv_peek_ack() 80 static int xgpu_nv_poll_ack(struct amdgpu_device *adev) in xgpu_nv_poll_ack() 211 static int xgpu_nv_request_reset(struct amdgpu_device *adev) in xgpu_nv_request_reset() 251 static int xgpu_nv_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_nv_mailbox_ack_irq() 342 static int xgpu_nv_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_irq() 380 void xgpu_nv_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_nv_mailbox_set_irq_funcs() 388 int xgpu_nv_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_nv_mailbox_add_irq_id() 405 int xgpu_nv_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_nv_mailbox_get_irq() [all …]
|
A D | mxgpu_ai.c | 37 static void xgpu_ai_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_ai_mailbox_send_ack() 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() 195 static int xgpu_ai_request_reset(struct amdgpu_device *adev) in xgpu_ai_request_reset() 230 static int xgpu_ai_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_ai_mailbox_ack_irq() 312 static int xgpu_ai_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_irq() 353 void xgpu_ai_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_ai_mailbox_set_irq_funcs() 361 int xgpu_ai_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_ai_mailbox_add_irq_id() 378 int xgpu_ai_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_ai_mailbox_get_irq() [all …]
|
A D | amdgpu_amdkfd.c | 70 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe() 141 void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) in amdgpu_amdkfd_device_init() 206 void amdgpu_amdkfd_device_fini_sw(struct amdgpu_device *adev) in amdgpu_amdkfd_device_fini_sw() 215 void amdgpu_amdkfd_interrupt(struct amdgpu_device *adev, in amdgpu_amdkfd_interrupt() 228 int amdgpu_amdkfd_resume_iommu(struct amdgpu_device *adev) in amdgpu_amdkfd_resume_iommu() 248 int amdgpu_amdkfd_pre_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_pre_reset() 258 int amdgpu_amdkfd_post_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_post_reset() 268 void amdgpu_amdkfd_gpu_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_gpu_reset() 554 struct amdgpu_device *adev = dst; in amdgpu_amdkfd_get_xgmi_hops_count() local 570 struct amdgpu_device *adev = dst, *peer_adev; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() local [all …]
|
A D | nbio_v7_0.c | 36 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() 63 static u32 nbio_v7_0_get_memsize(struct amdgpu_device *adev) in nbio_v7_0_get_memsize() 105 static void nbio_v7_0_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_0_enable_doorbell_aperture() 117 static void nbio_v7_0_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_0_ih_doorbell_range() 207 static void nbio_v7_0_get_clockgating_state(struct amdgpu_device *adev, in nbio_v7_0_get_clockgating_state() 223 static void nbio_v7_0_ih_control(struct amdgpu_device *adev) in nbio_v7_0_ih_control() 239 static u32 nbio_v7_0_get_hdp_flush_req_offset(struct amdgpu_device *adev) in nbio_v7_0_get_hdp_flush_req_offset() 249 static u32 nbio_v7_0_get_pcie_index_offset(struct amdgpu_device *adev) in nbio_v7_0_get_pcie_index_offset() 254 static u32 nbio_v7_0_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v7_0_get_pcie_data_offset() [all …]
|
A D | nbio_v7_7.c | 31 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() 60 static u32 nbio_v7_7_get_memsize(struct amdgpu_device *adev) in nbio_v7_7_get_memsize() 108 static void nbio_v7_7_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_7_enable_doorbell_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() 192 static u32 nbio_v7_7_get_hdp_flush_req_offset(struct amdgpu_device *adev) in nbio_v7_7_get_hdp_flush_req_offset() 202 static u32 nbio_v7_7_get_pcie_index_offset(struct amdgpu_device *adev) in nbio_v7_7_get_pcie_index_offset() 207 static u32 nbio_v7_7_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v7_7_get_pcie_data_offset() 237 static void nbio_v7_7_init_registers(struct amdgpu_device *adev) in nbio_v7_7_init_registers() [all …]
|
A D | gmc_v11_0.c | 58 gmc_v11_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_vm_fault_interrupt_state() 150 static void gmc_v11_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v11_0_set_irq_funcs() 176 struct amdgpu_device *adev, in gmc_v11_0_get_vmid_pasid_mapping_info() 425 struct amdgpu_device *adev = ring->adev; in gmc_v11_0_emit_pasid_mapping() local 514 static void gmc_v11_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v11_0_get_vm_pte() 633 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v11_0_early_init() local 653 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v11_0_late_init() local 694 static int gmc_v11_0_mc_init(struct amdgpu_device *adev) in gmc_v11_0_mc_init() 733 static int gmc_v11_0_gart_init(struct amdgpu_device *adev) in gmc_v11_0_gart_init() 859 static void gmc_v11_0_gart_fini(struct amdgpu_device *adev) in gmc_v11_0_gart_fini() [all …]
|
A D | gmc_v7_0.c | 90 static void gmc_v7_0_mc_stop(struct amdgpu_device *adev) in gmc_v7_0_mc_stop() 109 static void gmc_v7_0_mc_resume(struct amdgpu_device *adev) in gmc_v7_0_mc_resume() 132 static int gmc_v7_0_init_microcode(struct amdgpu_device *adev) in gmc_v7_0_init_microcode() 254 static void gmc_v7_0_mc_program(struct amdgpu_device *adev) in gmc_v7_0_mc_program() 316 static int gmc_v7_0_mc_init(struct amdgpu_device *adev) in gmc_v7_0_mc_init() 502 static void gmc_v7_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v7_0_get_vm_pte() 605 static int gmc_v7_0_gart_enable(struct amdgpu_device *adev) in gmc_v7_0_gart_enable() 707 static int gmc_v7_0_gart_init(struct amdgpu_device *adev) in gmc_v7_0_gart_init() 731 static void gmc_v7_0_gart_disable(struct amdgpu_device *adev) in gmc_v7_0_gart_disable() 819 static void gmc_v7_0_enable_mc_ls(struct amdgpu_device *adev, in gmc_v7_0_enable_mc_ls() [all …]
|
A D | gmc_v8_0.c | 179 static void gmc_v8_0_mc_stop(struct amdgpu_device *adev) in gmc_v8_0_mc_stop() 198 static void gmc_v8_0_mc_resume(struct amdgpu_device *adev) in gmc_v8_0_mc_resume() 221 static int gmc_v8_0_init_microcode(struct amdgpu_device *adev) in gmc_v8_0_init_microcode() 436 static void gmc_v8_0_mc_program(struct amdgpu_device *adev) in gmc_v8_0_mc_program() 509 static int gmc_v8_0_mc_init(struct amdgpu_device *adev) in gmc_v8_0_mc_init() 722 static void gmc_v8_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v8_0_get_vm_pte() 828 static int gmc_v8_0_gart_enable(struct amdgpu_device *adev) in gmc_v8_0_gart_enable() 947 static int gmc_v8_0_gart_init(struct amdgpu_device *adev) in gmc_v8_0_gart_init() 971 static void gmc_v8_0_gart_disable(struct amdgpu_device *adev) in gmc_v8_0_gart_disable() 1046 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v8_0_early_init() local [all …]
|
A D | mmhub_v3_0_2.c | 96 mmhub_v3_0_2_print_l2_protection_fault_status(struct amdgpu_device *adev, in mmhub_v3_0_2_print_l2_protection_fault_status() 203 static void mmhub_v3_0_2_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_tlb_regs() 223 static void mmhub_v3_0_2_init_cache_regs(struct amdgpu_device *adev) in mmhub_v3_0_2_init_cache_regs() 274 static void mmhub_v3_0_2_enable_system_domain(struct amdgpu_device *adev) in mmhub_v3_0_2_enable_system_domain() 312 static void mmhub_v3_0_2_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v3_0_2_setup_vmid_config() 375 static int mmhub_v3_0_2_gart_enable(struct amdgpu_device *adev) in mmhub_v3_0_2_gart_enable() 391 static void mmhub_v3_0_2_gart_disable(struct amdgpu_device *adev) in mmhub_v3_0_2_gart_disable() 470 static void mmhub_v3_0_2_init(struct amdgpu_device *adev) in mmhub_v3_0_2_init() 515 static u64 mmhub_v3_0_2_get_fb_location(struct amdgpu_device *adev) in mmhub_v3_0_2_get_fb_location() 526 static u64 mmhub_v3_0_2_get_mc_fb_offset(struct amdgpu_device *adev) in mmhub_v3_0_2_get_mc_fb_offset() [all …]
|
A D | vcn_v1_0.c | 1382 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_get_rptr() local 1396 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_get_wptr() local 1410 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_set_wptr() local 1428 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_insert_start() local 1447 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_insert_end() local 1467 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_fence() local 1510 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_ib() local 1532 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_reg_wait() local 1566 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_wreg() local 1588 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_enc_ring_get_rptr() local [all …]
|
A D | gfx_v11_0.c | 192 struct amdgpu_device *adev = kiq_ring->adev; in gfx11_kiq_unmap_queues() local 315 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ring() local 356 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ib() local 3524 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kiq_setting() local 3639 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_gfx_queue_init_register() local 3687 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_gfx_init_queue() local 3919 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kiq_init_register() local 4029 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kiq_init_queue() local 4069 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_kcq_init_queue() local 4677 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_emit_gds_switch() local [all …]
|
A D | amdgpu_virt.c | 45 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked() 53 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting() 176 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu() 192 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data() 211 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset() 227 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table() 257 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table() 671 void amdgpu_virt_exchange_data(struct amdgpu_device *adev) in amdgpu_virt_exchange_data() 714 void amdgpu_detect_virtualization(struct amdgpu_device *adev) in amdgpu_detect_virtualization() 1038 void amdgpu_sriov_wreg(struct amdgpu_device *adev, in amdgpu_sriov_wreg() [all …]
|
A D | si.c | 1357 static void si_spll_powerdown(struct amdgpu_device *adev) in si_spll_powerdown() 1418 si_asic_reset_method(struct amdgpu_device *adev) in si_asic_reset_method() 1430 static int si_asic_reset(struct amdgpu_device *adev) in si_asic_reset() 1467 static u32 si_get_xclk(struct amdgpu_device *adev) in si_get_xclk() 1493 static void si_invalidate_hdp(struct amdgpu_device *adev, in si_invalidate_hdp() 1504 static bool si_need_full_reset(struct amdgpu_device *adev) in si_need_full_reset() 1515 static int si_get_pcie_lanes(struct amdgpu_device *adev) in si_get_pcie_lanes() 1990 static void si_pre_asic_init(struct amdgpu_device *adev) in si_pre_asic_init() 2019 static uint32_t si_get_rev_id(struct amdgpu_device *adev) in si_get_rev_id() 2450 static void si_program_aspm(struct amdgpu_device *adev) in si_program_aspm() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/ |
A D | amdgpu_dpm.c | 36 #define amdgpu_dpm_enable_bapm(adev, e) \ argument 124 int amdgpu_dpm_baco_enter(struct amdgpu_device *adev) in amdgpu_dpm_baco_enter() 143 int amdgpu_dpm_baco_exit(struct amdgpu_device *adev) in amdgpu_dpm_baco_exit() 162 int amdgpu_dpm_set_mp1_state(struct amdgpu_device *adev, in amdgpu_dpm_set_mp1_state() 212 int amdgpu_dpm_mode2_reset(struct amdgpu_device *adev) in amdgpu_dpm_mode2_reset() 248 int amdgpu_dpm_baco_reset(struct amdgpu_device *adev) in amdgpu_dpm_baco_reset() 286 int amdgpu_dpm_mode1_reset(struct amdgpu_device *adev) in amdgpu_dpm_mode1_reset() 336 int amdgpu_dpm_set_df_cstate(struct amdgpu_device *adev, in amdgpu_dpm_set_df_cstate() 775 int amdgpu_dpm_get_ecc_info(struct amdgpu_device *adev, in amdgpu_dpm_get_ecc_info() 1119 int amdgpu_dpm_get_sclk_od(struct amdgpu_device *adev) in amdgpu_dpm_get_sclk_od() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/ |
A D | kv_dpm.c | 652 static void kv_program_vc(struct amdgpu_device *adev) in kv_program_vc() 657 static void kv_clear_vc(struct amdgpu_device *adev) in kv_clear_vc() 726 static void kv_start_dpm(struct amdgpu_device *adev) in kv_start_dpm() 736 static void kv_stop_dpm(struct amdgpu_device *adev) in kv_stop_dpm() 741 static void kv_start_am(struct amdgpu_device *adev) in kv_start_am() 752 static void kv_reset_am(struct amdgpu_device *adev) in kv_reset_am() 1273 static int kv_dpm_enable(struct amdgpu_device *adev) in kv_dpm_enable() 1384 static void kv_dpm_disable(struct amdgpu_device *adev) in kv_dpm_disable() 1439 static void kv_init_sclk_t(struct amdgpu_device *adev) in kv_init_sclk_t() 2794 static int kv_dpm_init(struct amdgpu_device *adev) in kv_dpm_init() [all …]
|