drm/amdgpu: split ip hw_init into 2 phases
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 10 Oct 2018 11:28:30 +0000 (19:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:49:09 +0000 (14:49 -0500)
commit0a4f25205ec32d2918325d651cdaba9746764a24
tree19e4ffc7fa7146af1c9b4916bb9098632d3e86b9
parent735f654e5dd1c55d28aa04d49a9b7fcd3d5cccd0
drm/amdgpu: split ip hw_init into 2 phases

We need to do some IPs earlier to deal with ordering issues
similar to how resume is split into two phases.

Will do fw loading via smu/psp between the two phases.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c