/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 916 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()
|
D | gfx_v11_0.c | 436 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 …]
|
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()
|
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() 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()
|
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() 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()
|
D | amdgpu_gfx.h | 283 const struct firmware *me_fw; /* ME firmware */ member
|
D | gfx_v8_0.c | 929 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()
|
D | gfx_v9_0.c | 1080 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()
|
D | gfx_v10_0.c | 3896 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 …]
|
D | amdgpu_psp.c | 2343 hdr = (struct common_firmware_header *)adev->gfx.me_fw->data; in psp_print_fw_hdr()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
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()
|
D | r100.c | 1059 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()
|
D | cik.c | 2079 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 …]
|
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() 3518 (rdev->me_fw->data + le32_to_cpu(me_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() 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()
|
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()
|
D | evergreen.c | 2972 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()
|
D | radeon.h | 2429 const struct firmware *me_fw; /* all family ME firmware */ member
|