mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
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 <iswara.nagulendran@amd.com> Reviewed-by: Aric Cyr <aric.cyr@amd.com> Signed-off-by: Harry VanZyllDeJong <hvanzyll@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
04226ae1bc
commit
9dddfac98e
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user