Searched refs:mec_fw (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v9_0.c | 456 release_firmware(adev->gfx.mec_fw); in gfx_v9_0_free_microcode() 457 adev->gfx.mec_fw = NULL; in gfx_v9_0_free_microcode() 607 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v9_0_init_microcode() 610 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v9_0_init_microcode() 613 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v9_0_init_microcode() 689 info->fw = adev->gfx.mec_fw; in gfx_v9_0_init_microcode() 697 info->fw = adev->gfx.mec_fw; in gfx_v9_0_init_microcode() 731 release_firmware(adev->gfx.mec_fw); in gfx_v9_0_init_microcode() 732 adev->gfx.mec_fw = NULL; in gfx_v9_0_init_microcode() 895 (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in rv_init_cp_jump_table() [all …]
|
D | gfx_v7_0.c | 953 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v7_0_init_microcode() 956 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v7_0_init_microcode() 985 release_firmware(adev->gfx.mec_fw); in gfx_v7_0_init_microcode() 986 adev->gfx.mec_fw = NULL; in gfx_v7_0_init_microcode() 1003 release_firmware(adev->gfx.mec_fw); in gfx_v7_0_free_microcode() 1004 adev->gfx.mec_fw = NULL; in gfx_v7_0_free_microcode() 2697 if (!adev->gfx.mec_fw) in gfx_v7_0_cp_compute_load_microcode() 2700 mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v7_0_cp_compute_load_microcode() 2710 (adev->gfx.mec_fw->data + in gfx_v7_0_cp_compute_load_microcode() 3830 (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v7_0_init_cp_pg_table() [all …]
|
D | gfx_v8_0.c | 951 release_firmware(adev->gfx.mec_fw); in gfx_v8_0_free_microcode() 952 adev->gfx.mec_fw = NULL; in gfx_v8_0_free_microcode() 1129 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1132 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1136 err = request_firmware(&adev->gfx.mec_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode() 1140 err = amdgpu_ucode_validate(adev->gfx.mec_fw); in gfx_v8_0_init_microcode() 1143 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v8_0_init_microcode() 1207 info->fw = adev->gfx.mec_fw; in gfx_v8_0_init_microcode() 1213 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v8_0_init_microcode() 1220 info->fw = adev->gfx.mec_fw; in gfx_v8_0_init_microcode() [all …]
|
D | amdgpu_amdkfd_gfx_v7.c | 841 adev->gfx.mec_fw->data; in get_fw_version()
|
D | amdgpu_amdkfd_gfx_v8.c | 801 adev->gfx.mec_fw->data; in get_fw_version()
|
D | amdgpu_amdkfd_gfx_v9.c | 983 hdr = (const union amdgpu_firmware_header *)adev->gfx.mec_fw->data; in get_fw_version()
|
D | amdgpu.h | 911 const struct firmware *mec_fw; /* MEC firmware */ member
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | cik.c | 2134 err = request_firmware(&rdev->mec_fw, fw_name, rdev->dev); in cik_init_microcode() 2137 err = request_firmware(&rdev->mec_fw, fw_name, rdev->dev); in cik_init_microcode() 2140 if (rdev->mec_fw->size != mec_req_size) { in cik_init_microcode() 2142 rdev->mec_fw->size, fw_name); in cik_init_microcode() 2146 err = radeon_ucode_validate(rdev->mec_fw); in cik_init_microcode() 2299 release_firmware(rdev->mec_fw); in cik_init_microcode() 2300 rdev->mec_fw = NULL; in cik_init_microcode() 4260 if (!rdev->mec_fw) in cik_cp_compute_load_microcode() 4267 (const struct gfx_firmware_header_v1_0 *)rdev->mec_fw->data; in cik_cp_compute_load_microcode() 4275 (rdev->mec_fw->data + le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes)); in cik_cp_compute_load_microcode() [all …]
|
D | radeon.h | 2404 const struct firmware *mec_fw; /* CIK MEC firmware */ member
|