/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | ni.c | 763 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()
|
D | si.c | 1781 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() 3500 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode() [all …]
|
D | cik.c | 2055 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode() 2058 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() 3895 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in cik_cp_gfx_load_microcode() 3909 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode() [all …]
|
D | rv770.c | 1094 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()
|
D | r600.c | 2554 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()
|
D | evergreen.c | 2972 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()
|
D | radeon.h | 2392 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 1071 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode() 1076 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode() 1081 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode() 1086 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode() 1092 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode() 1093 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode()
|
D | gfx_v11_0.c | 443 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v11_0_free_microcode() 509 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v11_0_init_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() 1103 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() 1152 fw_data = (const __le32 *)(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() [all …]
|
D | amdgpu_rlc.c | 212 (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()
|
D | gfx_v6_0.c | 341 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()
|
D | amdgpu_gfx.h | 361 const struct firmware *pfp_fw; /* PFP firmware */ member
|
D | gfx_v7_0.c | 889 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()
|
D | gfx_v8_0.c | 927 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()
|
D | gfx_v9_0.c | 1083 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v9_0_free_microcode() 1256 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, fw_name); in gfx_v9_0_init_cp_gfx_microcode() 1275 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode() 2974 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode() 2978 adev->gfx.pfp_fw->data; in gfx_v9_0_cp_gfx_load_microcode() 2992 (adev->gfx.pfp_fw->data + in gfx_v9_0_cp_gfx_load_microcode()
|
D | gfx_v10_0.c | 3880 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()
|
D | amdgpu_psp.c | 2425 hdr = (struct common_firmware_header *)adev->gfx.pfp_fw->data; in psp_print_fw_hdr()
|
D | gfx_v9_4_3.c | 354 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v9_4_3_free_microcode()
|