/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_rlc.c | 215 (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in amdgpu_gfx_rlc_setup_cp_table() 217 (adev->gfx.pfp_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
|
D | gfx_v6_0.c | 341 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() 1979 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode() 1983 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_cp_gfx_load_microcode() 1993 (adev->gfx.pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
|
D | gfx_v10_0.c | 551 release_firmware(adev->gfx.pfp_fw); in gfx_v10_0_free_microcode() 552 adev->gfx.pfp_fw = NULL; in gfx_v10_0_free_microcode() 661 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode() 664 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v10_0_init_microcode() 667 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v10_0_init_microcode() 778 info->fw = adev->gfx.pfp_fw; in gfx_v10_0_init_microcode() 867 release_firmware(adev->gfx.pfp_fw); in gfx_v10_0_init_microcode() 868 adev->gfx.pfp_fw = NULL; in gfx_v10_0_init_microcode() 2124 adev->gfx.pfp_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 2125 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() [all …]
|
D | amdgpu_gfx.h | 268 const struct firmware *pfp_fw; /* PFP firmware */ member
|
D | gfx_v7_0.c | 930 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() 2462 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode() 2465 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_cp_gfx_load_microcode() 2483 (adev->gfx.pfp_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
|
D | gfx_v9_0.c | 934 release_firmware(adev->gfx.pfp_fw); in gfx_v9_0_free_microcode() 935 adev->gfx.pfp_fw = NULL; in gfx_v9_0_free_microcode() 1073 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_gfx_microcode() 1076 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode() 1079 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v9_0_init_cp_gfx_microcode() 1108 info->fw = adev->gfx.pfp_fw; in gfx_v9_0_init_cp_gfx_microcode() 1133 release_firmware(adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode() 1134 adev->gfx.pfp_fw = NULL; in gfx_v9_0_init_cp_gfx_microcode() 3086 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode() 3090 adev->gfx.pfp_fw->data; in gfx_v9_0_cp_gfx_load_microcode() [all …]
|
D | gfx_v8_0.c | 931 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_free_microcode() 932 adev->gfx.pfp_fw = NULL; in gfx_v8_0_free_microcode() 996 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 999 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1003 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1007 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode() 1010 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v8_0_init_microcode() 1166 info->fw = adev->gfx.pfp_fw; in gfx_v8_0_init_microcode() 1226 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode() 1227 adev->gfx.pfp_fw = NULL; in gfx_v8_0_init_microcode()
|
D | amdgpu_psp.c | 973 hdr = (struct common_firmware_header *)adev->gfx.pfp_fw->data; in psp_print_fw_hdr()
|
/drivers/gpu/drm/radeon/ |
D | ni.c | 776 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()
|
D | cik.c | 2068 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode() 2071 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode() 2074 if (rdev->pfp_fw->size != pfp_req_size) { in cik_init_microcode() 2076 rdev->pfp_fw->size, fw_name); in cik_init_microcode() 2081 err = radeon_ucode_validate(rdev->pfp_fw); in cik_init_microcode() 2297 release_firmware(rdev->pfp_fw); in cik_init_microcode() 2298 rdev->pfp_fw = NULL; in cik_init_microcode() 3902 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in cik_cp_gfx_load_microcode() 3909 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in cik_cp_gfx_load_microcode() 3923 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode() [all …]
|
D | si.c | 1786 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 …]
|
D | rv770.c | 1097 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()
|
D | r600.c | 2555 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()
|
D | evergreen.c | 2970 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()
|
D | radeon.h | 2395 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member
|