summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authortiancyin <tianci.yin@amd.com>2019-08-05 12:32:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-06 21:52:58 +0300
commit35ef88fa115d0810d28d960b951e7260ed46ad59 (patch)
treed59cf3889ede5de8a9055965a2e0d7183aca91c5 /drivers/gpu
parent2a3c7ff6e37c0d0bf8d8e9031922d41c2409d7e5 (diff)
downloadlinux-35ef88fa115d0810d28d960b951e7260ed46ad59.tar.xz
drm/amdgpu/soc15: fix external_rev_id for navi14
fix the hard code external_rev_id. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: tiancyin <tianci.yin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-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 f25097969da7..2f09d870f644 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -613,7 +613,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;