drm/amd/display: Wrong index type for pipe iterator
authorSaaem Rizvi <syedsaaem.rizvi@amd.com>
Thu, 18 May 2023 16:12:20 +0000 (12:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:41:26 +0000 (12:41 -0400)
commit490ddccb84fe2f6165b2bdd2d00fd4ab593b95ec
treeebc3d5a86872447ae3fd50cb74e382620f4dcf39
parent0baae624630788862bbd654741929007971e9d5b
drm/amd/display: Wrong index type for pipe iterator

[Why and How]
Type mismatch in index and pipe count might cause an infinite loop. code
Change should resolve this issue.

Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Saaem Rizvi <syedsaaem.rizvi@amd.com>
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c