/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_device.c | 145 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local 170 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_product_name() local 232 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px() local 249 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco() local 267 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco() local 1607 struct amdgpu_device *adev = dev; in amdgpu_device_ip_set_clockgating_state() local 1641 struct amdgpu_device *adev = dev; in amdgpu_device_ip_set_powergating_state() local 2543 struct amdgpu_device *adev; in amdgpu_device_enable_mgpu_fan_boost() local 2785 struct amdgpu_device *adev = in amdgpu_device_delayed_init_work_handler() local 2796 struct amdgpu_device *adev = in amdgpu_device_delay_enable_gfx_off() local [all …]
|
A D | jpeg_v3_0.c | 51 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_early_init() local 77 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_init() local 119 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_fini() local 139 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_init() local 164 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_fini() local 184 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_suspend() local 324 static int jpeg_v3_0_start(struct amdgpu_device *adev) in jpeg_v3_0_start() 377 static int jpeg_v3_0_stop(struct amdgpu_device *adev) in jpeg_v3_0_stop() 408 struct amdgpu_device *adev = ring->adev; in jpeg_v3_0_dec_ring_get_rptr() local 422 struct amdgpu_device *adev = ring->adev; in jpeg_v3_0_dec_ring_get_wptr() local [all …]
|
A D | nv.c | 233 static u32 nv_pcie_rreg(struct amdgpu_device *adev, u32 reg) in nv_pcie_rreg() 334 static u32 nv_get_xclk(struct amdgpu_device *adev) in nv_get_xclk() 340 void nv_grbm_select(struct amdgpu_device *adev, in nv_grbm_select() 469 static int nv_asic_mode2_reset(struct amdgpu_device *adev) in nv_asic_mode2_reset() 502 nv_asic_reset_method(struct amdgpu_device *adev) in nv_asic_reset_method() 532 static int nv_asic_reset(struct amdgpu_device *adev) in nv_asic_reset() 585 static void nv_program_aspm(struct amdgpu_device *adev) in nv_program_aspm() 612 void nv_set_virt_ops(struct amdgpu_device *adev) in nv_set_virt_ops() 617 static uint32_t nv_get_rev_id(struct amdgpu_device *adev) in nv_get_rev_id() 622 static bool nv_need_full_reset(struct amdgpu_device *adev) in nv_need_full_reset() [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() 535 static int soc15_asic_baco_reset(struct amdgpu_device *adev) in soc15_asic_baco_reset() 556 soc15_asic_reset_method(struct amdgpu_device *adev) in soc15_asic_reset_method() 619 static int soc15_asic_reset(struct amdgpu_device *adev) in soc15_asic_reset() 642 static bool soc15_supports_baco(struct amdgpu_device *adev) in soc15_supports_baco() 704 static void soc15_program_aspm(struct amdgpu_device *adev) in soc15_program_aspm() 730 static uint32_t soc15_get_rev_id(struct amdgpu_device *adev) in soc15_get_rev_id() 735 static void soc15_reg_base_init(struct amdgpu_device *adev) in soc15_reg_base_init() 773 void soc15_set_virt_ops(struct amdgpu_device *adev) in soc15_set_virt_ops() [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 | gfx_v6_0.c | 1791 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_test_ring() local 1905 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_test_ib() local 2147 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_get_wptr() local 2161 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_set_wptr_gfx() local 2169 struct amdgpu_device *adev = ring->adev; in gfx_v6_0_ring_set_wptr_compute() local 2371 static int gfx_v6_0_rlc_init(struct amdgpu_device *adev) in gfx_v6_0_rlc_init() 2462 static u32 gfx_v6_0_halt_rlc(struct amdgpu_device *adev) in gfx_v6_0_halt_rlc() 2514 static void gfx_v6_0_init_cg(struct amdgpu_device *adev) in gfx_v6_0_init_cg() 2917 static void gfx_v6_0_init_pg(struct amdgpu_device *adev) in gfx_v6_0_init_pg() 3369 static int gfx_v6_0_eop_irq(struct amdgpu_device *adev, in gfx_v6_0_eop_irq() [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 | vcn_v1_0.c | 1378 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_get_rptr() local 1392 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_get_wptr() local 1406 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_set_wptr() local 1424 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_insert_start() local 1443 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_insert_end() local 1463 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_fence() local 1506 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_ib() local 1528 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_reg_wait() local 1562 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_dec_ring_emit_wreg() local 1584 struct amdgpu_device *adev = ring->adev; in vcn_v1_0_enc_ring_get_rptr() local [all …]
|
A D | vi.c | 323 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg() 349 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg() 540 static u32 vi_get_xclk(struct amdgpu_device *adev) in vi_get_xclk() 572 void vi_srbm_select(struct amdgpu_device *adev, in vi_srbm_select() 914 vi_asic_reset_method(struct amdgpu_device *adev) in vi_asic_reset_method() 955 static int vi_asic_reset(struct amdgpu_device *adev) in vi_asic_reset() 1118 static void vi_enable_aspm(struct amdgpu_device *adev) in vi_enable_aspm() 1133 static void vi_program_aspm(struct amdgpu_device *adev) in vi_program_aspm() 1441 static void vi_pre_asic_init(struct amdgpu_device *adev) in vi_pre_asic_init() 2088 void vi_set_virt_ops(struct amdgpu_device *adev) in vi_set_virt_ops() [all …]
|
A D | gmc_v10_0.c | 67 gmc_v10_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v10_0_vm_fault_interrupt_state() 177 static void gmc_v10_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v10_0_set_irq_funcs() 204 struct amdgpu_device *adev, in gmc_v10_0_get_atc_vmid_pasid_mapping_info() 515 struct amdgpu_device *adev = ring->adev; in gmc_v10_0_emit_pasid_mapping() local 600 static void gmc_v10_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v10_0_get_vm_pte() 708 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v10_0_early_init() local 728 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v10_0_late_init() local 773 static int gmc_v10_0_mc_init(struct amdgpu_device *adev) in gmc_v10_0_mc_init() 813 static int gmc_v10_0_gart_init(struct amdgpu_device *adev) in gmc_v10_0_gart_init() 959 static void gmc_v10_0_gart_fini(struct amdgpu_device *adev) in gmc_v10_0_gart_fini() [all …]
|
A D | mxgpu_nv.c | 34 static void xgpu_nv_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_nv_mailbox_send_ack() 59 static int xgpu_nv_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_msg() 73 static uint8_t xgpu_nv_peek_ack(struct amdgpu_device *adev) in xgpu_nv_peek_ack() 78 static int xgpu_nv_poll_ack(struct amdgpu_device *adev) in xgpu_nv_poll_ack() 209 static int xgpu_nv_request_reset(struct amdgpu_device *adev) in xgpu_nv_request_reset() 249 static int xgpu_nv_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_nv_mailbox_ack_irq() 331 static int xgpu_nv_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_irq() 366 void xgpu_nv_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_nv_mailbox_set_irq_funcs() 374 int xgpu_nv_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_nv_mailbox_add_irq_id() 391 int xgpu_nv_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_nv_mailbox_get_irq() [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() 442 static void gmc_v8_0_mc_program(struct amdgpu_device *adev) in gmc_v8_0_mc_program() 515 static int gmc_v8_0_mc_init(struct amdgpu_device *adev) in gmc_v8_0_mc_init() 724 static void gmc_v8_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v8_0_get_vm_pte() 830 static int gmc_v8_0_gart_enable(struct amdgpu_device *adev) in gmc_v8_0_gart_enable() 953 static int gmc_v8_0_gart_init(struct amdgpu_device *adev) in gmc_v8_0_gart_init() 977 static void gmc_v8_0_gart_disable(struct amdgpu_device *adev) in gmc_v8_0_gart_disable() 1053 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in gmc_v8_0_early_init() local [all …]
|
A D | mxgpu_ai.c | 35 static void xgpu_ai_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_ai_mailbox_send_ack() 61 static int xgpu_ai_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_msg() 76 static uint8_t xgpu_ai_peek_ack(struct amdgpu_device *adev) { in xgpu_ai_peek_ack() 80 static int xgpu_ai_poll_ack(struct amdgpu_device *adev) in xgpu_ai_poll_ack() 188 static int xgpu_ai_request_reset(struct amdgpu_device *adev) in xgpu_ai_request_reset() 223 static int xgpu_ai_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_ai_mailbox_ack_irq() 296 static int xgpu_ai_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_irq() 334 void xgpu_ai_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_ai_mailbox_set_irq_funcs() 342 int xgpu_ai_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_ai_mailbox_add_irq_id() 359 int xgpu_ai_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_ai_mailbox_get_irq() [all …]
|
A D | amdgpu_virt.c | 40 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked() 48 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting() 64 void amdgpu_virt_kiq_reg_write_reg_wait(struct amdgpu_device *adev, in amdgpu_virt_kiq_reg_write_reg_wait() 161 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu() 177 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data() 196 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset() 212 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table() 241 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table() 344 static void amdgpu_virt_ras_add_bps(struct amdgpu_device *adev, in amdgpu_virt_ras_add_bps() 405 static void amdgpu_virt_add_bad_page(struct amdgpu_device *adev, in amdgpu_virt_add_bad_page() [all …]
|
A D | amdgpu_amdkfd.c | 68 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe() 114 void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) in amdgpu_amdkfd_device_init() 183 void amdgpu_amdkfd_interrupt(struct amdgpu_device *adev, in amdgpu_amdkfd_interrupt() 196 int amdgpu_amdkfd_resume_iommu(struct amdgpu_device *adev) in amdgpu_amdkfd_resume_iommu() 216 int amdgpu_amdkfd_pre_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_pre_reset() 226 int amdgpu_amdkfd_post_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_post_reset() 238 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_gpu_reset() local 248 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_alloc_gtt_mem() local 331 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_alloc_gws() local 368 struct amdgpu_device *adev = (struct amdgpu_device *)kgd; in amdgpu_amdkfd_get_fw_version() local [all …]
|
A D | mxgpu_vi.c | 277 void xgpu_vi_init_golden_registers(struct amdgpu_device *adev) in xgpu_vi_init_golden_registers() 364 static int xgpu_vi_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_msg() 387 static int xgpu_vi_poll_ack(struct amdgpu_device *adev) in xgpu_vi_poll_ack() 457 static int xgpu_vi_request_reset(struct amdgpu_device *adev) in xgpu_vi_request_reset() 462 static int xgpu_vi_wait_reset_cmpl(struct amdgpu_device *adev) in xgpu_vi_wait_reset_cmpl() 489 static int xgpu_vi_mailbox_ack_irq(struct amdgpu_device *adev, in xgpu_vi_mailbox_ack_irq() 541 static int xgpu_vi_mailbox_rcv_irq(struct amdgpu_device *adev, in xgpu_vi_mailbox_rcv_irq() 570 void xgpu_vi_mailbox_set_irq_funcs(struct amdgpu_device *adev) in xgpu_vi_mailbox_set_irq_funcs() 578 int xgpu_vi_mailbox_add_irq_id(struct amdgpu_device *adev) in xgpu_vi_mailbox_add_irq_id() 595 int xgpu_vi_mailbox_get_irq(struct amdgpu_device *adev) in xgpu_vi_mailbox_get_irq() [all …]
|
A D | tonga_ih.c | 102 static int tonga_ih_irq_init(struct amdgpu_device *adev) in tonga_ih_irq_init() 172 static void tonga_ih_irq_disable(struct amdgpu_device *adev) in tonga_ih_irq_disable() 192 static u32 tonga_ih_get_wptr(struct amdgpu_device *adev, in tonga_ih_get_wptr() 236 static void tonga_ih_decode_iv(struct amdgpu_device *adev, in tonga_ih_decode_iv() 268 static void tonga_ih_set_rptr(struct amdgpu_device *adev, in tonga_ih_set_rptr() 282 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_early_init() local 297 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_init() local 313 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_fini() local 324 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_hw_init() local 335 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_hw_fini() local [all …]
|
A D | uvd_v5_0.c | 58 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_get_rptr() local 72 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_get_wptr() local 86 struct amdgpu_device *adev = ring->adev; in uvd_v5_0_ring_set_wptr() local 93 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_early_init() local 105 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_init() local 136 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_fini() local 154 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_init() local 276 static void uvd_v5_0_mc_resume(struct amdgpu_device *adev) in uvd_v5_0_mc_resume() 315 static int uvd_v5_0_start(struct amdgpu_device *adev) in uvd_v5_0_start() 456 static void uvd_v5_0_stop(struct amdgpu_device *adev) in uvd_v5_0_stop() [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 …]
|
A D | mmhub_v1_0.c | 37 static u64 mmhub_v1_0_get_fb_location(struct amdgpu_device *adev) in mmhub_v1_0_get_fb_location() 68 static void mmhub_v1_0_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_gart_aperture_regs() 135 static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_tlb_regs() 155 static void mmhub_v1_0_init_cache_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_cache_regs() 196 static void mmhub_v1_0_enable_system_domain(struct amdgpu_device *adev) in mmhub_v1_0_enable_system_domain() 229 static void mmhub_v1_0_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v1_0_setup_vmid_config() 298 static void mmhub_v1_0_update_power_gating(struct amdgpu_device *adev, in mmhub_v1_0_update_power_gating() 310 static int mmhub_v1_0_gart_enable(struct amdgpu_device *adev) in mmhub_v1_0_gart_enable() 338 static void mmhub_v1_0_gart_disable(struct amdgpu_device *adev) in mmhub_v1_0_gart_disable() 415 static void mmhub_v1_0_init(struct amdgpu_device *adev) in mmhub_v1_0_init() [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() 260 static void gmc_v7_0_mc_program(struct amdgpu_device *adev) in gmc_v7_0_mc_program() 322 static int gmc_v7_0_mc_init(struct amdgpu_device *adev) in gmc_v7_0_mc_init() 510 static void gmc_v7_0_get_vm_pte(struct amdgpu_device *adev, in gmc_v7_0_get_vm_pte() 613 static int gmc_v7_0_gart_enable(struct amdgpu_device *adev) in gmc_v7_0_gart_enable() 719 static int gmc_v7_0_gart_init(struct amdgpu_device *adev) in gmc_v7_0_gart_init() 743 static void gmc_v7_0_gart_disable(struct amdgpu_device *adev) in gmc_v7_0_gart_disable() 832 static void gmc_v7_0_enable_mc_ls(struct amdgpu_device *adev, in gmc_v7_0_enable_mc_ls() [all …]
|
A D | mmhub_v1_7.c | 37 static u64 mmhub_v1_7_get_fb_location(struct amdgpu_device *adev) in mmhub_v1_7_get_fb_location() 66 static void mmhub_v1_7_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_7_init_gart_aperture_regs() 155 static void mmhub_v1_7_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v1_7_init_tlb_regs() 175 static void mmhub_v1_7_init_cache_regs(struct amdgpu_device *adev) in mmhub_v1_7_init_cache_regs() 226 static void mmhub_v1_7_enable_system_domain(struct amdgpu_device *adev) in mmhub_v1_7_enable_system_domain() 262 static void mmhub_v1_7_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v1_7_setup_vmid_config() 320 static void mmhub_v1_7_program_invalidation(struct amdgpu_device *adev) in mmhub_v1_7_program_invalidation() 333 static int mmhub_v1_7_gart_enable(struct amdgpu_device *adev) in mmhub_v1_7_gart_enable() 349 static void mmhub_v1_7_gart_disable(struct amdgpu_device *adev) in mmhub_v1_7_gart_disable() 426 static void mmhub_v1_7_init(struct amdgpu_device *adev) in mmhub_v1_7_init() [all …]
|
A D | nbio_v7_2.c | 50 static void nbio_v7_2_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_2_remap_hdp_registers() 58 static u32 nbio_v7_2_get_rev_id(struct amdgpu_device *adev) in nbio_v7_2_get_rev_id() 91 static u32 nbio_v7_2_get_memsize(struct amdgpu_device *adev) in nbio_v7_2_get_memsize() 139 static void nbio_v7_2_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_2_enable_doorbell_aperture() 177 static void nbio_v7_2_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_2_ih_doorbell_range() 199 static void nbio_v7_2_ih_control(struct amdgpu_device *adev) in nbio_v7_2_ih_control() 291 static void nbio_v7_2_get_clockgating_state(struct amdgpu_device *adev, in nbio_v7_2_get_clockgating_state() 307 static u32 nbio_v7_2_get_hdp_flush_req_offset(struct amdgpu_device *adev) in nbio_v7_2_get_hdp_flush_req_offset() 317 static u32 nbio_v7_2_get_pcie_index_offset(struct amdgpu_device *adev) in nbio_v7_2_get_pcie_index_offset() 322 static u32 nbio_v7_2_get_pcie_data_offset(struct amdgpu_device *adev) in nbio_v7_2_get_pcie_data_offset() [all …]
|
A D | gfx_v8_0.c | 847 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local 884 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local 4347 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_setting() local 4442 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_set_priority() local 4455 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_mqd_init() local 4639 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kiq_init_queue() local 4678 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_kcq_init_queue() local 6059 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_get_wptr_gfx() local 6070 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_gfx() local 6279 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_set_wptr_compute() local [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/ |
A D | kv_dpm.c | 651 static void kv_program_vc(struct amdgpu_device *adev) in kv_program_vc() 656 static void kv_clear_vc(struct amdgpu_device *adev) in kv_clear_vc() 725 static void kv_start_dpm(struct amdgpu_device *adev) in kv_start_dpm() 735 static void kv_stop_dpm(struct amdgpu_device *adev) in kv_stop_dpm() 740 static void kv_start_am(struct amdgpu_device *adev) in kv_start_am() 751 static void kv_reset_am(struct amdgpu_device *adev) in kv_reset_am() 1259 static int kv_dpm_enable(struct amdgpu_device *adev) in kv_dpm_enable() 1370 static void kv_dpm_disable(struct amdgpu_device *adev) in kv_dpm_disable() 1422 static void kv_init_sclk_t(struct amdgpu_device *adev) in kv_init_sclk_t() 2789 static int kv_dpm_init(struct amdgpu_device *adev) in kv_dpm_init() [all …]
|