Home
last modified time | relevance | path

Searched refs:pfp_fw (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dni.c763 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in ni_init_microcode()
766 if (rdev->pfp_fw->size != pfp_req_size) { in ni_init_microcode()
768 rdev->pfp_fw->size, fw_name); in ni_init_microcode()
826 release_firmware(rdev->pfp_fw); in ni_init_microcode()
827 rdev->pfp_fw = NULL; in ni_init_microcode()
1515 if (!rdev->me_fw || !rdev->pfp_fw) in cayman_cp_load_microcode()
1520 fw_data = (const __be32 *)rdev->pfp_fw->data; in cayman_cp_load_microcode()
2389 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in cayman_init()
2397 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in cayman_init()
H A Dsi.c1781 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in si_init_microcode()
1784 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in si_init_microcode()
1787 if (rdev->pfp_fw->size != pfp_req_size) { in si_init_microcode()
1789 rdev->pfp_fw->size, fw_name); in si_init_microcode()
1794 err = radeon_ucode_validate(rdev->pfp_fw); in si_init_microcode()
1949 release_firmware(rdev->pfp_fw); in si_init_microcode()
1950 rdev->pfp_fw = NULL; in si_init_microcode()
3479 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in si_cp_load_microcode()
3486 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in si_cp_load_microcode()
3528 fw_data = (const __be32 *)rdev->pfp_fw->data; in si_cp_load_microcode()
[all …]
H A Dcik.c2055 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode()
2061 if (rdev->pfp_fw->size != pfp_req_size) { in cik_init_microcode()
2063 rdev->pfp_fw->size, fw_name); in cik_init_microcode()
2068 err = radeon_ucode_validate(rdev->pfp_fw); in cik_init_microcode()
2284 release_firmware(rdev->pfp_fw); in cik_init_microcode()
2285 rdev->pfp_fw = NULL; in cik_init_microcode()
3888 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in cik_cp_gfx_load_microcode()
3938 fw_data = (const __be32 *)rdev->pfp_fw->data; in cik_cp_gfx_load_microcode()
6475 fw_data = (const __be32 *)rdev->pfp_fw->data; in cik_init_cp_pg_table()
8599 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw || in cik_init()
[all …]
H A Drv770.c1094 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode()
1110 fw_data = (const __be32 *)rdev->pfp_fw->data; in rv770_cp_load_microcode()
1955 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
H A Dr600.c2554 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in r600_init_microcode()
2557 if (rdev->pfp_fw->size != pfp_req_size) { in r600_init_microcode()
2559 rdev->pfp_fw->size, fw_name); in r600_init_microcode()
2606 release_firmware(rdev->pfp_fw); in r600_init_microcode()
2607 rdev->pfp_fw = NULL; in r600_init_microcode()
2649 if (!rdev->me_fw || !rdev->pfp_fw) in r600_cp_load_microcode()
2674 fw_data = (const __be32 *)rdev->pfp_fw->data; in r600_cp_load_microcode()
3299 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in r600_init()
H A Devergreen.c2972 if (!rdev->me_fw || !rdev->pfp_fw) in evergreen_cp_load_microcode()
2982 fw_data = (const __be32 *)rdev->pfp_fw->data; in evergreen_cp_load_microcode()
5236 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in evergreen_init()
5244 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in evergreen_init()
H A Dradeon.h2391 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c1081 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode()
1086 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode()
1091 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode()
1096 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode()
1102 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode()
1103 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode()
H A Dgfx_v11_0.c443 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v11_0_free_microcode()
515 adev->gfx.pfp_fw->data, 2, 0); in gfx_v11_0_init_microcode()
574 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v11_0_init_microcode()
1095 adev->gfx.pfp_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1097 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1151 adev->gfx.pfp_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
2158 adev->gfx.pfp_fw->data; in gfx_v11_0_config_pfp_cache_rs64()
2490 adev->gfx.pfp_fw->data; in gfx_v11_0_config_gfx_rs64()
2667 adev->gfx.pfp_fw->data; in gfx_v11_0_cp_gfx_load_pfp_microcode()
2714 adev->gfx.pfp_fw->data; in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
[all …]
H A Damdgpu_rlc.c212 (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in amdgpu_gfx_rlc_setup_cp_table()
214 (adev->gfx.pfp_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
H A Damdgpu_gfx.h361 const struct firmware *pfp_fw; /* PFP firmware */ member
H A Dgfx_v6_0.c341 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v6_0_init_microcode()
344 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_init_microcode()
375 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v6_0_init_microcode()
1937 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode()
1941 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_cp_gfx_load_microcode()
1951 (adev->gfx.pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
H A Dgfx_v7_0.c889 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v7_0_free_microcode()
938 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v7_0_init_microcode()
2390 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode()
2393 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_cp_gfx_load_microcode()
2411 (adev->gfx.pfp_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
H A Dgfx_v8_0.c927 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v8_0_free_microcode()
986 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v8_0_init_microcode()
989 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v8_0_init_microcode()
993 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v8_0_init_microcode()
997 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v8_0_init_microcode()
1140 info->fw = adev->gfx.pfp_fw; in gfx_v8_0_init_microcode()
1200 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v8_0_init_microcode()
H A Dgfx_v9_0.c1083 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v9_0_free_microcode()
1260 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v9_0_init_cp_gfx_microcode()
1279 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode()
2978 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode()
2982 adev->gfx.pfp_fw->data; in gfx_v9_0_cp_gfx_load_microcode()
2996 (adev->gfx.pfp_fw->data + in gfx_v9_0_cp_gfx_load_microcode()
H A Dgfx_v10_0.c3880 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v10_0_free_microcode()
3973 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v10_0_init_microcode()
4027 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v10_0_init_microcode()
5345 adev->gfx.pfp_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5346 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5694 adev->gfx.pfp_fw->data; in gfx_v10_0_cp_gfx_load_pfp_microcode()
5698 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v10_0_cp_gfx_load_pfp_microcode()
5920 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v10_0_cp_gfx_load_microcode()
H A Damdgpu_psp.c2428 hdr = (struct common_firmware_header *)adev->gfx.pfp_fw->data; in psp_print_fw_hdr()
H A Dgfx_v9_4_3.c354 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v9_4_3_free_microcode()