Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c916 adev->gfx.me_fw->data; in amdgpu_gfx_cp_init_microcode()
921 ucode_fw = adev->gfx.me_fw; in amdgpu_gfx_cp_init_microcode()
926 adev->gfx.me_fw->data; in amdgpu_gfx_cp_init_microcode()
931 ucode_fw = adev->gfx.me_fw; in amdgpu_gfx_cp_init_microcode()
937 adev->gfx.me_fw->data; in amdgpu_gfx_cp_init_microcode()
938 ucode_fw = adev->gfx.me_fw; in amdgpu_gfx_cp_init_microcode()
Dgfx_v11_0.c436 release_firmware(adev->gfx.me_fw); in gfx_v11_0_free_microcode()
437 adev->gfx.me_fw = NULL; in gfx_v11_0_free_microcode()
480 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v11_0_init_microcode()
483 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v11_0_init_microcode()
538 release_firmware(adev->gfx.me_fw); in gfx_v11_0_init_microcode()
539 adev->gfx.me_fw = NULL; in gfx_v11_0_init_microcode()
1087 adev->gfx.me_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1089 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1095 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1135 adev->gfx.me_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
Damdgpu_rlc.c215 (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in amdgpu_gfx_rlc_setup_cp_table()
217 (adev->gfx.me_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
Dgfx_v6_0.c352 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v6_0_init_microcode()
355 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v6_0_init_microcode()
358 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_init_microcode()
387 release_firmware(adev->gfx.me_fw); in gfx_v6_0_init_microcode()
388 adev->gfx.me_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()
1957 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_cp_gfx_load_microcode()
1983 (adev->gfx.me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
Dgfx_v7_0.c938 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v7_0_init_microcode()
941 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v7_0_init_microcode()
982 release_firmware(adev->gfx.me_fw); in gfx_v7_0_init_microcode()
983 adev->gfx.me_fw = NULL; in gfx_v7_0_init_microcode()
1000 release_firmware(adev->gfx.me_fw); in gfx_v7_0_free_microcode()
1001 adev->gfx.me_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()
2430 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v7_0_cp_gfx_load_microcode()
2466 (adev->gfx.me_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
Damdgpu_gfx.h283 const struct firmware *me_fw; /* ME firmware */ member
Dgfx_v8_0.c929 release_firmware(adev->gfx.me_fw); in gfx_v8_0_free_microcode()
930 adev->gfx.me_fw = NULL; in gfx_v8_0_free_microcode()
1012 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1015 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1019 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1023 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v8_0_init_microcode()
1026 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode()
1169 info->fw = adev->gfx.me_fw; in gfx_v8_0_init_microcode()
1224 release_firmware(adev->gfx.me_fw); in gfx_v8_0_init_microcode()
1225 adev->gfx.me_fw = NULL; in gfx_v8_0_init_microcode()
Dgfx_v9_0.c1080 release_firmware(adev->gfx.me_fw); in gfx_v9_0_free_microcode()
1081 adev->gfx.me_fw = NULL; in gfx_v9_0_free_microcode()
1266 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_gfx_microcode()
1269 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode()
1290 release_firmware(adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode()
1291 adev->gfx.me_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()
3013 adev->gfx.me_fw->data; in gfx_v9_0_cp_gfx_load_microcode()
3043 (adev->gfx.me_fw->data + in gfx_v9_0_cp_gfx_load_microcode()
Dgfx_v10_0.c3896 release_firmware(adev->gfx.me_fw); in gfx_v10_0_free_microcode()
3897 adev->gfx.me_fw = NULL; in gfx_v10_0_free_microcode()
4042 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode()
4045 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v10_0_init_microcode()
4111 release_firmware(adev->gfx.me_fw); in gfx_v10_0_init_microcode()
4112 adev->gfx.me_fw = NULL; in gfx_v10_0_init_microcode()
5431 adev->gfx.me_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5432 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5916 adev->gfx.me_fw->data; in gfx_v10_0_cp_gfx_load_me_microcode()
5920 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v10_0_cp_gfx_load_me_microcode()
[all …]
Damdgpu_psp.c2343 hdr = (struct common_firmware_header *)adev->gfx.me_fw->data; in psp_print_fw_hdr()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dni.c774 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in ni_init_microcode()
777 if (rdev->me_fw->size != me_req_size) { in ni_init_microcode()
779 rdev->me_fw->size, fw_name); in ni_init_microcode()
828 release_firmware(rdev->me_fw); in ni_init_microcode()
829 rdev->me_fw = NULL; in ni_init_microcode()
1515 if (!rdev->me_fw || !rdev->pfp_fw) in cayman_cp_load_microcode()
1526 fw_data = (const __be32 *)rdev->me_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()
Dr100.c1059 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in r100_cp_init_microcode()
1062 } else if (rdev->me_fw->size % 8) { in r100_cp_init_microcode()
1064 rdev->me_fw->size, fw_name); in r100_cp_init_microcode()
1066 release_firmware(rdev->me_fw); in r100_cp_init_microcode()
1067 rdev->me_fw = NULL; in r100_cp_init_microcode()
1107 if (rdev->me_fw) { in r100_cp_load_microcode()
1108 size = rdev->me_fw->size / 4; in r100_cp_load_microcode()
1109 fw_data = (const __be32 *)&rdev->me_fw->data[0]; in r100_cp_load_microcode()
1134 if (!rdev->me_fw) { in r100_cp_init()
Dcik.c2079 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in cik_init_microcode()
2082 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in cik_init_microcode()
2085 if (rdev->me_fw->size != me_req_size) { in cik_init_microcode()
2087 rdev->me_fw->size, fw_name); in cik_init_microcode()
2091 err = radeon_ucode_validate(rdev->me_fw); in cik_init_microcode()
2286 release_firmware(rdev->me_fw); in cik_init_microcode()
2287 rdev->me_fw = NULL; in cik_init_microcode()
3888 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in cik_cp_gfx_load_microcode()
3899 (const struct gfx_firmware_header_v1_0 *)rdev->me_fw->data; in cik_cp_gfx_load_microcode()
3927 (rdev->me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()
[all …]
Dsi.c1805 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in si_init_microcode()
1808 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in si_init_microcode()
1811 if (rdev->me_fw->size != me_req_size) { in si_init_microcode()
1813 rdev->me_fw->size, fw_name); in si_init_microcode()
1817 err = radeon_ucode_validate(rdev->me_fw); in si_init_microcode()
1951 release_firmware(rdev->me_fw); in si_init_microcode()
1952 rdev->me_fw = NULL; in si_init_microcode()
3479 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in si_cp_load_microcode()
3490 (const struct gfx_firmware_header_v1_0 *)rdev->me_fw->data; in si_cp_load_microcode()
3518 (rdev->me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode()
[all …]
Drv770.c1105 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode()
1127 fw_data = (const __be32 *)rdev->me_fw->data; in rv770_cp_load_microcode()
1966 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
Dr600.c2565 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in r600_init_microcode()
2568 if (rdev->me_fw->size != me_req_size) { in r600_init_microcode()
2570 rdev->me_fw->size, fw_name); in r600_init_microcode()
2608 release_firmware(rdev->me_fw); in r600_init_microcode()
2609 rdev->me_fw = NULL; in r600_init_microcode()
2649 if (!rdev->me_fw || !rdev->pfp_fw) in r600_cp_load_microcode()
2668 fw_data = (const __be32 *)rdev->me_fw->data; in r600_cp_load_microcode()
3299 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in r600_init()
Devergreen.c2972 if (!rdev->me_fw || !rdev->pfp_fw) in evergreen_cp_load_microcode()
2988 fw_data = (const __be32 *)rdev->me_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.h2429 const struct firmware *me_fw; /* all family ME firmware */ member