drm/amd/display: Workaround IGT multiplane restriction
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Fri, 16 Jun 2017 19:59:17 +0000 (15:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:13 +0000 (18:08 -0400)
commit92f3ac403d132400b7147bb4262fea4ad254aa3d
tree88190f4dcaf6c527e3866ce4ec1d4a099e9419f1
parentafa80d64d20ac13528c261e1233ac3982609fd2f
drm/amd/display: Workaround IGT multiplane restriction

IGT currently does not properly commit changes on planes with multiple
possible CRTC's. Set one valid CRTC for each plane for now, plus one
underlay plane on Carizzo and Stoney that is valid for all CRTCs.

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