From: Hawking Zhang Date: Thu, 27 Jun 2019 10:05:30 +0000 (+0800) Subject: drm/amdgpu: init arct external rev id X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d57c3d5634a305ab1575e573ef0fb0af73ac2957;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: init arct external rev id Properly set the external silicon revision id. Signed-off-by: Hawking Zhang Reviewed-by: Le Ma Signed-off-by: Alex Deucher --- 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 */