summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorFeifei Xu <Feifei.Xu@amd.com>2017-12-14 19:02:47 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:36:52 -0500
commitf559fe2bc1c1c338e5e9f4fa04e2ab12e59d1818 (patch)
tree7a22e54d7aa6a3e6703fa8784a9b1065815c6a4c /drivers/gpu
parente4a387558ea869c8623e2e81e2844ef472c55410 (diff)
downloadop-kernel-dev-f559fe2bc1c1c338e5e9f4fa04e2ab12e59d1818.zip
op-kernel-dev-f559fe2bc1c1c338e5e9f4fa04e2ab12e59d1818.tar.gz
drm/amd/soc15: Add external_rev_id for vega12.
Add external_rev_id for vega12. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 0ad9272..e308c3c 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -672,7 +672,7 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_VCE_MGCG |
AMD_CG_SUPPORT_UVD_MGCG;
adev->pg_flags = 0;
- adev->external_rev_id = 0x1; /* ??? */
+ adev->external_rev_id = adev->rev_id + 0x14;
break;
case CHIP_RAVEN:
adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
OpenPOWER on IntegriCloud