Searched refs:mec2_hdr (Results 1 – 2 of 2) sorted by relevance
2710 const struct gfx_firmware_header_v1_0 *mec2_hdr; in gfx_v7_0_cp_compute_load_microcode() local2715 mec2_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec2_fw->data; in gfx_v7_0_cp_compute_load_microcode()2716 amdgpu_ucode_print_gfx_hdr(&mec2_hdr->header); in gfx_v7_0_cp_compute_load_microcode()2717 adev->gfx.mec2_fw_version = le32_to_cpu(mec2_hdr->header.ucode_version); in gfx_v7_0_cp_compute_load_microcode()2719 mec2_hdr->ucode_feature_version); in gfx_v7_0_cp_compute_load_microcode()2724 le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_cp_compute_load_microcode()2725 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()