提交 833fa075 编写于 作者: A Alex Deucher

drm/amdgpu/soc15: init nbio registers for vega10

Call nbio init registers on hw_init to set up any
nbio registers that need initialization at hw init time.
Acked-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 12097c6d
...@@ -727,6 +727,9 @@ static int soc15_common_hw_init(void *handle) ...@@ -727,6 +727,9 @@ static int soc15_common_hw_init(void *handle)
soc15_pcie_gen3_enable(adev); soc15_pcie_gen3_enable(adev);
/* enable aspm */ /* enable aspm */
soc15_program_aspm(adev); soc15_program_aspm(adev);
/* setup nbio registers */
if (!(adev->flags & AMD_IS_APU))
nbio_v6_1_init_registers(adev);
/* enable the doorbell aperture */ /* enable the doorbell aperture */
soc15_enable_doorbell_aperture(adev, true); soc15_enable_doorbell_aperture(adev, true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册