All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 488/13664] drivers/gpu/drm/i915/display/intel_color.c:1400 intel_color_prepare_commit() warn: ignoring unreachable code.
@ 2023-02-21  9:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-21  9:28 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
CC: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
CC: Uma Shankar <uma.shankar@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   465461cf48465b8a0a54025db5ae2b3df7a04577
commit: 2487ae0bcb53a7d4180c551c02b1f318ea590c84 [488/13664] drm/i915: Disable DSB usage specifically for LUTs
:::::: branch date: 3 hours ago
:::::: commit date: 2 months ago
config: x86_64-randconfig-m001-20230213 (https://download.01.org/0day-ci/archive/20230221/202302211707.9malP4N2-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Link: https://lore.kernel.org/r/202302211707.9malP4N2-lkp@intel.com/

New smatch warnings:
drivers/gpu/drm/i915/display/intel_color.c:1400 intel_color_prepare_commit() warn: ignoring unreachable code.

Old smatch warnings:
drivers/gpu/drm/i915/display/intel_color.c:2579 i9xx_read_lut_10() error: uninitialized symbol 'ldw'.
drivers/gpu/drm/i915/display/intel_color.c:2579 i9xx_read_lut_10() error: uninitialized symbol 'udw'.

vim +1400 drivers/gpu/drm/i915/display/intel_color.c

4d8ed54c044703 drivers/gpu/drm/i915/intel_color.c         Ville Syrjälä 2019-02-05  1392  
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1393  void intel_color_prepare_commit(struct intel_crtc_state *crtc_state)
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1394  {
b358c3b98813b1 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1395  	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
b358c3b98813b1 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1396  
2487ae0bcb53a7 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1397  	/* FIXME DSB has issues loading LUTs, disable it for now */
2487ae0bcb53a7 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1398  	return;
2487ae0bcb53a7 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1399  
b358c3b98813b1 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23 @1400  	crtc_state->dsb = intel_dsb_prepare(crtc);
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1401  }
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1402  

:::::: The code at line 1400 was first introduced by commit
:::::: b358c3b98813b1557588a11c894b22915251a2ce drm/i915: Make DSB lower level

:::::: TO: Ville Syrjälä <ville.syrjala@linux.intel.com>
:::::: CC: Ville Syrjälä <ville.syrjala@linux.intel.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-21  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21  9:28 [linux-next:master 488/13664] drivers/gpu/drm/i915/display/intel_color.c:1400 intel_color_prepare_commit() warn: ignoring unreachable code 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.