From 441a35f5e5cb9298c93fc7d10a10cde22964f327 Mon Sep 17 00:00:00 2001 From: tiancyin Date: Mon, 5 Aug 2019 17:32:45 +0800 Subject: [PATCH 3312/4256] drm/amdgpu/soc15: fix external_rev_id for navi14 fix the hard code external_rev_id. Change-Id: I7b46f7b49b6d0586d1fa282d4961815fb124379b Reviewed-by: Hawking Zhang Signed-off-by: tiancyin --- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 9614c65fa292..1e2edb561ab9 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -612,7 +612,7 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_BIF_LS; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG; - adev->external_rev_id = adev->rev_id + 0x1; /* ??? */ + adev->external_rev_id = adev->rev_id + 20; break; case CHIP_NAVI12: adev->cg_flags = 0; -- 2.17.1