summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiancyin <tianci.yin@amd.com>2019-08-05 17:32:45 +0800
committertiancyin <tianci.yin@amd.com>2019-08-08 18:52:38 +0800
commited950253c79b84e0ddb7d29d942dd8875a34fc1e (patch)
tree434f8684d9450b748d443773b687b3d2928288bf
parenta163e8d166826cf4d3b3d603b22a69856bedcc6c (diff)
drm/amdgpu/soc15: fix external_rev_id for navi14
fix the hard code external_rev_id. Change-Id: I7b46f7b49b6d0586d1fa282d4961815fb124379b Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: tiancyin <tianci.yin@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 3926974ae55f..da8a4a49653e 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -575,7 +575,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;
default:
/* FIXME: not supported yet */