Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c223 (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in amdgpu_gfx_rlc_setup_cp_table()
225 (adev->gfx.me_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
Damdgpu_gfx.h266 const struct firmware *me_fw; /* ME firmware */ member
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()
1979 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode()
1985 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_cp_gfx_load_microcode()
2011 (adev->gfx.me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
Dgfx_v10_0.c553 release_firmware(adev->gfx.me_fw); in gfx_v10_0_free_microcode()
554 adev->gfx.me_fw = NULL; in gfx_v10_0_free_microcode()
672 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode()
675 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v10_0_init_microcode()
678 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v10_0_init_microcode()
785 info->fw = adev->gfx.me_fw; in gfx_v10_0_init_microcode()
869 release_firmware(adev->gfx.me_fw); in gfx_v10_0_init_microcode()
870 adev->gfx.me_fw = NULL; in gfx_v10_0_init_microcode()
2113 adev->gfx.me_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
2114 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
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()
2462 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode()
2467 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v7_0_cp_gfx_load_microcode()
2503 (adev->gfx.me_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
Dgfx_v9_0.c936 release_firmware(adev->gfx.me_fw); in gfx_v9_0_free_microcode()
937 adev->gfx.me_fw = NULL; in gfx_v9_0_free_microcode()
1091 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_gfx_microcode()
1094 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode()
1097 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v9_0_init_cp_gfx_microcode()
1122 info->fw = adev->gfx.me_fw; in gfx_v9_0_init_cp_gfx_microcode()
1142 release_firmware(adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode()
1143 adev->gfx.me_fw = NULL; in gfx_v9_0_init_cp_gfx_microcode()
3090 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode()
3098 adev->gfx.me_fw->data; in gfx_v9_0_cp_gfx_load_microcode()
[all …]
Dgfx_v8_0.c933 release_firmware(adev->gfx.me_fw); in gfx_v8_0_free_microcode()
934 adev->gfx.me_fw = NULL; in gfx_v8_0_free_microcode()
1016 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 = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1027 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v8_0_init_microcode()
1030 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode()
1173 info->fw = adev->gfx.me_fw; in gfx_v8_0_init_microcode()
1228 release_firmware(adev->gfx.me_fw); in gfx_v8_0_init_microcode()
1229 adev->gfx.me_fw = NULL; in gfx_v8_0_init_microcode()
Damdgpu_psp.c977 hdr = (struct common_firmware_header *)adev->gfx.me_fw->data; in psp_print_fw_hdr()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dni.c787 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in ni_init_microcode()
790 if (rdev->me_fw->size != me_req_size) { in ni_init_microcode()
792 rdev->me_fw->size, fw_name); in ni_init_microcode()
841 release_firmware(rdev->me_fw); in ni_init_microcode()
842 rdev->me_fw = NULL; in ni_init_microcode()
1528 if (!rdev->me_fw || !rdev->pfp_fw) in cayman_cp_load_microcode()
1539 fw_data = (const __be32 *)rdev->me_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()
Dr100.c1049 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in r100_cp_init_microcode()
1052 } else if (rdev->me_fw->size % 8) { in r100_cp_init_microcode()
1054 rdev->me_fw->size, fw_name); in r100_cp_init_microcode()
1056 release_firmware(rdev->me_fw); in r100_cp_init_microcode()
1057 rdev->me_fw = NULL; in r100_cp_init_microcode()
1097 if (rdev->me_fw) { in r100_cp_load_microcode()
1098 size = rdev->me_fw->size / 4; in r100_cp_load_microcode()
1099 fw_data = (const __be32 *)&rdev->me_fw->data[0]; in r100_cp_load_microcode()
1126 if (!rdev->me_fw) { in r100_cp_init()
Dcik.c2092 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in cik_init_microcode()
2095 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in cik_init_microcode()
2098 if (rdev->me_fw->size != me_req_size) { in cik_init_microcode()
2100 rdev->me_fw->size, fw_name); in cik_init_microcode()
2104 err = radeon_ucode_validate(rdev->me_fw); in cik_init_microcode()
2299 release_firmware(rdev->me_fw); in cik_init_microcode()
2300 rdev->me_fw = NULL; in cik_init_microcode()
3902 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in cik_cp_gfx_load_microcode()
3913 (const struct gfx_firmware_header_v1_0 *)rdev->me_fw->data; in cik_cp_gfx_load_microcode()
3941 (rdev->me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()
[all …]
Dsi.c1810 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in si_init_microcode()
1813 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in si_init_microcode()
1816 if (rdev->me_fw->size != me_req_size) { in si_init_microcode()
1818 rdev->me_fw->size, fw_name); in si_init_microcode()
1822 err = radeon_ucode_validate(rdev->me_fw); in si_init_microcode()
1956 release_firmware(rdev->me_fw); in si_init_microcode()
1957 rdev->me_fw = NULL; in si_init_microcode()
3484 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in si_cp_load_microcode()
3495 (const struct gfx_firmware_header_v1_0 *)rdev->me_fw->data; in si_cp_load_microcode()
3523 (rdev->me_fw->data + le32_to_cpu(me_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()
1119 fw_data = (const __be32 *)rdev->me_fw->data; in rv770_cp_load_microcode()
1960 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
Dr600.c2566 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in r600_init_microcode()
2569 if (rdev->me_fw->size != me_req_size) { in r600_init_microcode()
2571 rdev->me_fw->size, fw_name); in r600_init_microcode()
2607 release_firmware(rdev->me_fw); in r600_init_microcode()
2608 rdev->me_fw = NULL; in r600_init_microcode()
2648 if (!rdev->me_fw || !rdev->pfp_fw) in r600_cp_load_microcode()
2667 fw_data = (const __be32 *)rdev->me_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()
2986 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.h2394 const struct firmware *me_fw; /* all family ME firmware */ member