drm/amdgpu: extract common code in vi_common_early_init
drm/amdgpu: extract common code in vi_common_early_init

Change-Id: I9ed25353c559e27bc1b1d5b50f977b0ff03de87f
Signed-off-by: Flora Cui <4cda5a5e7adac55d8f1688c1e28a038af5515e8d@amd.com>
Reviewed-by: Jammy Zhou <302958b3037f7fa601b11152090f51ed851f29fd@amd.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs