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: for-linus-2019-09-27~66^2~17^2~10 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=35ef88fa115d0810d28d960b951e7260ed46ad59;p=linux-block.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 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;