drm/amd/display: do not compare integers of different widths
authorJosip Pavic <Josip.Pavic@amd.com>
Thu, 8 Sep 2022 16:01:41 +0000 (12:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:15:30 +0000 (15:15 -0400)
commitca86bbdd9b47464d78ae6af565a6e78c6e4e2fbd
tree9ee862b6c656a45d38e66c2b59005cd0abf6b2c6
parent63423cf109d8308faf5d5946b1f57f5b0d6ae8f6
drm/amd/display: do not compare integers of different widths

[Why & How]
Increase width of some variables to avoid comparing integers of
different widths

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-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/dcn30/dcn30_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c