From: kernel test robot <lkp@intel.com>
To: Lohita Mudimela <lohita.mudimela@amd.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>,
Martin Leung <martin.leung@amd.com>,
James Lin <pinglei.lin@amd.com>
Subject: drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c:817 mod_power_update_backlight_on_mode_change() warn: inconsistent indenting
Date: Fri, 04 Sep 2026 08:33:59 +0800 [thread overview]
Message-ID: <202609040849.tyd1k6g6-lkp@intel.com> (raw)
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
reply other threads:[~2026-09-04 0:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609040849.tyd1k6g6-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.deucher@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lohita.mudimela@amd.com \
--cc=martin.leung@amd.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pinglei.lin@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®