From: tiancyin Date: Mon, 5 Aug 2019 09:32:45 +0000 (+0800) Subject: drm/amdgpu/soc15: fix external_rev_id for navi14 X-Git-Tag: v5.4-rc1~106^2~17^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35ef88fa115d0810d28d960b951e7260ed46ad59;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/soc15: fix external_rev_id for navi14 fix the hard code external_rev_id. Reviewed-by: Hawking Zhang Signed-off-by: tiancyin Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index f25097969da7d..2f09d870f644f 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;