/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vcn.c | 89 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 99 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 105 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 111 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 117 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 123 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 129 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 184 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in amdgpu_vcn_sw_init() 303 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_vcn_resume()
|
D | nv.c | 490 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in nv_set_ip_blocks() 501 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in nv_set_ip_blocks() 515 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) in nv_set_ip_blocks() 525 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in nv_set_ip_blocks() 537 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in nv_set_ip_blocks() 539 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in nv_set_ip_blocks() 561 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in nv_set_ip_blocks() 563 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in nv_set_ip_blocks() 576 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in nv_set_ip_blocks()
|
D | vce_v4_0.c | 248 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sriov_start() 286 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_sriov_start() 437 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in vce_v4_0_sw_init() 444 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sw_init() 505 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sw_fini() 563 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_suspend() 585 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_resume() 617 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_mc_resume() 638 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_mc_resume()
|
D | amdgpu_ucode.c | 354 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) in amdgpu_ucode_get_load_type() argument 394 if (!load_type) in amdgpu_ucode_get_load_type() 493 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP || in amdgpu_ucode_init_single_fw() 610 if (adev->firmware.load_type != AMDGPU_FW_LOAD_DIRECT) { in amdgpu_ucode_create_bo() 646 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_bo() 661 adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_bo()
|
D | soc15.c | 734 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in soc15_set_ip_blocks() 743 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in soc15_set_ip_blocks() 773 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks() 791 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks() 796 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks() 807 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks() 819 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
|
D | amdgpu_ucode.h | 412 enum amdgpu_firmware_load_type load_type; member 446 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type);
|
D | mes_v10_1.c | 315 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in mes_v10_1_init_microcode() 938 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v10_1_hw_init() 975 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) in mes_v10_1_hw_fini()
|
D | navi10_ih.c | 312 if (unlikely(adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT)) { in navi10_ih_irq_init() 664 (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) ? false : true; in navi10_ih_sw_init()
|
D | vcn_v2_5.c | 142 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_5_sw_init() 403 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_5_mc_resume() 454 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_5_mc_resume_dpg_mode() 1196 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_5_sriov_start()
|
D | vcn_v2_0.c | 119 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_sw_init() 337 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_mc_resume() 390 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_mc_resume_dpg_mode() 1878 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_start_sriov()
|
D | sdma_v5_2.c | 196 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in sdma_v5_2_init_microcode() 198 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in sdma_v5_2_init_microcode() 814 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in sdma_v5_2_start()
|
D | vcn_v3_0.c | 137 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_sw_init() 424 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_mc_resume() 465 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_mc_resume_dpg_mode() 1272 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_start_sriov()
|
D | sdma_v5_0.c | 246 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in sdma_v5_0_init_microcode() 248 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in sdma_v5_0_init_microcode() 881 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in sdma_v5_0_start()
|
D | amdgpu_cgs.c | 452 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_cgs_get_firmware_info()
|
D | amdgpu_uvd.c | 280 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in amdgpu_uvd_sw_init() 443 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_uvd_resume()
|
D | vcn_v1_0.c | 116 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v1_0_sw_init() 308 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v1_0_mc_resume_spg_mode() 375 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v1_0_mc_resume_dpg_mode()
|
D | uvd_v7_0.c | 432 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_sw_init() 658 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_mc_resume() 802 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_sriov_start()
|
D | vega10_ih.c | 250 adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) || in vega10_ih_irq_init()
|
D | sdma_v4_0.c | 664 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in sdma_v4_0_init_microcode() 666 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in sdma_v4_0_init_microcode() 1451 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in sdma_v4_0_start()
|
D | gfx_v10_0.c | 3820 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v10_0_init_microcode() 4116 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v10_0_mec_init() 4485 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_sw_init() 4539 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) in gfx_v10_0_sw_fini() 4965 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v10_0_rlc_resume() 4989 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v10_0_rlc_resume() 4994 } else if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_rlc_resume() 5005 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_rlc_resume() 5448 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_wait_for_rlc_autoload_complete() 6755 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v10_0_cp_resume() [all …]
|
D | sdma_v2_4.c | 166 if (adev->firmware.load_type == AMDGPU_FW_LOAD_SMU) { in sdma_v2_4_init_microcode()
|
D | amdgpu_psp.c | 2133 adev->firmware.load_type = AMDGPU_FW_LOAD_DIRECT; in psp_hw_init() 2312 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in psp_gpu_reset()
|
D | gfx_v9_0.c | 1368 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_init_cp_gfx_microcode() 1494 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_init_rlc_microcode() 1575 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_init_cp_compute_microcode() 3102 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_rlc_resume() 3853 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_cp_resume()
|
/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 130 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in smu_v11_0_init_microcode()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 818 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in dm_dmub_hw_init() 847 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in dm_dmub_hw_init() 1231 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in load_dmcu_fw() 1343 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in dm_dmub_sw_init()
|