/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_rlc.c | 289 rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in amdgpu_gfx_rlc_init_microcode_v2_0() 334 info->fw = adev->gfx.rlc_fw; in amdgpu_gfx_rlc_init_microcode_v2_0() 350 rlc_hdr = (const struct rlc_firmware_header_v2_1 *)adev->gfx.rlc_fw->data; in amdgpu_gfx_rlc_init_microcode_v2_1() 370 info->fw = adev->gfx.rlc_fw; in amdgpu_gfx_rlc_init_microcode_v2_1() 378 info->fw = adev->gfx.rlc_fw; in amdgpu_gfx_rlc_init_microcode_v2_1() 386 info->fw = adev->gfx.rlc_fw; in amdgpu_gfx_rlc_init_microcode_v2_1() 398 rlc_hdr = (const struct rlc_firmware_header_v2_2 *)adev->gfx.rlc_fw->data; in amdgpu_gfx_rlc_init_microcode_v2_2() 408 info->fw = adev->gfx.rlc_fw; in amdgpu_gfx_rlc_init_microcode_v2_2() 416 info->fw = adev->gfx.rlc_fw; in amdgpu_gfx_rlc_init_microcode_v2_2() 428 rlc_hdr = (const struct rlc_firmware_header_v2_3 *)adev->gfx.rlc_fw->data; in amdgpu_gfx_rlc_init_microcode_v2_3() [all …]
|
D | gfx_v11_0.c | 445 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v11_0_free_microcode() 539 err = amdgpu_ucode_request(adev, &adev->gfx.rlc_fw, fw_name); in gfx_v11_0_init_microcode() 542 rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v11_0_init_microcode() 576 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v11_0_init_microcode() 1180 adev->gfx.rlc_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1181 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1191 rlcv22_hdr = (const struct rlc_firmware_header_v2_2 *)adev->gfx.rlc_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1193 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1199 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1844 hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v11_0_load_rlcg_microcode() [all …]
|
D | gfx_v6_0.c | 365 err = amdgpu_ucode_request(adev, &adev->gfx.rlc_fw, fw_name); in gfx_v6_0_init_microcode() 368 rlc_hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data; in gfx_v6_0_init_microcode() 378 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v6_0_init_microcode() 2489 if (!adev->gfx.rlc_fw) in gfx_v6_0_rlc_resume() 2507 hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data; in gfx_v6_0_rlc_resume() 2510 (adev->gfx.rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_rlc_resume()
|
D | amdgpu_gfx.h | 365 const struct firmware *rlc_fw; /* RLC firmware */ member
|
D | gfx_v9_4_3.c | 357 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v9_4_3_free_microcode() 375 err = amdgpu_ucode_request(adev, &adev->gfx.rlc_fw, fw_name); in gfx_v9_4_3_init_rlc_microcode() 378 rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v9_4_3_init_rlc_microcode() 385 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v9_4_3_init_rlc_microcode() 1259 if (!adev->gfx.rlc_fw) in gfx_v9_4_3_xcc_rlc_load_microcode() 1262 hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v9_4_3_xcc_rlc_load_microcode() 1265 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v9_4_3_xcc_rlc_load_microcode()
|
D | gfx_v7_0.c | 894 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v7_0_free_microcode() 965 err = amdgpu_ucode_request(adev, &adev->gfx.rlc_fw, fw_name); in gfx_v7_0_init_microcode() 3452 if (!adev->gfx.rlc_fw) in gfx_v7_0_rlc_resume() 3455 hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data; in gfx_v7_0_rlc_resume() 3485 (adev->gfx.rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_rlc_resume()
|
D | gfx_v9_0.c | 1086 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v9_0_free_microcode() 1312 err = amdgpu_ucode_request(adev, &adev->gfx.rlc_fw, fw_name); in gfx_v9_0_init_rlc_microcode() 1315 rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v9_0_init_rlc_microcode() 1322 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v9_0_init_rlc_microcode() 2886 if (!adev->gfx.rlc_fw) in gfx_v9_0_rlc_load_microcode() 2889 hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v9_0_rlc_load_microcode() 2892 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v9_0_rlc_load_microcode()
|
D | gfx_v10_0.c | 3883 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v10_0_free_microcode() 3992 err = request_firmware(&adev->gfx.rlc_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode() 3999 rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v10_0_init_microcode() 4030 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v10_0_init_microcode() 5119 if (!adev->gfx.rlc_fw) in gfx_v10_0_rlc_load_microcode() 5122 hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v10_0_rlc_load_microcode() 5125 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v10_0_rlc_load_microcode() 5375 adev->gfx.rlc_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5376 fw_data = (const __le32 *)(adev->gfx.rlc_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
|
D | gfx_v8_0.c | 930 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v8_0_free_microcode() 1048 err = amdgpu_ucode_request(adev, &adev->gfx.rlc_fw, fw_name); in gfx_v8_0_init_microcode() 1051 rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data; in gfx_v8_0_init_microcode() 1161 info->fw = adev->gfx.rlc_fw; in gfx_v8_0_init_microcode() 1203 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v8_0_init_microcode()
|
D | amdgpu_psp.c | 2437 hdr = (struct common_firmware_header *)adev->gfx.rlc_fw->data; in psp_print_fw_hdr()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | ni.c | 784 err = request_firmware(&rdev->rlc_fw, fw_name, rdev->dev); in ni_init_microcode() 787 if (rdev->rlc_fw->size != rlc_req_size) { in ni_init_microcode() 789 rdev->rlc_fw->size, fw_name); in ni_init_microcode() 830 release_firmware(rdev->rlc_fw); in ni_init_microcode() 831 rdev->rlc_fw = NULL; in ni_init_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 | 1851 err = request_firmware(&rdev->rlc_fw, fw_name, rdev->dev); in si_init_microcode() 1854 err = request_firmware(&rdev->rlc_fw, fw_name, rdev->dev); in si_init_microcode() 1857 if (rdev->rlc_fw->size != rlc_req_size) { in si_init_microcode() 1859 rdev->rlc_fw->size, fw_name); in si_init_microcode() 1863 err = radeon_ucode_validate(rdev->rlc_fw); in si_init_microcode() 1955 release_firmware(rdev->rlc_fw); in si_init_microcode() 1956 rdev->rlc_fw = NULL; in si_init_microcode() 5868 if (!rdev->rlc_fw) in si_rlc_resume() 5891 (const struct rlc_firmware_header_v1_0 *)rdev->rlc_fw->data; in si_rlc_resume() 5894 (rdev->rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in si_rlc_resume() [all …]
|
D | r600.c | 2576 err = request_firmware(&rdev->rlc_fw, fw_name, rdev->dev); in r600_init_microcode() 2579 if (rdev->rlc_fw->size != rlc_req_size) { in r600_init_microcode() 2581 rdev->rlc_fw->size, fw_name); in r600_init_microcode() 2610 release_firmware(rdev->rlc_fw); in r600_init_microcode() 2611 rdev->rlc_fw = NULL; in r600_init_microcode() 3299 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in r600_init() 3556 if (!rdev->rlc_fw) in r600_rlc_resume() 3571 fw_data = (const __be32 *)rdev->rlc_fw->data; in r600_rlc_resume()
|
D | cik.c | 2163 err = request_firmware(&rdev->rlc_fw, fw_name, rdev->dev); in cik_init_microcode() 2166 err = request_firmware(&rdev->rlc_fw, fw_name, rdev->dev); in cik_init_microcode() 2169 if (rdev->rlc_fw->size != rlc_req_size) { in cik_init_microcode() 2171 rdev->rlc_fw->size, fw_name); in cik_init_microcode() 2175 err = radeon_ucode_validate(rdev->rlc_fw); in cik_init_microcode() 2294 release_firmware(rdev->rlc_fw); in cik_init_microcode() 2295 rdev->rlc_fw = NULL; in cik_init_microcode() 5913 if (!rdev->rlc_fw) in cik_rlc_resume() 5941 (const struct rlc_firmware_header_v1_0 *)rdev->rlc_fw->data; in cik_rlc_resume() 5943 (rdev->rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in cik_rlc_resume() [all …]
|
D | radeon_pm.c | 1523 if (!rdev->rlc_fw) in radeon_pm_init() 1561 if (!rdev->rlc_fw) in radeon_pm_init()
|
D | evergreen.c | 4388 if (!rdev->rlc_fw) in evergreen_rlc_resume() 4426 fw_data = (const __be32 *)rdev->rlc_fw->data; in evergreen_rlc_resume() 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 | rv770.c | 1955 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
|
D | radeon.h | 2393 const struct firmware *rlc_fw; /* r6/700 RLC firmware */ member
|