drm/amd/display: Complete TODO item: use new DRM iterator
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 18 Oct 2017 19:32:41 +0000 (15:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:33 +0000 (16:41 -0500)
commite1fc2dca1295c4ff2de67afe2d9fac07abb0369a
tree589b0ac00b018a5275dfdcb95ff9561a2bd9470e
parent8b8f27f972a842a9b8562040c768400fce57ae64
drm/amd/display: Complete TODO item: use new DRM iterator

Abandon new_crtcs array and use for_each_new iterator to acquire new
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