Home
last modified time | relevance | path

Searched refs:amdgpu_sriov_vf (Results 1 – 25 of 138) sorted by relevance

123456

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dpsp_v11_0_8.c37 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()
Damdgpu_virt.h286 #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)) && \
Dpsp_v12_0.c191 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()
Dgmc_v11_0.c112 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 …]
Dpsp_v3_1.c196 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()
Dgmc_v12_0.c105 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()
Damdgpu_psp.c99 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 …]
Dathub_v1_0.c68 if (amdgpu_sriov_vf(adev)) in athub_v1_0_set_clockgating()
94 if (amdgpu_sriov_vf(adev)) in athub_v1_0_get_clockgating()
Dpsp_v13_0_4.c200 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()
Dmmhub_v1_0.c115 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()
Damdgpu_device.c676 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 …]
Damdgpu_vf_error.c36 if (!amdgpu_sriov_vf(adev)) in amdgpu_vf_error_put()
57 if ((NULL == adev) || (!amdgpu_sriov_vf(adev)) || in amdgpu_vf_error_trans_all()
Dnv.c220 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()
Dgmc_v10_0.c140 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()
Dmmhub_v2_0.c223 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()
Dmmhub_v3_0.c172 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()
Dmmhub_v4_1_0.c177 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()
Dpsp_v11_0.c267 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()
Dmmhub_v3_0_2.c170 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()
Dih_v6_0.c108 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()
Dpsp_v13_0.c100 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()
Dgmc_v9_0.c653 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 …]
Dsdma_v5_0.c254 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 …]
Dsoc15.c1193 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()
Dgfxhub_v1_2.c137 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()

123456