drm/amd/display: fix warning on raven hotplug
authorRoman Li <Roman.Li@amd.com>
Wed, 19 Dec 2018 14:24:06 +0000 (09:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 21:01:32 +0000 (16:01 -0500)
commitf5c412ac596fbe1508514257fef3d48e263f40a7
treeebf5af37eb816ac275796b699e4688c30d442a27
parent20300db4aec5ba5edf6f0ad6f7111a51fbea7e10
drm/amd/display: fix warning on raven hotplug

[Why]
Hotplug on raven results in REG_WAIT_TIMEOUT warning
due to failing attempt to lock disabled otg for the hubp
interdependent pipes programming.

[How]
Don't setup pipe interdependencies for disabled otg.
Also removed the unnecessary duplicate logic checks.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c