Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdgpu/
Dnv.c721 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in nv_set_ip_blocks()
732 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in nv_set_ip_blocks()
750 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) in nv_set_ip_blocks()
760 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in nv_set_ip_blocks()
772 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in nv_set_ip_blocks()
775 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in nv_set_ip_blocks()
779 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in nv_set_ip_blocks()
800 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in nv_set_ip_blocks()
802 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in nv_set_ip_blocks()
815 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in nv_set_ip_blocks()
[all …]
Damdgpu_vcn.c100 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
110 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
116 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
122 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
128 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
134 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
140 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
146 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
152 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
158 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init()
[all …]
Damdgpu_ucode.c363 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) in amdgpu_ucode_get_load_type() argument
408 if (!load_type) in amdgpu_ucode_get_load_type()
413 if (!(load_type && in amdgpu_ucode_get_load_type()
591 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP || in amdgpu_ucode_init_single_fw()
708 if (adev->firmware.load_type != AMDGPU_FW_LOAD_DIRECT) { in amdgpu_ucode_create_bo()
744 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_bo()
759 adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_bo()
Dvce_v4_0.c249 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sriov_start()
287 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_sriov_start()
438 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in vce_v4_0_sw_init()
445 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sw_init()
506 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sw_fini()
567 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_suspend()
614 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_resume()
650 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_mc_resume()
671 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_mc_resume()
Dsoc15.c816 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in soc15_set_ip_blocks()
831 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in soc15_set_ip_blocks()
861 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
879 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
884 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
895 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
907 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
926 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
931 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in soc15_set_ip_blocks()
Damdgpu_ucode.h427 enum amdgpu_firmware_load_type load_type; member
461 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()
939 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v10_1_hw_init()
976 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) in mes_v10_1_hw_fini()
Dnavi10_ih.c333 if (unlikely(adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT)) { in navi10_ih_irq_init()
570 (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in navi10_ih_sw_init()
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()
1885 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_start_sriov()
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()
Damdgpu_cgs.c428 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_cgs_get_firmware_info()
Dsdma_v5_2.c181 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in sdma_v5_2_init_microcode()
183 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in sdma_v5_2_init_microcode()
861 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in sdma_v5_2_start()
Dvcn_v3_0.c146 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_sw_init()
468 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_mc_resume()
518 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_mc_resume_dpg_mode()
1351 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v3_0_start_sriov()
Damdgpu_uvd.c281 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in amdgpu_uvd_sw_init()
450 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_uvd_resume()
Dsdma_v5_0.c293 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in sdma_v5_0_init_microcode()
295 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in sdma_v5_0_init_microcode()
952 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in sdma_v5_0_start()
Dvcn_v1_0.c115 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v1_0_sw_init()
307 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v1_0_mc_resume_spg_mode()
374 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v1_0_mc_resume_dpg_mode()
Duvd_v7_0.c433 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_sw_init()
685 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_mc_resume()
829 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_sriov_start()
Dvega20_ih.c312 adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in vega20_ih_irq_init()
Dsdma_v4_0.c690 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in sdma_v4_0_init_microcode()
692 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in sdma_v4_0_init_microcode()
1483 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in sdma_v4_0_start()
Dgfx_v10_0.c4256 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v10_0_init_microcode()
4552 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v10_0_mec_init()
4953 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_sw_init()
5007 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) in gfx_v10_0_sw_fini()
5437 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in gfx_v10_0_rlc_resume()
5462 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v10_0_rlc_resume()
5467 } else if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_rlc_resume()
5478 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_rlc_resume()
5921 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v10_0_wait_for_rlc_autoload_complete()
7250 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()
Dgfx_v9_0.c1392 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_init_cp_gfx_microcode()
1518 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_init_rlc_microcode()
1614 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_init_cp_compute_microcode()
3161 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_rlc_resume()
3932 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in gfx_v9_0_cp_resume()
Damdgpu_psp.c2716 adev->firmware.load_type = AMDGPU_FW_LOAD_DIRECT; in psp_hw_init()
2892 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in psp_gpu_reset()
/drivers/misc/bcm-vk/
Dbcm_vk_dev.c544 static int bcm_vk_load_image_by_type(struct bcm_vk *vk, u32 load_type, in bcm_vk_load_image_by_type() argument
558 if (load_type == VK_IMAGE_TYPE_BOOT1) { in bcm_vk_load_image_by_type()
590 } else if (load_type == VK_IMAGE_TYPE_BOOT2) { in bcm_vk_load_image_by_type()
615 dev_err(dev, "Error invalid image type 0x%x\n", load_type); in bcm_vk_load_image_by_type()
629 if (load_type == VK_IMAGE_TYPE_BOOT1) in bcm_vk_load_image_by_type()
637 if (load_type == VK_IMAGE_TYPE_BOOT1) { in bcm_vk_load_image_by_type()
669 } else if (load_type == VK_IMAGE_TYPE_BOOT2) { in bcm_vk_load_image_by_type()
784 u32 load_type = 0; /* default for unknown */ in bcm_vk_next_boot_image() local
790 load_type = VK_IMAGE_TYPE_BOOT1; in bcm_vk_next_boot_image()
792 load_type = VK_IMAGE_TYPE_BOOT2; in bcm_vk_next_boot_image()
[all …]
/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1286 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in smu_start_smc_engine()
2150 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) in smu_load_microcode()

12