* drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:862 dmub_srv_fb_cmd_execute() warn: inconsistent indenting
@ 2025-12-16 23:52 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-16 23:52 UTC (permalink / raw)
To: Dillon Varone
Cc: oe-kbuild-all, linux-kernel, Alex Deucher, Nicholas Kazlauskas,
Fangzhi Zuo
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 40fbbd64bba6c6e7a72885d2f59b6a3be9991eeb
commit: a3b7dc4a1ec4e184f48c2f8205d2ec88d31310fe drm/amd/display: Add Support for reg inbox0 for host->DMUB CMDs
date: 8 months ago
config: alpha-randconfig-r071-20251212 (https://download.01.org/0day-ci/archive/20251217/202512170744.uf0ZH7hV-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 8.5.0
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/202512170744.uf0ZH7hV-lkp@intel.com/
New smatch warnings:
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:862 dmub_srv_fb_cmd_execute() warn: inconsistent indenting
Old smatch warnings:
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:961 dmub_srv_wait_for_pending() warn: inconsistent indenting
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:994 dmub_srv_wait_for_idle() warn: inconsistent indenting
vim +862 drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c
842
843 enum dmub_status dmub_srv_fb_cmd_execute(struct dmub_srv *dmub)
844 {
845 struct dmub_rb flush_rb;
846
847 if (!dmub->hw_init)
848 return DMUB_STATUS_INVALID;
849
850 if (dmub->power_state != DMUB_POWER_STATE_D0)
851 return DMUB_STATUS_POWER_STATE_D3;
852
853 /**
854 * Read back all the queued commands to ensure that they've
855 * been flushed to framebuffer memory. Otherwise DMCUB might
856 * read back stale, fully invalid or partially invalid data.
857 */
858 flush_rb = dmub->inbox1.rb;
859 flush_rb.rptr = dmub->inbox1_last_wptr;
860 dmub_rb_flush_pending(&flush_rb);
861
> 862 dmub->hw_funcs.set_inbox1_wptr(dmub, dmub->inbox1.rb.wrpt);
863
864 dmub->inbox1_last_wptr = dmub->inbox1.rb.wrpt;
865
866 return DMUB_STATUS_OK;
867 }
868
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:862 dmub_srv_fb_cmd_execute() warn: inconsistent indenting
@ 2026-03-24 9:07 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-03-24 9:07 UTC (permalink / raw)
To: Dillon Varone
Cc: oe-kbuild-all, linux-kernel, Alex Deucher, Nicholas Kazlauskas,
Fangzhi Zuo
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c369299895a591d96745d6492d4888259b004a9e
commit: a3b7dc4a1ec4e184f48c2f8205d2ec88d31310fe drm/amd/display: Add Support for reg inbox0 for host->DMUB CMDs
date: 12 months ago
config: x86_64-randconfig-r073-20260323 (https://download.01.org/0day-ci/archive/20260324/202603241709.34oBV0zd-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
smatch: v0.5.0-9004-gb810ac53
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/202603241709.34oBV0zd-lkp@intel.com/
New smatch warnings:
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:862 dmub_srv_fb_cmd_execute() warn: inconsistent indenting
Old smatch warnings:
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:961 dmub_srv_wait_for_pending() warn: inconsistent indenting
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:994 dmub_srv_wait_for_idle() warn: inconsistent indenting
vim +862 drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c
842
843 enum dmub_status dmub_srv_fb_cmd_execute(struct dmub_srv *dmub)
844 {
845 struct dmub_rb flush_rb;
846
847 if (!dmub->hw_init)
848 return DMUB_STATUS_INVALID;
849
850 if (dmub->power_state != DMUB_POWER_STATE_D0)
851 return DMUB_STATUS_POWER_STATE_D3;
852
853 /**
854 * Read back all the queued commands to ensure that they've
855 * been flushed to framebuffer memory. Otherwise DMCUB might
856 * read back stale, fully invalid or partially invalid data.
857 */
858 flush_rb = dmub->inbox1.rb;
859 flush_rb.rptr = dmub->inbox1_last_wptr;
860 dmub_rb_flush_pending(&flush_rb);
861
> 862 dmub->hw_funcs.set_inbox1_wptr(dmub, dmub->inbox1.rb.wrpt);
863
864 dmub->inbox1_last_wptr = dmub->inbox1.rb.wrpt;
865
866 return DMUB_STATUS_OK;
867 }
868
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-24 9:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 9:07 drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:862 dmub_srv_fb_cmd_execute() warn: inconsistent indenting kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-12-16 23:52 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