From: Harry VanZyllDeJong Date: Wed, 17 Sep 2025 20:46:13 +0000 (-0400) Subject: drm/amd/display: fix duplicate aux command with AMD aux backlight X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9dddfac98e3aa2e0c5164af948edd1fc4b550713;p=thirdparty%2Flinux.git drm/amd/display: fix duplicate aux command with AMD aux backlight when using AMD aux backlight control, we avoid sending backlight update commands to DMUB firmware because it is controlled by aux commands in driver. Reviewed-by: Iswara Nagulendran Reviewed-by: Aric Cyr Signed-off-by: Harry VanZyllDeJong Signed-off-by: Aurabindo Pillai Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c b/drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c index b822f2dffff0e..d1ecdb92b072b 100644 --- a/drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c @@ -710,7 +710,8 @@ bool dcn31_set_backlight_level(struct pipe_ctx *pipe_ctx, panel_cntl->inst, panel_cntl->pwrseq_inst); - dmub_abm_set_backlight(dc, backlight_level_params, panel_cntl->inst); + if (backlight_level_params->control_type != BACKLIGHT_CONTROL_AMD_AUX) + dmub_abm_set_backlight(dc, backlight_level_params, panel_cntl->inst); return true; }