mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 12:32:31 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
63423cf109
commit
ca86bbdd9b
@@ -940,7 +940,7 @@ bool dcn30_does_plane_fit_in_mall(struct dc *dc, struct dc_plane_state *plane, s
|
||||
void dcn30_hardware_release(struct dc *dc)
|
||||
{
|
||||
bool subvp_in_use = false;
|
||||
uint8_t i;
|
||||
uint32_t i;
|
||||
|
||||
dc_dmub_srv_p_state_delegate(dc, false, NULL);
|
||||
dc_dmub_setup_subvp_dmub_command(dc, dc->current_state, false);
|
||||
|
||||
Reference in New Issue
Block a user