Home
last modified time | relevance | path

Searched refs:mec_fw (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c953 adev->gfx.mec_fw->data; in amdgpu_gfx_cp_init_microcode()
958 ucode_fw = adev->gfx.mec_fw; in amdgpu_gfx_cp_init_microcode()
964 adev->gfx.mec_fw->data; in amdgpu_gfx_cp_init_microcode()
965 ucode_fw = adev->gfx.mec_fw; in amdgpu_gfx_cp_init_microcode()
987 adev->gfx.mec_fw->data; in amdgpu_gfx_cp_init_microcode()
992 ucode_fw = adev->gfx.mec_fw; in amdgpu_gfx_cp_init_microcode()
1000 adev->gfx.mec_fw->data; in amdgpu_gfx_cp_init_microcode()
1001 ucode_fw = adev->gfx.mec_fw; in amdgpu_gfx_cp_init_microcode()
Dgfx_v11_0.c440 release_firmware(adev->gfx.mec_fw); in gfx_v11_0_free_microcode()
441 adev->gfx.mec_fw = NULL; in gfx_v11_0_free_microcode()
511 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v11_0_init_microcode()
514 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v11_0_init_microcode()
542 release_firmware(adev->gfx.mec_fw); in gfx_v11_0_init_microcode()
543 adev->gfx.mec_fw = NULL; in gfx_v11_0_init_microcode()
1104 adev->gfx.mec_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1106 fw_data = (const __le32 *) (adev->gfx.mec_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1112 fw_data = (const __le32 *) (adev->gfx.mec_fw->data + in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1144 adev->gfx.mec_fw->data; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
Damdgpu_rlc.c223 (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in amdgpu_gfx_rlc_setup_cp_table()
225 (adev->gfx.mec_fw->data + in amdgpu_gfx_rlc_setup_cp_table()
Dgfx_v7_0.c954 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v7_0_init_microcode()
957 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v7_0_init_microcode()
986 release_firmware(adev->gfx.mec_fw); in gfx_v7_0_init_microcode()
987 adev->gfx.mec_fw = NULL; in gfx_v7_0_init_microcode()
1004 release_firmware(adev->gfx.mec_fw); in gfx_v7_0_free_microcode()
1005 adev->gfx.mec_fw = NULL; in gfx_v7_0_free_microcode()
2688 if (!adev->gfx.mec_fw) in gfx_v7_0_cp_compute_load_microcode()
2691 mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v7_0_cp_compute_load_microcode()
2701 (adev->gfx.mec_fw->data + in gfx_v7_0_cp_compute_load_microcode()
Damdgpu_gfx.h291 const struct firmware *mec_fw; /* MEC firmware */ member
Dgfx_v8_0.c935 release_firmware(adev->gfx.mec_fw); in gfx_v8_0_free_microcode()
936 adev->gfx.mec_fw = NULL; in gfx_v8_0_free_microcode()
1113 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1116 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1120 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
1124 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v8_0_init_microcode()
1127 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v8_0_init_microcode()
1190 info->fw = adev->gfx.mec_fw; in gfx_v8_0_init_microcode()
1196 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v8_0_init_microcode()
1203 info->fw = adev->gfx.mec_fw; in gfx_v8_0_init_microcode()
[all …]
Dgfx_v9_0.c1086 release_firmware(adev->gfx.mec_fw); in gfx_v9_0_free_microcode()
1087 adev->gfx.mec_fw = NULL; in gfx_v9_0_free_microcode()
1371 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v9_0_init_cp_compute_microcode()
1374 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v9_0_init_cp_compute_microcode()
1409 release_firmware(adev->gfx.mec_fw); in gfx_v9_0_init_cp_compute_microcode()
1410 adev->gfx.mec_fw = NULL; in gfx_v9_0_init_cp_compute_microcode()
1799 mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v9_0_mec_init()
1802 (adev->gfx.mec_fw->data + in gfx_v9_0_mec_init()
3205 if (!adev->gfx.mec_fw) in gfx_v9_0_cp_compute_load_microcode()
3210 mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v9_0_cp_compute_load_microcode()
[all …]
Dgfx_v10_0.c3902 release_firmware(adev->gfx.mec_fw); in gfx_v10_0_free_microcode()
3903 adev->gfx.mec_fw = NULL; in gfx_v10_0_free_microcode()
4081 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v10_0_init_microcode()
4084 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v10_0_init_microcode()
4117 release_firmware(adev->gfx.mec_fw); in gfx_v10_0_init_microcode()
4118 adev->gfx.mec_fw = NULL; in gfx_v10_0_init_microcode()
4324 mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v10_0_mec_init()
4326 fw_data = (const __le32 *) (adev->gfx.mec_fw->data + in gfx_v10_0_mec_init()
5451 adev->gfx.mec_fw->data; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5452 fw_data = (const __le32 *) (adev->gfx.mec_fw->data + in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
Damdgpu_psp.c2347 hdr = (struct common_firmware_header *)adev->gfx.mec_fw->data; in psp_print_fw_hdr()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dcik.c2125 err = request_firmware(&rdev->mec_fw, fw_name, rdev->dev); in cik_init_microcode()
2128 err = request_firmware(&rdev->mec_fw, fw_name, rdev->dev); in cik_init_microcode()
2131 if (rdev->mec_fw->size != mec_req_size) { in cik_init_microcode()
2133 rdev->mec_fw->size, fw_name); in cik_init_microcode()
2137 err = radeon_ucode_validate(rdev->mec_fw); in cik_init_microcode()
2290 release_firmware(rdev->mec_fw); in cik_init_microcode()
2291 rdev->mec_fw = NULL; in cik_init_microcode()
4250 if (!rdev->mec_fw) in cik_cp_compute_load_microcode()
4257 (const struct gfx_firmware_header_v1_0 *)rdev->mec_fw->data; in cik_cp_compute_load_microcode()
4265 (rdev->mec_fw->data + le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes)); in cik_cp_compute_load_microcode()
[all …]
Dradeon.h2434 const struct firmware *mec_fw; /* CIK MEC firmware */ member