drm/amd/display: adjust bit comparison to be more type safe
authorEric Yang <Eric.Yang2@amd.com>
Fri, 10 Dec 2021 17:28:57 +0000 (12:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jan 2022 22:41:18 +0000 (17:41 -0500)
commitfd9048dd4425a9dc252153c8b72369f1969a35b3
treef045293fba1e60ccd320eddd495f6d5c99095a82
parent7aba117ac9e01dc58afe29490f50025add9d388b
drm/amd/display: adjust bit comparison to be more type safe

Might potentially have truncation problem with the implicit casting

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c