Home
last modified time | relevance | path

Searched refs:rlc_fw (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c289 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 …]
Dgfx_v11_0.c445 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 …]
Dgfx_v6_0.c365 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()
Damdgpu_gfx.h365 const struct firmware *rlc_fw; /* RLC firmware */ member
Dgfx_v9_4_3.c357 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()
Dgfx_v7_0.c894 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()
Dgfx_v9_0.c1086 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()
Dgfx_v10_0.c3883 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()
Dgfx_v8_0.c930 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()
Damdgpu_psp.c2437 hdr = (struct common_firmware_header *)adev->gfx.rlc_fw->data; in psp_print_fw_hdr()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dni.c784 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()
Dsi.c1851 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 …]
Dr600.c2576 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()
Dcik.c2163 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 …]
Dradeon_pm.c1523 if (!rdev->rlc_fw) in radeon_pm_init()
1561 if (!rdev->rlc_fw) in radeon_pm_init()
Devergreen.c4388 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()
Drv770.c1955 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
Dradeon.h2393 const struct firmware *rlc_fw; /* r6/700 RLC firmware */ member