Searched refs:mec2_hdr (Results 1 – 2 of 2) sorted by relevance
2675 const struct gfx_firmware_header_v1_0 *mec2_hdr; in gfx_v7_0_cp_compute_load_microcode() local2680 mec2_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec2_fw->data; in gfx_v7_0_cp_compute_load_microcode()2681 amdgpu_ucode_print_gfx_hdr(&mec2_hdr->header); in gfx_v7_0_cp_compute_load_microcode()2682 adev->gfx.mec2_fw_version = le32_to_cpu(mec2_hdr->header.ucode_version); in gfx_v7_0_cp_compute_load_microcode()2684 mec2_hdr->ucode_feature_version); in gfx_v7_0_cp_compute_load_microcode()2689 le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_cp_compute_load_microcode()2690 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
4274 const struct gfx_firmware_header_v1_0 *mec2_hdr = in cik_cp_compute_load_microcode() local4279 le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes)); in cik_cp_compute_load_microcode()4280 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()4284 WREG32(CP_MEC_ME2_UCODE_ADDR, le32_to_cpu(mec2_hdr->header.ucode_version)); in cik_cp_compute_load_microcode()