Home
last modified time | relevance | path

Searched refs:ucode_prefix (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dpsp_v11_0.c91 char ucode_prefix[30]; in psp_v11_0_init_microcode() local
96 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v11_0_init_microcode()
101 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
104 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
107 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
113 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
116 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
119 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
126 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
129 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
[all …]
Dpsp_v10_0.c50 char ucode_prefix[30]; in psp_v10_0_init_microcode() local
54 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v10_0_init_microcode()
56 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v10_0_init_microcode()
60 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v10_0_init_microcode()
Damdgpu_isp.c99 char ucode_prefix[10]; in isp_load_fw_by_psp() local
103 amdgpu_ucode_ip_version_decode(adev, ISP_HWIP, ucode_prefix, in isp_load_fw_by_psp()
104 sizeof(ucode_prefix)); in isp_load_fw_by_psp()
107 r = amdgpu_ucode_request(adev, &adev->isp.fw, "amdgpu/%s.bin", ucode_prefix); in isp_load_fw_by_psp()
Dpsp_v12_0.c51 char ucode_prefix[30]; in psp_v12_0_init_microcode() local
55 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v12_0_init_microcode()
57 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v12_0_init_microcode()
61 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v12_0_init_microcode()
Dpsp_v13_0_4.c38 char ucode_prefix[30]; in psp_v13_0_4_init_microcode() local
41 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v13_0_4_init_microcode()
45 err = psp_init_toc_microcode(psp, ucode_prefix); in psp_v13_0_4_init_microcode()
48 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v13_0_4_init_microcode()
Dpsp_v3_1.c60 char ucode_prefix[30]; in psp_v3_1_init_microcode() local
65 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v3_1_init_microcode()
67 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v3_1_init_microcode()
71 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v3_1_init_microcode()
Damdgpu_sdma.c217 char ucode_prefix[30]; in amdgpu_sdma_init_microcode() local
219 amdgpu_ucode_ip_version_decode(adev, SDMA0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in amdgpu_sdma_init_microcode()
222 "amdgpu/%s.bin", ucode_prefix); in amdgpu_sdma_init_microcode()
225 "amdgpu/%s%d.bin", ucode_prefix, instance); in amdgpu_sdma_init_microcode()
Dpsp_v13_0.c89 char ucode_prefix[30]; in psp_v13_0_init_microcode() local
92 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v13_0_init_microcode()
96 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
101 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
114 err = psp_init_toc_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
117 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
126 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
130 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
Dimu_v11_0.c45 char ucode_prefix[30]; in imu_v11_0_init_microcode() local
52 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in imu_v11_0_init_microcode()
53 err = amdgpu_ucode_request(adev, &adev->gfx.imu_fw, "amdgpu/%s_imu.bin", ucode_prefix); in imu_v11_0_init_microcode()
78 ucode_prefix); in imu_v11_0_init_microcode()
Dimu_v12_0.c42 char ucode_prefix[15]; in imu_v12_0_init_microcode() local
49 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in imu_v12_0_init_microcode()
50 err = amdgpu_ucode_request(adev, &adev->gfx.imu_fw, "amdgpu/%s_imu.bin", ucode_prefix); in imu_v12_0_init_microcode()
74 ucode_prefix); in imu_v12_0_init_microcode()
Dpsp_v14_0.c60 char ucode_prefix[30]; in psp_v14_0_init_microcode() local
63 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_v14_0_init_microcode()
68 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v14_0_init_microcode()
71 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v14_0_init_microcode()
Damdgpu_mes.c1594 char ucode_prefix[30]; in amdgpu_mes_init_microcode() local
1599 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, in amdgpu_mes_init_microcode()
1600 sizeof(ucode_prefix)); in amdgpu_mes_init_microcode()
1603 "amdgpu/%s_uni_mes.bin", ucode_prefix); in amdgpu_mes_init_microcode()
1607 ucode_prefix, in amdgpu_mes_init_microcode()
1612 ucode_prefix, in amdgpu_mes_init_microcode()
1618 dev_info(adev->dev, "try to fall back to %s_mes.bin\n", ucode_prefix); in amdgpu_mes_init_microcode()
1620 "amdgpu/%s_mes.bin", ucode_prefix); in amdgpu_mes_init_microcode()
Damdgpu_vcn.c96 char ucode_prefix[25]; in amdgpu_vcn_early_init() local
99 amdgpu_ucode_ip_version_decode(adev, UVD_HWIP, ucode_prefix, sizeof(ucode_prefix)); in amdgpu_vcn_early_init()
102 r = amdgpu_ucode_request(adev, &adev->vcn.fw[i], "amdgpu/%s_%d.bin", ucode_prefix, i); in amdgpu_vcn_early_init()
104 r = amdgpu_ucode_request(adev, &adev->vcn.fw[i], "amdgpu/%s.bin", ucode_prefix); in amdgpu_vcn_early_init()
Damdgpu_psp.c127 char ucode_prefix[30]; in psp_init_sriov_microcode() local
130 amdgpu_ucode_ip_version_decode(adev, MP0_HWIP, ucode_prefix, sizeof(ucode_prefix)); in psp_init_sriov_microcode()
137 ret = psp_init_cap_microcode(psp, ucode_prefix); in psp_init_sriov_microcode()
141 ret = psp_init_cap_microcode(psp, ucode_prefix); in psp_init_sriov_microcode()
142 ret &= psp_init_ta_microcode(psp, ucode_prefix); in psp_init_sriov_microcode()
149 ret = psp_init_cap_microcode(psp, ucode_prefix); in psp_init_sriov_microcode()
150 ret &= psp_init_ta_microcode(psp, ucode_prefix); in psp_init_sriov_microcode()
154 ret = psp_init_cap_microcode(psp, ucode_prefix); in psp_init_sriov_microcode()
Damdgpu_ucode.c1386 void amdgpu_ucode_ip_version_decode(struct amdgpu_device *adev, int block_type, char *ucode_prefix,… in amdgpu_ucode_ip_version_decode() argument
1395 snprintf(ucode_prefix, len, "%s", legacy); in amdgpu_ucode_ip_version_decode()
1429 snprintf(ucode_prefix, len, "%s_%d_%d_%d", ip_name, maj, min, rev); in amdgpu_ucode_ip_version_decode()
Damdgpu_ucode.h624 void amdgpu_ucode_ip_version_decode(struct amdgpu_device *adev, int block_type, char *ucode_prefix,…
Dgfx_v12_0.c534 static int gfx_v12_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v12_0_init_toc_microcode() argument
540 "amdgpu/%s_toc.bin", ucode_prefix); in gfx_v12_0_init_toc_microcode()
558 char ucode_prefix[15]; in gfx_v12_0_init_microcode() local
566 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in gfx_v12_0_init_microcode()
569 "amdgpu/%s_pfp.bin", ucode_prefix); in gfx_v12_0_init_microcode()
576 "amdgpu/%s_me.bin", ucode_prefix); in gfx_v12_0_init_microcode()
584 "amdgpu/%s_rlc.bin", ucode_prefix); in gfx_v12_0_init_microcode()
596 "amdgpu/%s_mec.bin", ucode_prefix); in gfx_v12_0_init_microcode()
604 err = gfx_v12_0_init_toc_microcode(adev, ucode_prefix); in gfx_v12_0_init_microcode()
Dgfx_v11_0.c632 static int gfx_v11_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v11_0_init_toc_microcode() argument
638 "amdgpu/%s_toc.bin", ucode_prefix); in gfx_v11_0_init_toc_microcode()
677 char ucode_prefix[25]; in gfx_v11_0_init_microcode() local
685 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in gfx_v11_0_init_microcode()
687 "amdgpu/%s_pfp.bin", ucode_prefix); in gfx_v11_0_init_microcode()
704 "amdgpu/%s_me.bin", ucode_prefix); in gfx_v11_0_init_microcode()
722 "amdgpu/%s_rlc.bin", ucode_prefix); in gfx_v11_0_init_microcode()
734 "amdgpu/%s_mec.bin", ucode_prefix); in gfx_v11_0_init_microcode()
749 err = gfx_v11_0_init_toc_microcode(adev, ucode_prefix); in gfx_v11_0_init_microcode()
Dgfx_v9_4_3.c597 char ucode_prefix[15]; in gfx_v9_4_3_init_microcode() local
600 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in gfx_v9_4_3_init_microcode()
602 r = gfx_v9_4_3_init_rlc_microcode(adev, ucode_prefix); in gfx_v9_4_3_init_microcode()
606 r = gfx_v9_4_3_init_cp_compute_microcode(adev, ucode_prefix); in gfx_v9_4_3_init_microcode()
Dgfx_v9_0.c1561 char ucode_prefix[30]; in gfx_v9_0_init_microcode() local
1565 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in gfx_v9_0_init_microcode()
1569 r = gfx_v9_0_init_cp_gfx_microcode(adev, ucode_prefix); in gfx_v9_0_init_microcode()
1574 r = gfx_v9_0_init_rlc_microcode(adev, ucode_prefix); in gfx_v9_0_init_microcode()
1578 r = gfx_v9_0_init_cp_compute_microcode(adev, ucode_prefix); in gfx_v9_0_init_microcode()
Dgfx_v10_0.c4120 char ucode_prefix[30]; in gfx_v10_0_init_microcode() local
4132 amdgpu_ucode_ip_version_decode(adev, GC_HWIP, ucode_prefix, sizeof(ucode_prefix)); in gfx_v10_0_init_microcode()
4135 "amdgpu/%s_pfp%s.bin", ucode_prefix, wks); in gfx_v10_0_init_microcode()
4141 "amdgpu/%s_me%s.bin", ucode_prefix, wks); in gfx_v10_0_init_microcode()
4147 "amdgpu/%s_ce%s.bin", ucode_prefix, wks); in gfx_v10_0_init_microcode()
4153 snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_rlc.bin", ucode_prefix); in gfx_v10_0_init_microcode()
4170 "amdgpu/%s_mec%s.bin", ucode_prefix, wks); in gfx_v10_0_init_microcode()
4177 "amdgpu/%s_mec2%s.bin", ucode_prefix, wks); in gfx_v10_0_init_microcode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c71 char ucode_prefix[15]; in smu_v14_0_init_microcode() local
81 amdgpu_ucode_ip_version_decode(adev, MP1_HWIP, ucode_prefix, sizeof(ucode_prefix)); in smu_v14_0_init_microcode()
82 err = amdgpu_ucode_request(adev, &adev->pm.fw, "amdgpu/%s.bin", ucode_prefix); in smu_v14_0_init_microcode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c96 char ucode_prefix[25]; in smu_v11_0_init_microcode() local
107 amdgpu_ucode_ip_version_decode(adev, MP1_HWIP, ucode_prefix, sizeof(ucode_prefix)); in smu_v11_0_init_microcode()
108 err = amdgpu_ucode_request(adev, &adev->pm.fw, "amdgpu/%s.bin", ucode_prefix); in smu_v11_0_init_microcode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c95 char ucode_prefix[15]; in smu_v13_0_init_microcode() local
105 amdgpu_ucode_ip_version_decode(adev, MP1_HWIP, ucode_prefix, sizeof(ucode_prefix)); in smu_v13_0_init_microcode()
106 err = amdgpu_ucode_request(adev, &adev->pm.fw, "amdgpu/%s.bin", ucode_prefix); in smu_v13_0_init_microcode()
Dsmu_v13_0_6_ppt.c276 char ucode_prefix[15]; in smu_v13_0_6_init_microcode() local
288 amdgpu_ucode_ip_version_decode(adev, MP1_HWIP, ucode_prefix, in smu_v13_0_6_init_microcode()
289 sizeof(ucode_prefix)); in smu_v13_0_6_init_microcode()
290 ret = amdgpu_ucode_request(adev, &adev->pm.fw, "amdgpu/%s.bin", ucode_prefix); in smu_v13_0_6_init_microcode()