drm/amdgpu/virt: change the place of virt_init_setting
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 21 Apr 2017 06:06:09 +0000 (14:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:04 +0000 (17:40 -0400)
commitab276632ec62064fb94dbbd441a94062e8bcd37a
tree89ec70b688635991ba0f1a573ed76560493c0727
parent213cacefcd5c7815802281445ba503d26e794b77
drm/amdgpu/virt: change the place of virt_init_setting

Change place of virt_init_setting function so that can cover the
cg and pg flags configuration.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vi.c