aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorLikun Gao <Likun.Gao@amd.com>2021-12-10 15:05:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-04-28 17:46:28 -0400
commit1d5eee7dd6648865e041e09338cf85a154d2db80 (patch)
treecfe1761607711211c4f8fea98bb796509f611dff /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amdgpu: increase HWIP MAX INSTANCE (diff)
downloadlinux-1d5eee7dd6648865e041e09338cf85a154d2db80.tar.xz
linux-1d5eee7dd6648865e041e09338cf85a154d2db80.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
index 40dffbac85a0..864984d0d3ef 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
@@ -463,4 +463,6 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type);
const char *amdgpu_ucode_name(enum AMDGPU_UCODE_ID ucode_id);
+void amdgpu_ucode_ip_version_decode(struct amdgpu_device *adev, int block_type, char *ucode_prefix, int len);
+
#endif