drm/amd/display: Fix MST daisy chain SST not light up
authorJerry Zuo <Jerry.Zuo@amd.com>
Wed, 20 Sep 2017 19:04:52 +0000 (15:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:43:18 +0000 (16:43 -0400)
commit544276514760f293eadb68461f1b45b6ccec073e
tree0d1241d9b0813434e781ff474f904939036cb863
parent56e6ed4561f2962d1220c16bbd2709ced7a84be8
drm/amd/display: Fix MST daisy chain SST not light up

In SST daisy chain scenario, edid is getting read in mst hotplug
routine. It is getting conflict with drm send_enum_path_resources
kernel thread in terms of i2c bus which is getting locked up in
such case.

Have edid being read in get_mode hook, instead of in hotplug
routine.

Signed-off-by: Jerry Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c