drm/amd/display: [MST] Fix startup sequence v3.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Thu, 29 Dec 2016 18:21:31 +0000 (13:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:08:30 +0000 (17:08 -0400)
commit7abcf6b5043a94e850d8f38b625fd022492e8303
tree02f888e6dc683dc3f0117e2700def6298062ec3b
parentbf5cda339d3609408624afcb6f533f4eabc7d142
drm/amd/display: [MST] Fix startup sequence v3.

Problem: MST topology discovery was started before fbdev
init causing kernel panic on boot.
Fix: Defer MST to late init hook, after fbdev strucutres
already initilized.

v2: Add explicit late_init hook function in DAL.
v3:
Change signature of detect_mst_link_for_all_connectors
from void* to drm_dev*

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c