]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Use true/false for boolean variables in DML2 core files
authorIvan Shamliev <ivan.shamliev.dev@abv.bg>
Thu, 24 Apr 2025 15:14:53 +0000 (18:14 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:40:02 +0000 (17:40 -0400)
commite2255687c81398a32210306024f08b1615b87885
treecba01a8309d2a7e3b338a3bf9b2cf993561e40d3
parent3e71fc7c4c1a350cc94b25c0be20de01a7cda8ff
drm/amd/display: Use true/false for boolean variables in DML2 core files

Replace 0 and 1 with false and true for boolean variables in
dml2_core_dcn4_calcs.c and dml2_core_utils.c to align with the Linux
kernel coding style guidelines, which recommend using C99 bool type
with true/false values.

Signed-off-by: Ivan Shamliev <ivan.shamliev.dev@abv.bg>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c