drm/amd/display: Remove dangling planes on dc commit state
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Tue, 7 Nov 2017 18:21:02 +0000 (13:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:40 +0000 (12:47 -0500)
commit4faf6eddfbebba1cdc4653484b7a8c8f28bd3bff
tree07e087000c3b428dd574c726d2c435aabb2cbd35
parentb8fce2c9d773e178380cfeb659ebe453a8216f4b
drm/amd/display: Remove dangling planes on dc commit state

When disabling pipe splitting, we need to make sure we disable both
planes used.

This should be done for Linux as well.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@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