drm/amd/display: Early return when turn off a plane.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 22 Sep 2017 17:41:13 +0000 (13:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:43:07 +0000 (16:43 -0400)
commit671a6246e0d3652c024f99d5641c7cf427b0b5a5
treee1490fa7be8d8c0ae3a391cdc01d95f69663b1c7
parent69b516c91cbf459e5fd4b8b6e97cfdfa7ea25126
drm/amd/display: Early return when turn off a plane.

In case of two monitor connected and turn off one of the monitors,
OTG0 is locked after graphic plane off due to redundant programming
front end regs.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c