All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 4091/8157] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c:817 mod_power_update_backlight_on_mode_change() warn: inconsistent indenting
@ 2026-05-22 21:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-22 21:11 UTC (permalink / raw)
  To: Lohita Mudimela; +Cc: oe-kbuild-all, Alex Deucher, Martin Leung, James Lin

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c1ecb239fa3456529a32255359fc78b69eb9d847
commit: 254a47ce0c8a52ff78a60f92a13b56db69f69096 [4091/8157] drm/amd/display: Separate ABM functions into dedicated power_abm.c file
config: x86_64-randconfig-161-20260522 (https://download.01.org/0day-ci/archive/20260523/202605230557.R9mujfZP-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
smatch: v0.5.0-9185-gbcc58b9c

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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605230557.R9mujfZP-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-05-22 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 21:11 [linux-next:master 4091/8157] 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.