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 20:41:09 +0000 (15:41 -0500)
commit570744b98ca865d95bdf2da064a7a57f2655f889
tree8d38b39cc283bee71da38a7f38946f5edecd0ac1
parent588715bdcfbc2592f50b433a3ebaac72014d5fb4
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