All of lore.kernel.org
 help / color / mirror / Atom feed
* [xilinx-xlnx:lkp_test 196/504] drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'vid_fmt' description in 'xlnx_mix_layer_data'
@ 2025-01-10 21:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-10 21:23 UTC (permalink / raw)
  To: Saurabh Sengar; +Cc: oe-kbuild-all, git, Michal Simek

tree:   https://github.com/Xilinx/linux-xlnx lkp_test
head:   9ac6b4acf9144465ac1408d4d799635dec0223a0
commit: 770fded1d319c14802870279b6e8734a3bfddd8d [196/504] drm: xlnx: mixer: Initial video mixer driver
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20250111/202501110552.F65vrtu9-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250111/202501110552.F65vrtu9-lkp@intel.com/reproduce)

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/202501110552.F65vrtu9-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'vid_fmt' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'can_alpha' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'can_scale' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'is_streaming' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'max_width' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'max_height' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'min_width' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'min_height' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'buff_addr' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'x_pos' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'y_pos' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'width' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'height' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'stride' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'alpha' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'is_active' description in 'xlnx_mix_layer_data'
>> drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'scale_fact' description in 'xlnx_mix_layer_data'


vim +360 drivers/gpu/drm/xlnx/xlnx_mixer.c

   296	
   297	/**
   298	 * struct xlnx_mix_layer_data - Describes the hardware configuration of a given
   299	 * mixer layer
   300	 * @hw_config: struct specifying the IP hardware constraints for this layer
   301	 * @vid_fmt: DRM format for this layer
   302	 * @can_alpha: Indicates that layer alpha is enabled for this layer
   303	 * @can_scale: Indicates that layer scaling is enabled for this layer
   304	 * @is_streaming: Indicates layer is not using mixer DMA but streaming from
   305	 *  external DMA
   306	 * @max_width: Max possible pixel width
   307	 * @max_height: Max possible pixel height
   308	 * @min_width: Min possible pixel width
   309	 * @min_height: Min possible pixel height
   310	 * @layer_regs: struct containing current cached register values
   311	 * @buff_addr: Current physical address of image buffer
   312	 * @x_pos: Current CRTC x offset
   313	 * @y_pos: Current CRTC y offset
   314	 * @width: Current width in pixels
   315	 * @height: Current hight in pixels
   316	 * @stride: Current stride (when Mixer is performing DMA)
   317	 * @alpha: Current alpha setting
   318	 * @is_active: Logical flag indicating layer in use.  If false, calls to
   319	 *  enable layer will be ignored.
   320	 * @scale_fact: Current scaling factor applied to layer
   321	 * @id: The logical layer id identifies which layer this struct describes
   322	 *  (e.g. 0 = master, 1-15 = overlay).
   323	 *
   324	 * All mixer layers are reprsented by an instance of this struct:
   325	 * output streaming, overlay, logo.
   326	 * Current layer-specific register state is stored in the layer_regs struct.
   327	 * The hardware configuration is stored in struct hw_config.
   328	 *
   329	 * Note:
   330	 * Some properties of the logo layer are unique and not described in this
   331	 * struct.  Those properites are part of the xlnx_mix struct as global
   332	 * properties.
   333	 */
   334	struct xlnx_mix_layer_data {
   335		struct {
   336			u32     vid_fmt;
   337			bool    can_alpha;
   338			bool    can_scale;
   339			bool    is_streaming;
   340			u32     max_width;
   341			u32     max_height;
   342			u32     min_width;
   343			u32     min_height;
   344		} hw_config;
   345	
   346		struct {
   347			u64     buff_addr1;
   348			u64     buff_addr2;
   349			u32     x_pos;
   350			u32     y_pos;
   351			u32     width;
   352			u32     height;
   353			u32     stride;
   354			u32     alpha;
   355			bool	is_active;
   356			u32	scale_fact;
   357		} layer_regs;
   358	
   359		enum xlnx_mix_layer_id id;
 > 360	};
   361	

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

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

only message in thread, other threads:[~2025-01-10 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 21:23 [xilinx-xlnx:lkp_test 196/504] drivers/gpu/drm/xlnx/xlnx_mixer.c:360: warning: Excess struct member 'vid_fmt' description in 'xlnx_mix_layer_data' 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.