diff options
author | tiancyin <tianci.yin@amd.com> | 2019-08-05 05:32:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-06 14:52:58 -0400 |
commit | 35ef88fa115d0810d28d960b951e7260ed46ad59 (patch) | |
tree | d59cf3889ede5de8a9055965a2e0d7183aca91c5 /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | 2a3c7ff6e37c0d0bf8d8e9031922d41c2409d7e5 (diff) |
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/drm/amd/amdgpu/nv.c')
-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) | |||
613 | AMD_CG_SUPPORT_BIF_LS; | 613 | AMD_CG_SUPPORT_BIF_LS; |
614 | adev->pg_flags = AMD_PG_SUPPORT_VCN | | 614 | adev->pg_flags = AMD_PG_SUPPORT_VCN | |
615 | AMD_PG_SUPPORT_VCN_DPG; | 615 | AMD_PG_SUPPORT_VCN_DPG; |
616 | adev->external_rev_id = adev->rev_id + 0x1; /* ??? */ | 616 | adev->external_rev_id = adev->rev_id + 20; |
617 | break; | 617 | break; |
618 | case CHIP_NAVI12: | 618 | case CHIP_NAVI12: |
619 | adev->cg_flags = 0; | 619 | adev->cg_flags = 0; |