Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c207 (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in amdgpu_gfx_rlc_setup_cp_table()
209 (adev->gfx.pfp_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
Dgfx_v6_0.c341 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v6_0_init_microcode()
344 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v6_0_init_microcode()
347 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_init_microcode()
385 release_firmware(adev->gfx.pfp_fw); in gfx_v6_0_init_microcode()
386 adev->gfx.pfp_fw = NULL; in gfx_v6_0_init_microcode()
1974 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode()
1978 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_cp_gfx_load_microcode()
1988 (adev->gfx.pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
Damdgpu_gfx.h265 const struct firmware *pfp_fw; /* PFP firmware */ member
Dgfx_v7_0.c930 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v7_0_init_microcode()
933 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v7_0_init_microcode()
980 release_firmware(adev->gfx.pfp_fw); in gfx_v7_0_init_microcode()
981 adev->gfx.pfp_fw = NULL; in gfx_v7_0_init_microcode()
998 release_firmware(adev->gfx.pfp_fw); in gfx_v7_0_free_microcode()
999 adev->gfx.pfp_fw = NULL; in gfx_v7_0_free_microcode()
2458 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode()
2461 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_cp_gfx_load_microcode()
2479 (adev->gfx.pfp_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
Dgfx_v9_0.c1135 release_firmware(adev->gfx.pfp_fw); in gfx_v9_0_free_microcode()
1136 adev->gfx.pfp_fw = NULL; in gfx_v9_0_free_microcode()
1336 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_gfx_microcode()
1339 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode()
1342 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v9_0_init_cp_gfx_microcode()
1371 info->fw = adev->gfx.pfp_fw; in gfx_v9_0_init_cp_gfx_microcode()
1396 release_firmware(adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode()
1397 adev->gfx.pfp_fw = NULL; in gfx_v9_0_init_cp_gfx_microcode()
3150 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode()
3154 adev->gfx.pfp_fw->data; in gfx_v9_0_cp_gfx_load_microcode()
[all …]
Dgfx_v8_0.c932 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_free_microcode()
933 adev->gfx.pfp_fw = NULL; in gfx_v8_0_free_microcode()
997 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1000 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1004 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1008 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode()
1011 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v8_0_init_microcode()
1167 info->fw = adev->gfx.pfp_fw; in gfx_v8_0_init_microcode()
1227 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode()
1228 adev->gfx.pfp_fw = NULL; in gfx_v8_0_init_microcode()
Dgfx_v10_0.c3551 release_firmware(adev->gfx.pfp_fw); in gfx_v10_0_free_microcode()
3552 adev->gfx.pfp_fw = NULL; in gfx_v10_0_free_microcode()
3702 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode()
3705 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v10_0_init_microcode()
3708 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v10_0_init_microcode()
3823 info->fw = adev->gfx.pfp_fw; in gfx_v10_0_init_microcode()
3927 release_firmware(adev->gfx.pfp_fw); in gfx_v10_0_init_microcode()
3928 adev->gfx.pfp_fw = NULL; in gfx_v10_0_init_microcode()
5159 adev->gfx.pfp_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5160 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
Damdgpu_psp.c1835 hdr = (struct common_firmware_header *)adev->gfx.pfp_fw->data; in psp_print_fw_hdr()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dni.c776 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in ni_init_microcode()
779 if (rdev->pfp_fw->size != pfp_req_size) { in ni_init_microcode()
781 rdev->pfp_fw->size, fw_name); in ni_init_microcode()
839 release_firmware(rdev->pfp_fw); in ni_init_microcode()
840 rdev->pfp_fw = NULL; in ni_init_microcode()
1528 if (!rdev->me_fw || !rdev->pfp_fw) in cayman_cp_load_microcode()
1533 fw_data = (const __be32 *)rdev->pfp_fw->data; in cayman_cp_load_microcode()
2404 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in cayman_init()
2412 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in cayman_init()
Dcik.c2064 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode()
2067 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode()
2070 if (rdev->pfp_fw->size != pfp_req_size) { in cik_init_microcode()
2072 rdev->pfp_fw->size, fw_name); in cik_init_microcode()
2077 err = radeon_ucode_validate(rdev->pfp_fw); in cik_init_microcode()
2293 release_firmware(rdev->pfp_fw); in cik_init_microcode()
2294 rdev->pfp_fw = NULL; in cik_init_microcode()
3898 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in cik_cp_gfx_load_microcode()
3905 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in cik_cp_gfx_load_microcode()
3919 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()
[all …]
Dsi.c1786 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in si_init_microcode()
1789 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in si_init_microcode()
1792 if (rdev->pfp_fw->size != pfp_req_size) { in si_init_microcode()
1794 rdev->pfp_fw->size, fw_name); in si_init_microcode()
1799 err = radeon_ucode_validate(rdev->pfp_fw); in si_init_microcode()
1954 release_firmware(rdev->pfp_fw); in si_init_microcode()
1955 rdev->pfp_fw = NULL; in si_init_microcode()
3484 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in si_cp_load_microcode()
3491 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in si_cp_load_microcode()
3505 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode()
[all …]
Drv770.c1097 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode()
1113 fw_data = (const __be32 *)rdev->pfp_fw->data; in rv770_cp_load_microcode()
1960 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
Dr600.c2555 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in r600_init_microcode()
2558 if (rdev->pfp_fw->size != pfp_req_size) { in r600_init_microcode()
2560 rdev->pfp_fw->size, fw_name); in r600_init_microcode()
2605 release_firmware(rdev->pfp_fw); in r600_init_microcode()
2606 rdev->pfp_fw = NULL; in r600_init_microcode()
2648 if (!rdev->me_fw || !rdev->pfp_fw) in r600_cp_load_microcode()
2673 fw_data = (const __be32 *)rdev->pfp_fw->data; in r600_cp_load_microcode()
3302 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in r600_init()
Devergreen.c2970 if (!rdev->me_fw || !rdev->pfp_fw) in evergreen_cp_load_microcode()
2980 fw_data = (const __be32 *)rdev->pfp_fw->data; in evergreen_cp_load_microcode()
5235 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in evergreen_init()
5243 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in evergreen_init()
Dradeon.h2401 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member