drm/amdgpu: initialize external rev_id for aldebaran
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 12 Nov 2020 02:34:58 +0000 (10:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:54:28 +0000 (22:54 -0400)
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>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 767a3d5..f8fbf6a 100644 (file)
@@ -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 */