* drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c:817 mod_power_update_backlight_on_mode_change() warn: inconsistent indenting
@ 2026-09-04 0:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-04 0:33 UTC (permalink / raw)
To: Lohita Mudimela
Cc: oe-kbuild-all, linux-kernel, Alex Deucher, Martin Leung, James Lin
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a500db7819c50db59e55f1b4fa1c3baa5a2616f3
commit: 254a47ce0c8a52ff78a60f92a13b56db69f69096 drm/amd/display: Separate ABM functions into dedicated power_abm.c file
date: 4 months ago
config: i386-randconfig-141-20260903 (https://download.01.org/0day-ci/archive/20260904/202609040849.tyd1k6g6-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9187-g5189e3fb
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: 254a47ce0c8a ("drm/amd/display: Separate ABM functions into dedicated power_abm.c file")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609040849.tyd1k6g6-lkp@intel.com/
smatch warnings:
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c:817 mod_power_update_backlight_on_mode_change() warn: inconsistent indenting
vim +817 drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c
807
808 void mod_power_update_backlight_on_mode_change(
809 struct core_power *core_power,
810 struct dc_link *link,
811 unsigned int panel_inst,
812 uint8_t aux_inst,
813 bool is_hdr)
814 {
815 struct set_backlight_level_params backlight_level_params = { 0 };
816
> 817 if (link->dpcd_sink_ext_caps.bits.hdr_aux_backlight_control == 1 ||
818 link->dpcd_sink_ext_caps.bits.sdr_aux_backlight_control == 1)
819 dc_link_set_backlight_level_nits(link, core_power->bl_state[panel_inst].isHDR,
820 core_power->bl_state[panel_inst].backlight_millinit, 0);
821
822 backlight_level_params.frame_ramp = 0;
823
824 fill_backlight_level_params(core_power, &backlight_level_params, panel_inst, aux_inst,
825 core_power->bl_state[panel_inst].backlight_pwm, link->backlight_control_type,
826 core_power->bl_state[panel_inst].backlight_millinit, 0, is_hdr);
827
828 dc_link_set_backlight_level(link, &backlight_level_params);
829 }
830
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 0:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 0:33 drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c:817 mod_power_update_backlight_on_mode_change() warn: inconsistent indenting kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®