/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_sdma.c | 170 sdma_inst->fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_sdma_init_inst_ctx() 175 sdma_inst->fw_version = le32_to_cpu(hdr_v2->header.ucode_version); in amdgpu_sdma_init_inst_ctx() 180 sdma_inst->fw_version = le32_to_cpu(hdr_v3->header.ucode_version); in amdgpu_sdma_init_inst_ctx()
|
H A D | amdgpu_vcn.c | 155 adev->vcn.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vcn_sw_init() 163 fw_check = (le32_to_cpu(hdr->ucode_version) >> 20) & 0xf; in amdgpu_vcn_sw_init() 167 fw_rev = le32_to_cpu(hdr->ucode_version) & 0xfff; in amdgpu_vcn_sw_init() 168 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 12) & 0xff; in amdgpu_vcn_sw_init() 170 dec_ver = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xf; in amdgpu_vcn_sw_init() 171 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf; in amdgpu_vcn_sw_init() 177 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_vcn_sw_init() 178 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_vcn_sw_init() 179 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_vcn_sw_init()
|
H A D | amdgpu_vce.c | 102 unsigned int ucode_version, version_major, version_minor, binary_id; in amdgpu_vce_sw_init() local 171 ucode_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vce_sw_init() 172 version_major = (ucode_version >> 20) & 0xfff; in amdgpu_vce_sw_init() 173 version_minor = (ucode_version >> 8) & 0xfff; in amdgpu_vce_sw_init() 174 binary_id = ucode_version & 0xff; in amdgpu_vce_sw_init()
|
H A D | amdgpu_uvd.c | 275 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_uvd_sw_init() 280 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_uvd_sw_init() 281 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_uvd_sw_init() 306 dec_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_uvd_sw_init() 307 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 24) & 0x3f; in amdgpu_uvd_sw_init() 308 enc_major = (le32_to_cpu(hdr->ucode_version) >> 30) & 0x3; in amdgpu_uvd_sw_init() 314 adev->uvd.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_uvd_sw_init()
|
H A D | amdgpu_gfx.c | 1175 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1185 le32_to_cpu(cp_hdr_v2_0->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1202 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1212 le32_to_cpu(cp_hdr_v2_0->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1229 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1239 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1256 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode() 1273 le32_to_cpu(cp_hdr_v2_0->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
|
H A D | amdgpu_cgs.c | 236 info->version = (uint16_t)le32_to_cpu(header->header.ucode_version); in amdgpu_cgs_get_firmware_info() 436 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_cgs_get_firmware_info()
|
H A D | amdgpu_psp_ta.c | 41 return hdr->ucode_version; in get_bin_version()
|
H A D | amdgpu_ucode.h | 35 uint32_t ucode_version; member
|
H A D | imu_v12_0.c | 55 adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version); in imu_v12_0_init_microcode()
|
H A D | imu_v11_0.c | 72 adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version); in imu_v11_0_init_microcode()
|
H A D | gfx_v7_0.c | 2400 adev->gfx.pfp_fw_version = le32_to_cpu(pfp_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode() 2401 adev->gfx.ce_fw_version = le32_to_cpu(ce_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode() 2402 adev->gfx.me_fw_version = le32_to_cpu(me_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode() 2658 adev->gfx.mec_fw_version = le32_to_cpu(mec_hdr->header.ucode_version); 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() 3419 adev->gfx.rlc_fw_version = le32_to_cpu(hdr->header.ucode_version); in gfx_v7_0_rlc_resume()
|
H A D | amdgpu_psp.c | 3254 adev->psp.asd_context.bin_desc.fw_version = le32_to_cpu(asd_hdr->header.ucode_version); in psp_init_asd_microcode() 3276 adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version); in psp_init_toc_microcode() 3387 adev->psp.sos.fw_version = le32_to_cpu(sos_hdr->header.ucode_version); in psp_init_sos_base_fw() 3637 adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version); in parse_ta_v1_microcode() 3728 adev->psp.cap_fw_version = le32_to_cpu(cap_hdr_v1_0->header.ucode_version); in psp_init_cap_microcode()
|
H A D | gmc_v8_0.c | 295 adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v8_0_tonga_mc_load_microcode() 364 adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v8_0_polaris_mc_load_microcode()
|
H A D | amdgpu_rlc.c | 291 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in amdgpu_gfx_rlc_init_microcode_v2_0()
|
H A D | gmc_v6_0.c | 154 adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v6_0_mc_load_microcode()
|
H A D | gfx_v6_0.c | 344 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode() 352 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode() 360 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode() 368 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
|
H A D | amdgpu_vpe.c | 244 adev->vpe.fw_version = le32_to_cpu(vpe_hdr->header.ucode_version); in amdgpu_vpe_init_microcode()
|
H A D | sdma_v2_4.c | 155 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in sdma_v2_4_init_microcode()
|
H A D | gfx_v8_0.c | 997 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode() 1014 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode() 1032 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode() 1051 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v8_0_init_microcode() 1108 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode() 1128 le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
|
H A D | cik_sdma.c | 543 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in cik_sdma_load_microcode()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ucode.h | 163 uint32_t ucode_version; member
|
H A D | radeon_ucode.c | 39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
|
H A D | radeon_uvd.c | 155 family_id = (__force u32)(hdr->ucode_version) & 0xff; in radeon_uvd_init() 156 version_major = (le32_to_cpu((__force __le32)(hdr->ucode_version)) in radeon_uvd_init() 158 version_minor = (le32_to_cpu((__force __le32)(hdr->ucode_version)) in radeon_uvd_init()
|
H A D | cik.c | 3914 WREG32(CP_PFP_UCODE_ADDR, le32_to_cpu(pfp_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode() 3923 WREG32(CP_CE_UCODE_ADDR, le32_to_cpu(ce_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode() 3932 WREG32(CP_ME_RAM_WADDR, le32_to_cpu(me_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode() 3933 WREG32(CP_ME_RAM_RADDR, le32_to_cpu(me_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode() 4270 WREG32(CP_MEC_ME1_UCODE_ADDR, le32_to_cpu(mec_hdr->header.ucode_version)); 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() 5951 WREG32(RLC_GPM_UCODE_ADDR, le32_to_cpu(hdr->header.ucode_version)); in cik_rlc_resume()
|
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_smc.c | 219 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_si_load_smc_ucode()
|