summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-06-27 18:05:30 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:18:06 -0500
commitd57c3d5634a305ab1575e573ef0fb0af73ac2957 (patch)
tree49124dfb51112c7732e87342b0556155eee90e87 /drivers
parent582870de568d0a275f747c4ec84c870c3b950902 (diff)
drm/amdgpu: init arct external rev id
Properly set the external silicon revision id. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Le Ma <Le.Ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index a076001b326d..cd518f402b3f 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1017,6 +1017,7 @@ static int soc15_common_early_init(void *handle)
adev->asic_funcs = &vega20_asic_funcs;
adev->cg_flags = 0;
adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0x32;
break;
default:
/* FIXME: not supported yet */