[PATCH 01/28] [NOT FOR REVIEW] drm: color pipeline base work

kernel test robot lkp at intel.com
Sat Feb 17 16:56:07 UTC 2024


Hi Uma,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on drm/drm-next next-20240216]
[cannot apply to drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.8-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Uma-Shankar/drm-color-pipeline-base-work/20240213-144544
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20240213064835.139464-2-uma.shankar%40intel.com
patch subject: [PATCH 01/28] [NOT FOR REVIEW] drm: color pipeline base work
config: x86_64-randconfig-161-20240213 (https://download.01.org/0day-ci/archive/20240218/202402180051.37wkwgMx-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402180051.37wkwgMx-lkp@intel.com/

smatch warnings:
drivers/gpu/drm/drm_atomic.c:825 drm_atomic_plane_print_state() warn: inconsistent indenting

vim +825 drivers/gpu/drm/drm_atomic.c

   799	
   800	static void drm_atomic_plane_print_state(struct drm_printer *p,
   801			const struct drm_plane_state *state)
   802	{
   803		struct drm_plane *plane = state->plane;
   804		struct drm_rect src  = drm_plane_state_src(state);
   805		struct drm_rect dest = drm_plane_state_dest(state);
   806	
   807		drm_printf(p, "plane[%u]: %s\n", plane->base.id, plane->name);
   808		drm_printf(p, "\tcrtc=%s\n", state->crtc ? state->crtc->name : "(null)");
   809		drm_printf(p, "\tfb=%u\n", state->fb ? state->fb->base.id : 0);
   810		if (state->fb)
   811			drm_framebuffer_print_info(p, 2, state->fb);
   812		drm_printf(p, "\tcrtc-pos=" DRM_RECT_FMT "\n", DRM_RECT_ARG(&dest));
   813		drm_printf(p, "\tsrc-pos=" DRM_RECT_FP_FMT "\n", DRM_RECT_FP_ARG(&src));
   814		drm_printf(p, "\trotation=%x\n", state->rotation);
   815		drm_printf(p, "\tnormalized-zpos=%x\n", state->normalized_zpos);
   816		drm_printf(p, "\tcolor-encoding=%s\n",
   817			   drm_get_color_encoding_name(state->color_encoding));
   818		drm_printf(p, "\tcolor-range=%s\n",
   819			   drm_get_color_range_name(state->color_range));
   820		drm_printf(p, "\tcolor_mgmt_changed=%d\n", state->color_mgmt_changed);
   821	#if 0
   822	       drm_printf(p, "\tcolor-pipeline=%s\n",
   823	                  drm_get_color_pipeline_name(state->color_pipeline));
   824	#else
 > 825	       drm_printf(p, "\tcolor-pipeline=%d\n",
   826	                  state->color_pipeline ? state->color_pipeline->base.id : 0);
   827	#endif
   828	
   829	
   830		if (plane->funcs->atomic_print_state)
   831			plane->funcs->atomic_print_state(p, state);
   832	}
   833	

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


More information about the Intel-gfx mailing list