OSDN Git Service

drm/amd/display: Move iteration out of dm_update_crtcs
authorLeo Li <sunpeng.li@amd.com>
Sun, 11 Nov 2018 16:35:13 +0000 (11:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:52 +0000 (15:04 -0500)
commit4b9674e509ea4365b68c5e309c402ef6544d567a
tree36e1bb522a0359b346d9f015b17a00a82faae949
parent9e869063b0021f29919c560745361999c71c086a
drm/amd/display: Move iteration out of dm_update_crtcs

[Why]
To reduce indent in dm_update_crtcs, and to make it operate on single
instances.

[How]
Move iteration of plane states into atomic_check.
No functional change is intended.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c