From: kernel test robot <lkp@intel.com>
To: Lohita Mudimela <lohita.mudimela@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
Alex Deucher <alexander.deucher@amd.com>,
Martin Leung <martin.leung@amd.com>,
James Lin <pinglei.lin@amd.com>
Subject: [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
Date: Sat, 23 May 2026 05:11:20 +0800 [thread overview]
Message-ID: <202605230557.R9mujfZP-lkp@intel.com> (raw)
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
reply other threads:[~2026-05-22 21:11 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=202605230557.R9mujfZP-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.deucher@amd.com \
--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 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.