[benjamin.gaignard:generic-zpos-v6 4/4] drivers/gpu/drm/rcar-du/rcar_du_vsp.c:51:3: error: unknown field 'zpos' specified in initializer

kbuild test robot fengguang.wu at intel.com
Thu Jul 21 20:02:39 UTC 2016


tree:   https://git.linaro.org/people/benjamin.gaignard/kernel generic-zpos-v6
head:   c0c009bc132df7738b2294b25072f21f77e93162
commit: c0c009bc132df7738b2294b25072f21f77e93162 [4/4] drm: rcar: use generic code for managing zpos plane property
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c0c009bc132df7738b2294b25072f21f77e93162
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/rcar-du/rcar_du_vsp.c: In function 'rcar_du_vsp_enable':
>> drivers/gpu/drm/rcar-du/rcar_du_vsp.c:51:3: error: unknown field 'zpos' specified in initializer
      .zpos = 0,
      ^
>> drivers/gpu/drm/rcar-du/rcar_du_vsp.c:51:11: warning: excess elements in struct initializer
      .zpos = 0,
              ^
   drivers/gpu/drm/rcar-du/rcar_du_vsp.c:51:11: note: (near initialization for 'state')

vim +/zpos +51 drivers/gpu/drm/rcar-du/rcar_du_vsp.c

6d62ef3a Laurent Pinchart 2015-09-07  35  	struct rcar_du_plane_state state = {
6d62ef3a Laurent Pinchart 2015-09-07  36  		.state = {
6d62ef3a Laurent Pinchart 2015-09-07  37  			.crtc = &crtc->crtc,
6d62ef3a Laurent Pinchart 2015-09-07  38  			.crtc_x = 0,
6d62ef3a Laurent Pinchart 2015-09-07  39  			.crtc_y = 0,
6d62ef3a Laurent Pinchart 2015-09-07  40  			.crtc_w = mode->hdisplay,
6d62ef3a Laurent Pinchart 2015-09-07  41  			.crtc_h = mode->vdisplay,
6d62ef3a Laurent Pinchart 2015-09-07  42  			.src_x = 0,
6d62ef3a Laurent Pinchart 2015-09-07  43  			.src_y = 0,
6d62ef3a Laurent Pinchart 2015-09-07  44  			.src_w = mode->hdisplay << 16,
6d62ef3a Laurent Pinchart 2015-09-07  45  			.src_h = mode->vdisplay << 16,
6d62ef3a Laurent Pinchart 2015-09-07  46  		},
6d62ef3a Laurent Pinchart 2015-09-07  47  		.format = rcar_du_format_info(DRM_FORMAT_ARGB8888),
6d62ef3a Laurent Pinchart 2015-09-07  48  		.source = RCAR_DU_PLANE_VSPD1,
6d62ef3a Laurent Pinchart 2015-09-07  49  		.alpha = 255,
6d62ef3a Laurent Pinchart 2015-09-07  50  		.colorkey = 0,
6d62ef3a Laurent Pinchart 2015-09-07 @51  		.zpos = 0,
6d62ef3a Laurent Pinchart 2015-09-07  52  	};
6d62ef3a Laurent Pinchart 2015-09-07  53  
2427b303 Laurent Pinchart 2015-09-07  54  	if (rcdu->info->gen >= 3)
2427b303 Laurent Pinchart 2015-09-07  55  		state.hwindex = (crtc->index % 2) ? 2 : 0;
2427b303 Laurent Pinchart 2015-09-07  56  	else
2427b303 Laurent Pinchart 2015-09-07  57  		state.hwindex = crtc->index % 2;
2427b303 Laurent Pinchart 2015-09-07  58  
6d62ef3a Laurent Pinchart 2015-09-07  59  	__rcar_du_plane_setup(crtc->group, &state);

:::::: The code at line 51 was first introduced by commit
:::::: 6d62ef3ac30be756244b458fa5bd8befb35a48d4 drm: rcar-du: Expose the VSP1 compositor through KMS planes

:::::: TO: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
:::::: CC: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 57673 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160722/5a1e03df/attachment-0001.obj>


More information about the dri-devel mailing list