drm/amdgpu: add function to decode ip version
authorLikun Gao <Likun.Gao@amd.com>
Fri, 10 Dec 2021 07:05:57 +0000 (15:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2022 21:46:28 +0000 (17:46 -0400)
commit1d5eee7dd6648865e041e09338cf85a154d2db80
treecfe1761607711211c4f8fea98bb796509f611dff
parent3202c7e7826bb29dc253e29b595df36182feb42f
drm/amdgpu: add function to decode ip version

Add function to decode IP version.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h