]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Move iteration out of dm_update_planes
authorLeo Li <sunpeng.li@amd.com>
Sun, 11 Nov 2018 16:11:52 +0000 (11:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:52 +0000 (15:04 -0500)
commit9e869063b0021f29919c560745361999c71c086a
tree9b2b5dd7a717d86d391e2ac2bfc89999fd24ea62
parent36ca09a02aa6b02cb33b04962ec373a164e636a6
drm/amd/display: Move iteration out of dm_update_planes

[Why]
To reduce indentation of dm_update_planes, and to make it operate on
single plane 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