/drivers/gpu/drm/amd/amdgpu/ |
D | nv.c | 721 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 …]
|
D | amdgpu_vcn.c | 100 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 …]
|
D | amdgpu_ucode.c | 363 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()
|
D | vce_v4_0.c | 249 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()
|
D | soc15.c | 816 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()
|
D | amdgpu_ucode.h | 427 enum amdgpu_firmware_load_type load_type; member 461 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() 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()
|
D | navi10_ih.c | 333 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()
|
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() 1885 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_start_sriov()
|
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 | amdgpu_cgs.c | 428 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_cgs_get_firmware_info()
|
D | sdma_v5_2.c | 181 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()
|
D | vcn_v3_0.c | 146 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()
|
D | amdgpu_uvd.c | 281 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()
|
D | sdma_v5_0.c | 293 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()
|
D | vcn_v1_0.c | 115 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()
|
D | uvd_v7_0.c | 433 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()
|
D | vega20_ih.c | 312 adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in vega20_ih_irq_init()
|
D | sdma_v4_0.c | 690 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()
|
D | gfx_v10_0.c | 4256 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 …]
|
D | sdma_v2_4.c | 166 if (adev->firmware.load_type == AMDGPU_FW_LOAD_SMU) { in sdma_v2_4_init_microcode()
|
D | gfx_v9_0.c | 1392 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()
|
D | amdgpu_psp.c | 2716 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/ |
D | bcm_vk_dev.c | 544 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/ |
D | amdgpu_smu.c | 1286 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()
|