/drivers/gpu/drm/amd/amdgpu/ |
D | soc15.c | 525 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()
|
D | vi.c | 276 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 …]
|
D | mmhub_v1_0.c | 374 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()
|
D | sdma_v4_0.c | 625 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()
|
D | amdgpu_virt.c | 242 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()
|
D | gmc_v9_0.c | 147 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()
|
D | amdgpu_ucode.c | 381 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()
|
D | amdgpu_ib.c | 211 !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()
|
D | amdgpu_powerplay.c | 46 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()
|
D | amdgpu_vf_error.c | 61 …if ((NULL == adev) || (!amdgpu_sriov_vf(adev)) || (!adev->virt.ops) || (!adev->virt.ops->trans_msg… in amdgpu_vf_error_trans_all()
|
D | uvd_v7_0.c | 168 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()
|
D | vce_v4_0.c | 393 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()
|
D | amdgpu_virt.h | 70 #define amdgpu_sriov_vf(adev) \ macro
|
D | amdgpu_kms.c | 57 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()
|
D | gmc_v8_0.c | 433 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()
|
D | amdgpu_psp.c | 239 if (amdgpu_sriov_vf(psp->adev)) in psp_asd_load() 301 if (amdgpu_sriov_vf(adev) && in psp_np_fw_load()
|
D | amdgpu_vce.c | 304 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()
|
D | amdgpu_job.c | 40 if (amdgpu_sriov_vf(job->adev)) in amdgpu_job_timedout()
|
D | amdgpu_amdkfd.c | 269 if (amdgpu_sriov_vf(adev)) in get_max_engine_clock_in_mhz()
|
D | gfxhub_v1_0.c | 238 if (amdgpu_sriov_vf(adev)) { in gfxhub_v1_0_gart_enable()
|
D | amdgpu_device.c | 686 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()
|
D | amdgpu_irq.c | 86 if (!amdgpu_sriov_vf(adev)) in amdgpu_irq_reset_work_func()
|
D | amdgpu_uvd.c | 1148 if (amdgpu_sriov_vf(adev)) in amdgpu_uvd_idle_work_handler() 1172 if (amdgpu_sriov_vf(adev)) in amdgpu_uvd_ring_begin_use()
|
D | amdgpu_fence.c | 688 if (amdgpu_sriov_vf(adev)) in amdgpu_debugfs_fence_init()
|
D | dce_virtual.c | 142 if (amdgpu_sriov_vf(adev)) in dce_virtual_crtc_dpms()
|