Home
last modified time | relevance | path

Searched refs:ucode_version (Results 1 - 25 of 67) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vcn.c154 adev->vcn.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vcn_sw_init()
162 fw_check = (le32_to_cpu(hdr->ucode_version) >> 20) & 0xf; in amdgpu_vcn_sw_init()
166 fw_rev = le32_to_cpu(hdr->ucode_version) & 0xfff; in amdgpu_vcn_sw_init()
167 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 12) & 0xff; in amdgpu_vcn_sw_init()
169 dec_ver = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xf; in amdgpu_vcn_sw_init()
170 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf; in amdgpu_vcn_sw_init()
176 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_vcn_sw_init()
177 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_vcn_sw_init()
178 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_vcn_sw_init()
H A Damdgpu_vce.c100 unsigned ucode_version, version_major, version_minor, binary_id; in amdgpu_vce_sw_init() local
177 ucode_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vce_sw_init()
178 version_major = (ucode_version >> 20) & 0xfff; in amdgpu_vce_sw_init()
179 version_minor = (ucode_version >> 8) & 0xfff; in amdgpu_vce_sw_init()
180 binary_id = ucode_version & 0xff; in amdgpu_vce_sw_init()
H A Damdgpu_uvd.c236 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_uvd_sw_init()
241 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_uvd_sw_init()
242 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_uvd_sw_init()
267 dec_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_uvd_sw_init()
268 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 24) & 0x3f; in amdgpu_uvd_sw_init()
269 enc_major = (le32_to_cpu(hdr->ucode_version) >> 30) & 0x3; in amdgpu_uvd_sw_init()
275 adev->uvd.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_uvd_sw_init()
H A Damdgpu_cgs.c233 info->version = (uint16_t)le32_to_cpu(header->header.ucode_version); in amdgpu_cgs_get_firmware_info()
464 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_cgs_get_firmware_info()
H A Dpsp_v10_0.c95 adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version); in psp_v10_0_init_microcode()
H A Dpsp_v11_0.c143 adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version); in psp_v11_0_init_microcode()
173 adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version); in psp_v11_0_init_microcode()
H A Damdgpu_ucode.h35 uint32_t ucode_version; member
H A Dpsp_v12_0.c95 adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version); in psp_v12_0_init_microcode()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vcn.c139 adev->vcn.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vcn_sw_init()
147 fw_check = (le32_to_cpu(hdr->ucode_version) >> 20) & 0xf; in amdgpu_vcn_sw_init()
151 fw_rev = le32_to_cpu(hdr->ucode_version) & 0xfff; in amdgpu_vcn_sw_init()
152 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 12) & 0xff; in amdgpu_vcn_sw_init()
154 dec_ver = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xf; in amdgpu_vcn_sw_init()
155 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf; in amdgpu_vcn_sw_init()
161 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_vcn_sw_init()
162 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_vcn_sw_init()
163 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_vcn_sw_init()
H A Damdgpu_vce.c102 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 Damdgpu_gfx.c1073 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1083 le32_to_cpu(cp_hdr_v2_0->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1100 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1110 le32_to_cpu(cp_hdr_v2_0->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1127 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1137 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1154 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1171 le32_to_cpu(cp_hdr_v2_0->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
H A Damdgpu_uvd.c275 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 Damdgpu_sdma.c169 sdma_inst->fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_sdma_init_inst_ctx()
174 sdma_inst->fw_version = le32_to_cpu(hdr_v2->header.ucode_version); in amdgpu_sdma_init_inst_ctx()
H A Damdgpu_cgs.c233 info->version = (uint16_t)le32_to_cpu(header->header.ucode_version); in amdgpu_cgs_get_firmware_info()
433 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_cgs_get_firmware_info()
H A Damdgpu_psp_ta.c41 return hdr->ucode_version; in get_bin_version()
H A Damdgpu_ucode.h35 uint32_t ucode_version; member
H A Damdgpu_psp.c3003 adev->psp.asd_context.bin_desc.fw_version = le32_to_cpu(asd_hdr->header.ucode_version); in psp_init_asd_microcode()
3027 adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version); in psp_init_toc_microcode()
3132 adev->psp.sos.fw_version = le32_to_cpu(sos_hdr->header.ucode_version); in psp_init_sos_base_fw()
3367 adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version); in parse_ta_v1_microcode()
3462 adev->psp.cap_fw_version = le32_to_cpu(cap_hdr_v1_0->header.ucode_version); in psp_init_cap_microcode()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
H A Dradeon_ucode.h163 uint32_t ucode_version; member
H A Dradeon_uvd.c155 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in radeon_uvd_init()
156 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in radeon_uvd_init()
157 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in radeon_uvd_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
H A Dradeon_ucode.h163 uint32_t ucode_version; member
H A Dradeon_uvd.c155 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_smc.c219 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_si_load_smc_ucode()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_smc.c219 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_si_load_smc_ucode()

Completed in 28 milliseconds

123