From: Aurabindo Pillai Date: Tue, 2 Jun 2026 19:16:16 +0000 (-0400) Subject: drm/amd/display: widen dc_hdmi_frl_flags.force_frl_rate to unsigned int X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e13b7eb67f9118130571958fbf94944c71c32d1;p=thirdparty%2Flinux.git drm/amd/display: widen dc_hdmi_frl_flags.force_frl_rate to unsigned int dc_hdmi_frl_flags.force_frl_rate mirrors dc_debug_options.force_frl_rate, which was just widened to unsigned int. Match the type here too so the assignment in link_hdmi_frl.c does not narrow from unsigned to signed. All call sites in link_hdmi_frl.c only compare the value against 0, 0xF, or an hdmi_frl_link_rate enum whose values are non-negative, so the change is behaviour-preserving and does not introduce sign-compare warnings. Signed-off-by: Aurabindo Pillai Reviewed-by: Alex Hung Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc_hdmi_types.h b/drivers/gpu/drm/amd/display/dc/dc_hdmi_types.h index 0da03eb794aac..eb6e7f4043fd7 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_hdmi_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_hdmi_types.h @@ -266,7 +266,7 @@ struct dc_hdmi_frl_link_settings { }; struct dc_hdmi_frl_flags { - int force_frl_rate; + unsigned int force_frl_rate; bool ignore_ffe; int select_ffe; int limit_ffe;