Home
last modified time | relevance | path

Searched refs:load_type (Results 1 – 25 of 27) sorted by relevance

12

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vcn.c89 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()
Dnv.c490 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()
Dvce_v4_0.c248 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()
Damdgpu_ucode.c354 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()
Dsoc15.c734 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()
Damdgpu_ucode.h412 enum amdgpu_firmware_load_type load_type; member
446 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type);
Dmes_v10_1.c315 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()
Dnavi10_ih.c312 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()
Dvcn_v2_5.c142 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()
Dvcn_v2_0.c119 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()
Dsdma_v5_2.c196 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()
Dvcn_v3_0.c137 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()
Dsdma_v5_0.c246 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()
Damdgpu_cgs.c452 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_cgs_get_firmware_info()
Damdgpu_uvd.c280 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()
Dvcn_v1_0.c116 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()
Duvd_v7_0.c432 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()
Dvega10_ih.c250 adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) || in vega10_ih_irq_init()
Dsdma_v4_0.c664 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()
Dgfx_v10_0.c3820 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 …]
Dsdma_v2_4.c166 if (adev->firmware.load_type == AMDGPU_FW_LOAD_SMU) { in sdma_v2_4_init_microcode()
Damdgpu_psp.c2133 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()
Dgfx_v9_0.c1368 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/
Dsmu_v11_0.c130 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in smu_v11_0_init_microcode()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c818 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()

12