summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2020-11-12 05:34:58 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-24 05:54:28 +0300
commit4f668d3d318c62afdb2ec3b2c2b0e602fd83b38c (patch)
treeae43793156c3045d34be5c937ed7b093e38becfe /drivers/gpu/drm/amd/amdgpu/soc15.c
parente747ca0a4e9ca0bf59dbe46eefb6d7192785bb59 (diff)
downloadlinux-4f668d3d318c62afdb2ec3b2c2b0e602fd83b38c.tar.xz
drm/amdgpu: initialize external rev_id for aldebaran
add exteranal rev_id for aldebaran Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-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 767a3d530237..f8fbf6aa1a44 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1506,6 +1506,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 + 0x3c;
break;
default:
/* FIXME: not supported yet */