/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_rlc.c | 215 (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()
|
A D | gfx_v6_0.c | 352 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() 1975 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode() 1981 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_cp_gfx_load_microcode() 2007 (adev->gfx.me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
|
A D | gfx_v7_0.c | 938 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() 2461 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode() 2466 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v7_0_cp_gfx_load_microcode() 2502 (adev->gfx.me_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
|
A D | amdgpu_gfx.h | 279 const struct firmware *me_fw; /* ME firmware */ member
|
A D | gfx_v9_0.c | 1162 release_firmware(adev->gfx.me_fw); in gfx_v9_0_free_microcode() 1163 adev->gfx.me_fw = NULL; in gfx_v9_0_free_microcode() 1372 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_gfx_microcode() 1375 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode() 1378 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v9_0_init_cp_gfx_microcode() 1403 info->fw = adev->gfx.me_fw; in gfx_v9_0_init_cp_gfx_microcode() 1423 release_firmware(adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode() 1424 adev->gfx.me_fw = NULL; in gfx_v9_0_init_cp_gfx_microcode() 3216 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode() 3224 adev->gfx.me_fw->data; in gfx_v9_0_cp_gfx_load_microcode() [all …]
|
A D | gfx_v8_0.c | 943 release_firmware(adev->gfx.me_fw); in gfx_v8_0_free_microcode() 944 adev->gfx.me_fw = NULL; in gfx_v8_0_free_microcode() 1026 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1029 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1033 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1037 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v8_0_init_microcode() 1040 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode() 1183 info->fw = adev->gfx.me_fw; in gfx_v8_0_init_microcode() 1238 release_firmware(adev->gfx.me_fw); in gfx_v8_0_init_microcode() 1239 adev->gfx.me_fw = NULL; in gfx_v8_0_init_microcode()
|
A D | gfx_v10_0.c | 3948 release_firmware(adev->gfx.me_fw); in gfx_v10_0_free_microcode() 3949 adev->gfx.me_fw = NULL; in gfx_v10_0_free_microcode() 4127 err = request_firmware(&adev->gfx.me_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode() 4130 err = amdgpu_ucode_validate(adev->gfx.me_fw); in gfx_v10_0_init_microcode() 4244 info->fw = adev->gfx.me_fw; in gfx_v10_0_init_microcode() 4343 release_firmware(adev->gfx.me_fw); in gfx_v10_0_init_microcode() 4344 adev->gfx.me_fw = NULL; in gfx_v10_0_init_microcode() 5630 adev->gfx.me_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5631 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 6112 adev->gfx.me_fw->data; in gfx_v10_0_cp_gfx_load_me_microcode() [all …]
|
A D | amdgpu_psp.c | 2188 hdr = (struct common_firmware_header *)adev->gfx.me_fw->data; in psp_print_fw_hdr()
|
/linux/drivers/gpu/drm/radeon/ |
A D | ni.c | 774 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()
|
A D | r100.c | 1058 err = request_firmware(&rdev->me_fw, fw_name, rdev->dev); in r100_cp_init_microcode() 1061 } else if (rdev->me_fw->size % 8) { in r100_cp_init_microcode() 1063 rdev->me_fw->size, fw_name); in r100_cp_init_microcode() 1065 release_firmware(rdev->me_fw); in r100_cp_init_microcode() 1066 rdev->me_fw = NULL; in r100_cp_init_microcode() 1106 if (rdev->me_fw) { in r100_cp_load_microcode() 1107 size = rdev->me_fw->size / 4; in r100_cp_load_microcode() 1108 fw_data = (const __be32 *)&rdev->me_fw->data[0]; in r100_cp_load_microcode() 1133 if (!rdev->me_fw) { in r100_cp_init()
|
A D | cik.c | 2079 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() 3952 fw_data = (const __be32 *)rdev->me_fw->data; in cik_cp_gfx_load_microcode() 6478 fw_data = (const __be32 *)rdev->me_fw->data; in cik_init_cp_pg_table() 8599 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw || in cik_init() [all …]
|
A D | si.c | 1805 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() 3542 fw_data = (const __be32 *)rdev->me_fw->data; in si_cp_load_microcode() [all …]
|
A D | rv770.c | 1104 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode() 1126 fw_data = (const __be32 *)rdev->me_fw->data; in rv770_cp_load_microcode() 1965 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
|
A D | r600.c | 2565 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()
|
A D | evergreen.c | 2971 if (!rdev->me_fw || !rdev->pfp_fw) in evergreen_cp_load_microcode() 2987 fw_data = (const __be32 *)rdev->me_fw->data; in evergreen_cp_load_microcode() 5234 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in evergreen_init() 5242 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in evergreen_init()
|
A D | radeon.h | 2430 const struct firmware *me_fw; /* all family ME firmware */ member
|