diff options
author | tiancyin <tianci.yin@amd.com> | 2019-08-05 11:32:45 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-06 20:52:58 +0200 |
commit | 35ef88fa115d0810d28d960b951e7260ed46ad59 (patch) | |
tree | d59cf3889ede5de8a9055965a2e0d7183aca91c5 /drivers/gpu | |
parent | drm/amdgpu: update ras sysfs feature info (diff) | |
download | linux-35ef88fa115d0810d28d960b951e7260ed46ad59.tar.xz linux-35ef88fa115d0810d28d960b951e7260ed46ad59.zip |
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.c | 2 |
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; |