]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb53736f9753a746defd4ddd450f2938cdcbb80a
tree36e1bb522a0359b346d9f015b17a00a82faae949
parentd5b2e1fde762c6fad63d650b836068f570e496bc
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