drm/amd/display: Remove redundant check in atomic_check
authorRoman Li <roman.li@amd.com>
Thu, 11 Aug 2022 14:51:19 +0000 (10:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:17 +0000 (13:35 -0400)
commit42900348bfb41cbfced62060c9cf4b735119394c
tree990aa5b176a3518db5bfdcc3bf1d7c0c81e3a785
parentc8b1d0fef1b652c65dc09a0fae6ef0504bb2f349
drm/amd/display: Remove redundant check in atomic_check

[Why]
We have 2 back-to-back checks for skipping connectors.
Logically one of them will do the job.

[How]
Remove redundant check.

Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c