Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdgpu/
Dsoc15.c525 if (amdgpu_sriov_vf(adev)) in soc15_set_ip_blocks()
535 if (!amdgpu_sriov_vf(adev)) in soc15_set_ip_blocks()
537 if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) in soc15_set_ip_blocks()
550 if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) in soc15_set_ip_blocks()
678 if (amdgpu_sriov_vf(adev)) { in soc15_common_early_init()
694 if (amdgpu_sriov_vf(adev)) in soc15_common_late_init()
704 if (amdgpu_sriov_vf(adev)) in soc15_common_sw_init()
740 if (amdgpu_sriov_vf(adev)) in soc15_common_hw_fini()
883 if (amdgpu_sriov_vf(adev)) in soc15_common_set_clockgating_state()
928 if (amdgpu_sriov_vf(adev)) in soc15_common_get_clockgating_state()
Dvi.c276 if (amdgpu_sriov_vf(adev)) { in vi_init_golden_registers()
1116 if (amdgpu_sriov_vf(adev)) { in vi_common_early_init()
1133 if (amdgpu_sriov_vf(adev)) in vi_common_late_init()
1143 if (amdgpu_sriov_vf(adev)) in vi_common_sw_init()
1177 if (amdgpu_sriov_vf(adev)) in vi_common_hw_fini()
1422 if (amdgpu_sriov_vf(adev)) in vi_common_set_clockgating_state()
1469 if (amdgpu_sriov_vf(adev)) in vi_common_get_clockgating_state()
1525 if (amdgpu_sriov_vf(adev)) in vi_set_ip_blocks()
1545 if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) in vi_set_ip_blocks()
1551 if (!amdgpu_sriov_vf(adev)) { in vi_set_ip_blocks()
[all …]
Dmmhub_v1_0.c374 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_initialize_power_gating()
435 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_update_power_gating()
479 if (amdgpu_sriov_vf(adev)) { in mmhub_v1_0_gart_enable()
705 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_set_clockgating()
731 if (amdgpu_sriov_vf(adev)) in mmhub_v1_0_get_clockgating()
Dsdma_v4_0.c625 if (!amdgpu_sriov_vf(adev)) { /* only bare-metal use register write for wptr */ in sdma_v4_0_gfx_resume()
647 if (amdgpu_sriov_vf(adev)) in sdma_v4_0_gfx_resume()
658 if (!amdgpu_sriov_vf(adev)) { in sdma_v4_0_gfx_resume()
672 if (amdgpu_sriov_vf(adev)) in sdma_v4_0_gfx_resume()
692 if (amdgpu_sriov_vf(adev)) { /* bare-metal sequence doesn't need below to lines */ in sdma_v4_0_gfx_resume()
842 if (amdgpu_sriov_vf(adev)) { in sdma_v4_0_start()
1286 if (amdgpu_sriov_vf(adev)) in sdma_v4_0_hw_fini()
1526 if (amdgpu_sriov_vf(adev)) in sdma_v4_0_set_clockgating_state()
1565 if (amdgpu_sriov_vf(adev)) in sdma_v4_0_get_clockgating_state()
Damdgpu_virt.c242 if (!amdgpu_sriov_vf(adev) || adev->virt.mm_table.gpu_addr) in amdgpu_virt_alloc_mm_table()
269 if (!amdgpu_sriov_vf(adev) || !adev->virt.mm_table.gpu_addr) in amdgpu_virt_free_mm_table()
Dgmc_v9_0.c147 if (!amdgpu_sriov_vf(adev)) { in gmc_v9_0_process_interrupt()
160 if (!amdgpu_sriov_vf(adev)) in gmc_v9_0_process_interrupt()
431 if (!amdgpu_sriov_vf(adev)) in gmc_v9_0_vram_gtt_location()
821 if (amdgpu_sriov_vf(adev)) { in gmc_v9_0_hw_fini()
Damdgpu_ucode.c381 amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ucode_init_bo()
395 err = amdgpu_bo_pin(*bo, amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ucode_init_bo()
417 if (amdgpu_sriov_vf(adev)) in amdgpu_ucode_init_bo()
Damdgpu_ib.c211 !amdgpu_sriov_vf(adev)) /* for SRIOV preemption, Preamble CE ib must be inserted anyway */ in amdgpu_ib_schedule()
328 if (amdgpu_sriov_vf(adev)) { in amdgpu_ib_ring_tests()
Damdgpu_powerplay.c46 pp_init.pm_en = (amdgpu_dpm != 0 && !amdgpu_sriov_vf(adev)) ? true : false; in amdgpu_create_pp_handle()
180 if ((amdgpu_dpm != 0) && !amdgpu_sriov_vf(adev)) in amdgpu_pp_hw_init()
Damdgpu_vf_error.c61 …if ((NULL == adev) || (!amdgpu_sriov_vf(adev)) || (!adev->virt.ops) || (!adev->virt.ops->trans_msg… in amdgpu_vf_error_trans_all()
Duvd_v7_0.c168 if (amdgpu_sriov_vf(adev)) in uvd_v7_0_enc_ring_test_ring()
374 if (amdgpu_sriov_vf(adev)) in uvd_v7_0_early_init()
430 if (!amdgpu_sriov_vf(adev)) { in uvd_v7_0_sw_init()
441 if (amdgpu_sriov_vf(adev)) { in uvd_v7_0_sw_init()
497 if (amdgpu_sriov_vf(adev)) in uvd_v7_0_hw_init()
504 if (!amdgpu_sriov_vf(adev)) { in uvd_v7_0_hw_init()
574 if (!amdgpu_sriov_vf(adev)) in uvd_v7_0_hw_fini()
1483 if (!amdgpu_sriov_vf(adev)) in uvd_v7_0_process_interrupt()
Dvce_v4_0.c393 if (amdgpu_sriov_vf(adev)) /* currently only VCN0 support SRIOV */ in vce_v4_0_early_init()
446 if (amdgpu_sriov_vf(adev)) { in vce_v4_0_sw_init()
495 if (amdgpu_sriov_vf(adev)) in vce_v4_0_hw_init()
523 if (!amdgpu_sriov_vf(adev)) { in vce_v4_0_hw_fini()
998 if (!amdgpu_sriov_vf(adev)) { in vce_v4_0_set_interrupt_state()
Damdgpu_virt.h70 #define amdgpu_sriov_vf(adev) \ macro
Damdgpu_kms.c57 if (amdgpu_sriov_vf(adev)) in amdgpu_driver_unload_kms()
138 if (amdgpu_sriov_vf(adev)) in amdgpu_driver_load_kms()
556 if (amdgpu_sriov_vf(adev)) in amdgpu_info_ioctl()
810 if (amdgpu_sriov_vf(adev)) { in amdgpu_driver_open_kms()
861 if (amdgpu_sriov_vf(adev)) { in amdgpu_driver_postclose_kms()
Dgmc_v8_0.c433 if (!amdgpu_sriov_vf(adev)) in gmc_v8_0_vram_gtt_location()
492 if (amdgpu_sriov_vf(adev)) { in gmc_v8_0_mc_program()
1412 if (amdgpu_sriov_vf(adev)) { in gmc_v8_0_process_interrupt()
1609 if (amdgpu_sriov_vf(adev)) in gmc_v8_0_set_clockgating_state()
1636 if (amdgpu_sriov_vf(adev)) in gmc_v8_0_get_clockgating_state()
Damdgpu_psp.c239 if (amdgpu_sriov_vf(psp->adev)) in psp_asd_load()
301 if (amdgpu_sriov_vf(adev) && in psp_np_fw_load()
Damdgpu_vce.c304 if (amdgpu_sriov_vf(adev)) in amdgpu_vce_idle_work_handler()
337 if (amdgpu_sriov_vf(adev)) in amdgpu_vce_ring_begin_use()
942 if (amdgpu_sriov_vf(adev)) in amdgpu_vce_ring_test_ring()
Damdgpu_job.c40 if (amdgpu_sriov_vf(job->adev)) in amdgpu_job_timedout()
Damdgpu_amdkfd.c269 if (amdgpu_sriov_vf(adev)) in get_max_engine_clock_in_mhz()
Dgfxhub_v1_0.c238 if (amdgpu_sriov_vf(adev)) { in gfxhub_v1_0_gart_enable()
Damdgpu_device.c686 if (amdgpu_sriov_vf(adev)) in amdgpu_vpost_needed()
1524 if (amdgpu_sriov_vf(adev)) { in amdgpu_early_init()
1593 if (amdgpu_sriov_vf(adev)) { in amdgpu_init()
1760 if (amdgpu_sriov_vf(adev)) { in amdgpu_fini()
1779 if (amdgpu_sriov_vf(adev)) in amdgpu_suspend()
1810 if (amdgpu_sriov_vf(adev)) in amdgpu_suspend()
Damdgpu_irq.c86 if (!amdgpu_sriov_vf(adev)) in amdgpu_irq_reset_work_func()
Damdgpu_uvd.c1148 if (amdgpu_sriov_vf(adev)) in amdgpu_uvd_idle_work_handler()
1172 if (amdgpu_sriov_vf(adev)) in amdgpu_uvd_ring_begin_use()
Damdgpu_fence.c688 if (amdgpu_sriov_vf(adev)) in amdgpu_debugfs_fence_init()
Ddce_virtual.c142 if (amdgpu_sriov_vf(adev)) in dce_virtual_crtc_dpms()

12