drm/amdgpu/soc15: fix external_rev_id for navi14
authortiancyin <tianci.yin@amd.com>
Mon, 5 Aug 2019 09:32:45 +0000 (17:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2019 18:52:58 +0000 (13:52 -0500)
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>
drivers/gpu/drm/amd/amdgpu/nv.c

index f25097969da7d06208f1dba3a556edb12dd15f2d..2f09d870f644fdf38aba92f72b63c3fd84946d05 100644 (file)
@@ -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;