drm/amd/amdgpu: move get memory type function from early init to sw init
authorJim Qu <Jim.Qu@amd.com>
Fri, 30 Jun 2017 05:27:54 +0000 (13:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2017 18:48:46 +0000 (14:48 -0400)
commitb8691c7627edd8663d7c5d0e786bc538e2779ee9
treead813df830ef37d0b4599dcff363f39ca246e340
parent73cc90798ff765341a1d9c2cfe18153ab231c9bb
drm/amd/amdgpu: move get memory type function from early init to sw init

On PX system, it will get memory type before gpu post , and get unkown type.

Signed-off-by: Jim Qu <Jim.Qu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c