drm/amd/display: Don't compare same stream for synchronized vblank
authorAlvin Lee <alvin.lee2@amd.com>
Fri, 15 May 2020 22:18:20 +0000 (18:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:51 +0000 (14:00 -0400)
commitd294353e7ea815ad000f755419fd0cec01f01245
treea1a05d1a0f7bb5710c916382cf64adc9d4c8c206
parent8598a7221e827bda805fbadc7a654447328c1257
drm/amd/display: Don't compare same stream for synchronized vblank

[Why]
When determining synchronzied vblank we don't need to compare the stream
with itself

[How]
If comparing same stream, continue to next iteration

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c