/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 889 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode() 894 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode() 899 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode() 904 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode() 910 adev->gfx.pfp_fw->data; in amdgpu_gfx_cp_init_microcode() 911 ucode_fw = adev->gfx.pfp_fw; in amdgpu_gfx_cp_init_microcode()
|
D | gfx_v11_0.c | 434 release_firmware(adev->gfx.pfp_fw); in gfx_v11_0_free_microcode() 435 adev->gfx.pfp_fw = NULL; in gfx_v11_0_free_microcode() 460 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v11_0_init_microcode() 463 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v11_0_init_microcode() 469 adev->gfx.pfp_fw->data, 2, 0); in gfx_v11_0_init_microcode() 536 release_firmware(adev->gfx.pfp_fw); in gfx_v11_0_init_microcode() 537 adev->gfx.pfp_fw = NULL; in gfx_v11_0_init_microcode() 1070 adev->gfx.pfp_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1072 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1078 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() [all …]
|
D | amdgpu_rlc.c | 207 (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()
|
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() 1951 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode() 1955 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_cp_gfx_load_microcode() 1965 (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_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() 2425 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode() 2428 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_cp_gfx_load_microcode() 2446 (adev->gfx.pfp_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
|
D | amdgpu_gfx.h | 285 const struct firmware *pfp_fw; /* PFP firmware */ member
|
D | gfx_v8_0.c | 927 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_free_microcode() 928 adev->gfx.pfp_fw = NULL; in gfx_v8_0_free_microcode() 992 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 995 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 = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode() 1006 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v8_0_init_microcode() 1162 info->fw = adev->gfx.pfp_fw; in gfx_v8_0_init_microcode() 1222 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode() 1223 adev->gfx.pfp_fw = NULL; in gfx_v8_0_init_microcode()
|
D | gfx_v9_0.c | 1078 release_firmware(adev->gfx.pfp_fw); in gfx_v9_0_free_microcode() 1079 adev->gfx.pfp_fw = NULL; in gfx_v9_0_free_microcode() 1257 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_gfx_microcode() 1260 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode() 1288 release_firmware(adev->gfx.pfp_fw); in gfx_v9_0_init_cp_gfx_microcode() 1289 adev->gfx.pfp_fw = NULL; in gfx_v9_0_init_cp_gfx_microcode() 3005 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode() 3009 adev->gfx.pfp_fw->data; in gfx_v9_0_cp_gfx_load_microcode() 3023 (adev->gfx.pfp_fw->data + in gfx_v9_0_cp_gfx_load_microcode()
|
D | gfx_v10_0.c | 3894 release_firmware(adev->gfx.pfp_fw); in gfx_v10_0_free_microcode() 3895 adev->gfx.pfp_fw = NULL; in gfx_v10_0_free_microcode() 4033 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode() 4036 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v10_0_init_microcode() 4109 release_firmware(adev->gfx.pfp_fw); in gfx_v10_0_init_microcode() 4110 adev->gfx.pfp_fw = NULL; in gfx_v10_0_init_microcode() 5411 adev->gfx.pfp_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5412 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5761 adev->gfx.pfp_fw->data; in gfx_v10_0_cp_gfx_load_pfp_microcode() 5765 fw_data = (const __le32 *)(adev->gfx.pfp_fw->data + in gfx_v10_0_cp_gfx_load_pfp_microcode() [all …]
|
D | amdgpu_psp.c | 2339 hdr = (struct common_firmware_header *)adev->gfx.pfp_fw->data; in psp_print_fw_hdr()
|
/linux-6.1.9/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 | 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 | 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 | rv770.c | 1105 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode() 1121 fw_data = (const __be32 *)rdev->pfp_fw->data; in rv770_cp_load_microcode() 1966 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() 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 | 2430 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member
|