]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 18:16:12 +0000 (14:16 -0400)
commit2f618b74a6dd3c6f64cada5eccebf9d5e7a8b485
treecca56e8cee1d38117589b31ce8a4450aef56b90f
parent29053b7afa037e47452adba3a00628cfdde1b655
drm/amd/display: Fix comparison error in dcn21 DML

[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>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c