drm/amdgpu: init arct external rev id
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 27 Jun 2019 10:05:30 +0000 (18:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:06 +0000 (14:18 -0500)
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>
drivers/gpu/drm/amd/amdgpu/soc15.c

index a076001b326d9c9f8db01ddf8e1b321583c329b0..cd518f402b3f3bac35500d0cd63f00fda9a72871 100644 (file)
@@ -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 */