/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | psp_v11_0_8.c | 37 if (amdgpu_sriov_vf(adev)) { in psp_v11_0_8_ring_stop() 68 if (amdgpu_sriov_vf(adev)) { in psp_v11_0_8_ring_create() 150 if (amdgpu_sriov_vf(adev)) in psp_v11_0_8_ring_get_wptr() 162 if (amdgpu_sriov_vf(adev)) { in psp_v11_0_8_ring_set_wptr()
|
D | amdgpu_virt.h | 286 #define amdgpu_sriov_vf(adev) \ macro 296 (amdgpu_sriov_vf((adev)) && !amdgpu_sriov_runtime((adev))) 299 (amdgpu_sriov_vf((adev)) && \ 303 (amdgpu_sriov_vf((adev)) && \ 307 (amdgpu_sriov_vf((adev)) && \ 311 (amdgpu_sriov_vf((adev)) && \
|
D | psp_v12_0.c | 191 if (amdgpu_sriov_vf(psp->adev)) { in psp_v12_0_ring_create() 243 if (amdgpu_sriov_vf(adev)) in psp_v12_0_ring_stop() 254 if (amdgpu_sriov_vf(adev)) in psp_v12_0_ring_stop() 321 if (amdgpu_sriov_vf(adev)) in psp_v12_0_ring_get_wptr() 333 if (amdgpu_sriov_vf(adev)) { in psp_v12_0_ring_set_wptr()
|
D | gmc_v11_0.c | 112 if (!amdgpu_sriov_vf(adev)) { in gmc_v11_0_process_interrupt() 147 if (!amdgpu_sriov_vf(adev)) in gmc_v11_0_process_interrupt() 169 if (!amdgpu_sriov_vf(adev)) { in gmc_v11_0_set_irq_funcs() 186 (!amdgpu_sriov_vf(adev))); in gmc_v11_0_use_invalidate_semaphore() 235 (amdgpu_sriov_runtime(adev) || !amdgpu_sriov_vf(adev))) { in gmc_v11_0_flush_gpu_tlb() 285 !amdgpu_sriov_vf(adev)) { in gmc_v11_0_flush_gpu_tlb() 651 if (!amdgpu_sriov_vf(adev) && in gmc_v11_0_vram_gtt_location() 657 if (amdgpu_sriov_vf(adev)) in gmc_v11_0_vram_gtt_location() 786 if (!amdgpu_sriov_vf(adev)) { in gmc_v11_0_sw_init() 866 if (amdgpu_sriov_vf(adev)) { in gmc_v11_0_init_golden_registers() [all …]
|
D | psp_v3_1.c | 196 if (amdgpu_sriov_vf(adev)) { in psp_v3_1_ring_create() 258 if (amdgpu_sriov_vf(adev)) in psp_v3_1_ring_stop() 269 if (amdgpu_sriov_vf(adev)) in psp_v3_1_ring_stop() 345 if (amdgpu_sriov_vf(adev)) in psp_v3_1_ring_get_wptr() 356 if (amdgpu_sriov_vf(adev)) { in psp_v3_1_ring_set_wptr()
|
D | gmc_v12_0.c | 105 if (!amdgpu_sriov_vf(adev)) { in gmc_v12_0_process_interrupt() 140 if (!amdgpu_sriov_vf(adev)) in gmc_v12_0_process_interrupt() 162 if (!amdgpu_sriov_vf(adev)) { in gmc_v12_0_set_irq_funcs() 179 (!amdgpu_sriov_vf(adev))); in gmc_v12_0_use_invalidate_semaphore() 262 !amdgpu_sriov_vf(adev)) { in gmc_v12_0_flush_vm_hub() 303 (amdgpu_sriov_runtime(adev) || !amdgpu_sriov_vf(adev))) { in gmc_v12_0_flush_gpu_tlb() 653 if (!amdgpu_sriov_vf(adev) && (amdgpu_agp == 1)) in gmc_v12_0_vram_gtt_location() 657 if (amdgpu_sriov_vf(adev)) in gmc_v12_0_vram_gtt_location() 782 if (!amdgpu_sriov_vf(adev)) { in gmc_v12_0_sw_init() 931 if (amdgpu_sriov_vf(adev)) { in gmc_v12_0_hw_fini()
|
D | amdgpu_psp.c | 99 if (amdgpu_sriov_vf(adev)) { in psp_check_pmfw_centralized_cstate_management() 190 adev->psp.sup_pd_fw_up = !amdgpu_sriov_vf(adev); in psp_early_init() 237 adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev); in psp_early_init() 258 if (amdgpu_sriov_vf(adev)) in psp_early_init() 277 pptr = amdgpu_sriov_vf(psp->adev) ? &tmr_buf : NULL; in psp_free_shared_bufs() 494 (amdgpu_sriov_vf(adev) || adev->debug_use_vram_fw_buf) ? in psp_sw_init() 704 psp->cmd_buf_mem->resp.status == PSP_ERR_UNKNOWN_COMMAND) && amdgpu_sriov_vf(psp->adev); in psp_cmd_submit_buf() 731 if ((ucode && amdgpu_sriov_vf(psp->adev)) || !timeout) { in psp_cmd_submit_buf() 775 if (amdgpu_sriov_vf(psp->adev)) in psp_prep_tmr_cmd_buf() 838 if (!amdgpu_sriov_vf(psp->adev) && in psp_tmr_init() [all …]
|
D | athub_v1_0.c | 68 if (amdgpu_sriov_vf(adev)) in athub_v1_0_set_clockgating() 94 if (amdgpu_sriov_vf(adev)) in athub_v1_0_get_clockgating()
|
D | psp_v13_0_4.c | 200 if (amdgpu_sriov_vf(adev)) { in psp_v13_0_4_ring_stop() 231 if (amdgpu_sriov_vf(adev)) { in psp_v13_0_4_ring_create() 313 if (amdgpu_sriov_vf(adev)) in psp_v13_0_4_ring_get_wptr() 325 if (amdgpu_sriov_vf(adev)) { in psp_v13_0_4_ring_set_wptr()
|
D | mmhub_v1_0.c | 115 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_init_system_aperture_regs() 161 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_init_cache_regs() 213 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_disable_identity_aperture() 304 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_update_power_gating() 315 if (amdgpu_sriov_vf(adev)) { in mmhub_v1_0_gart_enable() 361 if (!amdgpu_sriov_vf(adev)) { in mmhub_v1_0_gart_disable() 380 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_set_fault_enable_default() 531 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_set_clockgating() 556 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_get_clockgating()
|
D | amdgpu_device.c | 676 if (amdgpu_sriov_vf(adev) && in amdgpu_device_xcc_rreg() 807 if (amdgpu_sriov_vf(adev) && in amdgpu_device_xcc_wreg() 1542 if (amdgpu_sriov_vf(adev)) in amdgpu_device_resize_fb_bar() 1629 if (amdgpu_sriov_vf(adev)) in amdgpu_device_need_post() 2337 if (amdgpu_sriov_vf(adev) && !adev->enable_virtual_display) { in amdgpu_device_set_sriov_virtual_display() 2486 if (amdgpu_sriov_vf(adev)) { in amdgpu_device_ip_early_init() 2560 if (amdgpu_sriov_vf(adev) || sched_policy == KFD_SCHED_POLICY_NO_HWS) in amdgpu_device_ip_early_init() 2562 if (amdgpu_sriov_vf(adev) && adev->asic_type == CHIP_SIENNA_CICHLID) in amdgpu_device_ip_early_init() 2609 if (amdgpu_sriov_vf(adev)) in amdgpu_device_ip_early_init() 2637 (amdgpu_sriov_vf(adev) && (adev->ip_blocks[i].version->type == AMD_IP_BLOCK_TYPE_PSP)) || in amdgpu_device_ip_hw_init_phase1() [all …]
|
D | amdgpu_vf_error.c | 36 if (!amdgpu_sriov_vf(adev)) in amdgpu_vf_error_put() 57 if ((NULL == adev) || (!amdgpu_sriov_vf(adev)) || in amdgpu_vf_error_trans_all()
|
D | nv.c | 220 if (amdgpu_sriov_vf(adev)) { in nv_query_video_codecs() 734 if (amdgpu_sriov_vf(adev)) in nv_common_early_init() 755 if (amdgpu_sriov_vf(adev)) { in nv_common_early_init() 939 if (amdgpu_sriov_vf(adev)) { in nv_common_early_init() 951 if (amdgpu_sriov_vf(adev)) { in nv_common_late_init() 980 if (amdgpu_sriov_vf(adev)) in nv_common_sw_init() 1009 if (adev->nbio.funcs->remap_hdp_registers && !amdgpu_sriov_vf(adev)) in nv_common_hw_init() 1066 if (amdgpu_sriov_vf(adev)) in nv_common_set_clockgating_state() 1103 if (amdgpu_sriov_vf(adev)) in nv_common_get_clockgating_state()
|
D | gmc_v10_0.c | 140 if (!amdgpu_sriov_vf(adev)) { in gmc_v10_0_process_interrupt() 178 if (!amdgpu_sriov_vf(adev)) in gmc_v10_0_process_interrupt() 200 if (!amdgpu_sriov_vf(adev)) { in gmc_v10_0_set_irq_funcs() 217 (!amdgpu_sriov_vf(adev))); in gmc_v10_0_use_invalidate_semaphore() 274 (amdgpu_sriov_runtime(adev) || !amdgpu_sriov_vf(adev))) { in gmc_v10_0_flush_gpu_tlb() 683 if (!amdgpu_sriov_vf(adev) && (amdgpu_agp == 1)) in gmc_v10_0_vram_gtt_location() 857 if (!amdgpu_sriov_vf(adev)) { in gmc_v10_0_sw_init() 1041 if (amdgpu_sriov_vf(adev)) { in gmc_v10_0_hw_fini()
|
D | mmhub_v2_0.c | 223 if (!amdgpu_sriov_vf(adev)) { in mmhub_v2_0_init_system_aperture_regs() 281 if (amdgpu_sriov_vf(adev)) in mmhub_v2_0_init_cache_regs() 342 if (amdgpu_sriov_vf(adev)) in mmhub_v2_0_disable_identity_aperture() 480 if (amdgpu_sriov_vf(adev)) in mmhub_v2_0_set_fault_enable_default() 651 if (amdgpu_sriov_vf(adev)) in mmhub_v2_0_set_clockgating() 676 if (amdgpu_sriov_vf(adev)) in mmhub_v2_0_get_clockgating()
|
D | mmhub_v3_0.c | 172 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_init_system_aperture_regs() 237 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_init_cache_regs() 298 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_disable_identity_aperture() 436 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_set_fault_enable_default() 622 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_set_clockgating() 640 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_get_clockgating()
|
D | mmhub_v4_1_0.c | 177 if (amdgpu_sriov_vf(adev)) in mmhub_v4_1_0_init_system_aperture_regs() 238 if (amdgpu_sriov_vf(adev)) in mmhub_v4_1_0_init_cache_regs() 299 if (amdgpu_sriov_vf(adev)) in mmhub_v4_1_0_disable_identity_aperture() 438 if (amdgpu_sriov_vf(adev)) in mmhub_v4_1_0_set_fault_enable_default() 611 if (amdgpu_sriov_vf(adev)) in mmhub_v4_1_0_set_clockgating() 630 if (amdgpu_sriov_vf(adev)) in mmhub_v4_1_0_get_clockgating()
|
D | psp_v11_0.c | 267 if (amdgpu_sriov_vf(adev)) in psp_v11_0_ring_stop() 278 if (amdgpu_sriov_vf(adev)) in psp_v11_0_ring_stop() 296 if (amdgpu_sriov_vf(adev)) { in psp_v11_0_ring_create() 569 if (amdgpu_sriov_vf(adev)) in psp_v11_0_ring_get_wptr() 581 if (amdgpu_sriov_vf(adev)) { in psp_v11_0_ring_set_wptr()
|
D | mmhub_v3_0_2.c | 170 if (!amdgpu_sriov_vf(adev)) { in mmhub_v3_0_2_init_system_aperture_regs() 229 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_2_init_cache_regs() 290 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_2_disable_identity_aperture() 428 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_2_set_fault_enable_default() 545 if (amdgpu_sriov_vf(adev)) in mmhub_v3_0_2_set_clockgating()
|
D | ih_v6_0.c | 108 if (amdgpu_sriov_vf(adev) && amdgpu_sriov_reg_indirect_ih(adev)) { in force_update_wptr_for_self_int() 144 if (amdgpu_sriov_vf(adev) && amdgpu_sriov_reg_indirect_ih(adev)) { in ih_v6_0_toggle_ring_interrupts() 153 if (amdgpu_sriov_vf(adev) && amdgpu_sriov_reg_indirect_ih(adev)) { in ih_v6_0_toggle_ring_interrupts() 170 if (amdgpu_sriov_vf(adev) && amdgpu_sriov_reg_indirect_ih(adev)) { in ih_v6_0_toggle_ring_interrupts() 286 if (amdgpu_sriov_vf(adev) && amdgpu_sriov_reg_indirect_ih(adev)) { in ih_v6_0_enable_ring() 518 if (amdgpu_sriov_vf(adev)) in ih_v6_0_set_rptr()
|
D | psp_v13_0.c | 100 if (!amdgpu_sriov_vf(adev)) { in psp_v13_0_init_microcode() 346 if (amdgpu_sriov_vf(adev)) { in psp_v13_0_ring_stop() 377 if (amdgpu_sriov_vf(adev)) { in psp_v13_0_ring_create() 459 if (amdgpu_sriov_vf(adev)) in psp_v13_0_ring_get_wptr() 471 if (amdgpu_sriov_vf(adev)) { in psp_v13_0_ring_set_wptr() 794 if (amdgpu_sriov_vf(adev)) in psp_v13_0_get_ras_capability()
|
D | gmc_v9_0.c | 653 if (amdgpu_sriov_vf(adev)) in gmc_v9_0_process_interrupt() 675 if (!amdgpu_sriov_vf(adev)) in gmc_v9_0_process_interrupt() 753 if (!amdgpu_sriov_vf(adev) && in gmc_v9_0_set_irq_funcs() 797 (!amdgpu_sriov_vf(adev)) && in gmc_v9_0_use_invalidate_semaphore() 856 (amdgpu_sriov_runtime(adev) || !amdgpu_sriov_vf(adev))) { in gmc_v9_0_flush_gpu_tlb() 1395 if (amdgpu_sriov_vf(adev)) in gmc_v9_0_query_memory_partition() 1620 if (!amdgpu_sriov_vf(adev) && in gmc_v9_0_late_init() 1655 if (!amdgpu_sriov_vf(adev) && (amdgpu_agp == 1)) in gmc_v9_0_vram_gtt_location() 1711 if ((!amdgpu_sriov_vf(adev) && in gmc_v9_0_mc_init() 1974 if (amdgpu_sriov_vf(adev)) in gmc_v9_0_init_mem_ranges() [all …]
|
D | sdma_v5_0.c | 254 if (amdgpu_sriov_vf(adev)) in sdma_v5_0_init_golden_registers() 659 if (!amdgpu_sriov_vf(adev)) { in sdma_v5_0_ctx_switch_enable() 673 if (!amdgpu_sriov_vf(adev)) in sdma_v5_0_ctx_switch_enable() 697 if (amdgpu_sriov_vf(adev)) in sdma_v5_0_enable() 730 if (!amdgpu_sriov_vf(adev)) in sdma_v5_0_gfx_resume() 782 if (!amdgpu_sriov_vf(adev)) { /* only bare-metal use register write for wptr */ in sdma_v5_0_gfx_resume() 807 if (amdgpu_sriov_vf(adev)) in sdma_v5_0_gfx_resume() 813 if (!amdgpu_sriov_vf(adev)) { in sdma_v5_0_gfx_resume() 836 if (!amdgpu_sriov_vf(adev)) { in sdma_v5_0_gfx_resume() 855 if (amdgpu_sriov_vf(adev)) { /* bare-metal sequence doesn't need below to lines */ in sdma_v5_0_gfx_resume() [all …]
|
D | soc15.c | 1193 if (amdgpu_sriov_vf(adev)) { in soc15_common_early_init() 1205 if (amdgpu_sriov_vf(adev)) in soc15_common_late_init() 1220 if (amdgpu_sriov_vf(adev)) in soc15_common_sw_init() 1245 if (!amdgpu_sriov_vf(adev)) { in soc15_sdma_doorbell_range_init() 1266 if (adev->nbio.funcs->remap_hdp_registers && !amdgpu_sriov_vf(adev)) in soc15_common_hw_init() 1295 if (amdgpu_sriov_vf(adev)) in soc15_common_hw_fini() 1298 if ((!amdgpu_sriov_vf(adev)) && in soc15_common_hw_fini() 1394 if (amdgpu_sriov_vf(adev)) in soc15_common_set_clockgating_state() 1446 if (amdgpu_sriov_vf(adev)) in soc15_common_get_clockgating_state()
|
D | gfxhub_v1_2.c | 137 if (!amdgpu_sriov_vf(adev) || adev->asic_type <= CHIP_VEGA10) { in gfxhub_v1_2_xcc_init_system_aperture_regs() 417 if (!amdgpu_sriov_vf(adev)) in gfxhub_v1_2_xcc_gart_enable() 421 if (!amdgpu_sriov_vf(adev)) in gfxhub_v1_2_xcc_gart_enable() 461 if (!amdgpu_sriov_vf(adev)) { in gfxhub_v1_2_xcc_gart_disable() 647 if (!amdgpu_sriov_vf(adev)) in gfxhub_v1_2_xcp_resume() 657 if (!amdgpu_sriov_vf(adev)) in gfxhub_v1_2_xcp_suspend()
|