/linux-6.6.21/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 | 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 | 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 | rv770.c | 1094 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode() 1116 fw_data = (const __be32 *)rdev->me_fw->data; in rv770_cp_load_microcode() 1955 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() 5236 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in evergreen_init() 5244 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in evergreen_init()
|
D | radeon.h | 2391 const struct firmware *me_fw; /* all family ME firmware */ member
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 1098 adev->gfx.me_fw->data; in amdgpu_gfx_cp_init_microcode() 1103 ucode_fw = adev->gfx.me_fw; in amdgpu_gfx_cp_init_microcode() 1108 adev->gfx.me_fw->data; in amdgpu_gfx_cp_init_microcode() 1113 ucode_fw = adev->gfx.me_fw; in amdgpu_gfx_cp_init_microcode() 1119 adev->gfx.me_fw->data; in amdgpu_gfx_cp_init_microcode() 1120 ucode_fw = adev->gfx.me_fw; in amdgpu_gfx_cp_init_microcode()
|
D | gfx_v11_0.c | 444 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v11_0_free_microcode() 526 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v11_0_init_microcode() 575 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v11_0_init_microcode() 1112 adev->gfx.me_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1114 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1120 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1160 adev->gfx.me_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1161 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 2280 adev->gfx.me_fw->data; in gfx_v11_0_config_me_cache_rs64() 2488 adev->gfx.me_fw->data; in gfx_v11_0_config_gfx_rs64() [all …]
|
D | amdgpu_rlc.c | 220 (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in amdgpu_gfx_rlc_setup_cp_table() 222 (adev->gfx.me_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
|
D | gfx_v6_0.c | 349 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v6_0_init_microcode() 352 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_init_microcode() 376 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v6_0_init_microcode() 1937 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v6_0_cp_gfx_load_microcode() 1943 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_cp_gfx_load_microcode() 1969 (adev->gfx.me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
|
D | amdgpu_gfx.h | 359 const struct firmware *me_fw; /* ME firmware */ member
|
D | gfx_v7_0.c | 890 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v7_0_free_microcode() 943 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v7_0_init_microcode() 2390 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode() 2395 me_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v7_0_cp_gfx_load_microcode() 2431 (adev->gfx.me_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
|
D | gfx_v8_0.c | 928 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v8_0_free_microcode() 1003 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v8_0_init_microcode() 1006 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v8_0_init_microcode() 1010 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v8_0_init_microcode() 1014 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode() 1147 info->fw = adev->gfx.me_fw; in gfx_v8_0_init_microcode() 1201 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v8_0_init_microcode()
|
D | gfx_v9_0.c | 1084 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v9_0_free_microcode() 1262 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v9_0_init_cp_gfx_microcode() 1276 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v9_0_init_cp_gfx_microcode() 2974 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v9_0_cp_gfx_load_microcode() 2982 adev->gfx.me_fw->data; in gfx_v9_0_cp_gfx_load_microcode() 3012 (adev->gfx.me_fw->data + in gfx_v9_0_cp_gfx_load_microcode()
|
D | gfx_v10_0.c | 3881 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v10_0_free_microcode() 3979 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, fw_name); in gfx_v10_0_init_microcode() 4028 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v10_0_init_microcode() 5365 adev->gfx.me_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5366 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5849 adev->gfx.me_fw->data; in gfx_v10_0_cp_gfx_load_me_microcode() 5853 fw_data = (const __le32 *)(adev->gfx.me_fw->data + in gfx_v10_0_cp_gfx_load_me_microcode() 5920 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v10_0_cp_gfx_load_microcode()
|
D | amdgpu_psp.c | 2429 hdr = (struct common_firmware_header *)adev->gfx.me_fw->data; in psp_print_fw_hdr()
|
D | gfx_v9_4_3.c | 355 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v9_4_3_free_microcode()
|