/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_rlc.c | 223 (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()
|
D | amdgpu_gfx.h | 266 const struct firmware *me_fw; /* ME firmware */ member
|
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() 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()
|
D | gfx_v10_0.c | 553 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 …]
|
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() 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()
|
D | gfx_v9_0.c | 936 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 …]
|
D | gfx_v8_0.c | 933 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()
|
D | amdgpu_psp.c | 977 hdr = (struct common_firmware_header *)adev->gfx.me_fw->data; in psp_print_fw_hdr()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | ni.c | 787 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()
|
D | r100.c | 1049 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()
|
D | cik.c | 2092 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 …]
|
D | si.c | 1810 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 …]
|
D | rv770.c | 1097 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()
|
D | r600.c | 2566 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()
|
D | evergreen.c | 2970 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()
|
D | radeon.h | 2394 const struct firmware *me_fw; /* all family ME firmware */ member
|