drm/amd/display: Fix comparison error in dcn21 DML
authorVictor Lu <victorchengchi.lu@amd.com>
Thu, 24 Jun 2021 15:05:42 +0000 (11:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Aug 2021 07:05:23 +0000 (09:05 +0200)
commitf9d875c8c92f1bdaeeb3eeccbf8402974f20cd31
tree0b2c1184ba018376c375e6617ccb73b36c6fa88d
parent91865b458eddf61c447e55226d856bcf25f0c607
drm/amd/display: Fix comparison error in dcn21 DML

[ Upstream commit ec3102dc6b36c692104c4a0546d4119de59a3bc1 ]

[why]
A comparison error made it possible to not iterate through all the
specified prefetch modes.

[how]
Correct "<" to "<="

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Yongqiang Sun <Yongqiang.Sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c