tree:
https://github.com/frank-w/BPI-R2-4.14 5.15-bpi-r2-pro-drm
head: 671b538f2b304cf24dbbbe25615bef2e86fef84d
commit: 671b538f2b304cf24dbbbe25615bef2e86fef84d [81/81] drm: forward port of VOP2 driver
config: x86_64-randconfig-a006-20211014 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/frank-w/BPI-R2-4.14/commit/671b538f2b304cf24dbbbe25615...
git remote add frank-w-bpi-r2-4.14
https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.15-bpi-r2-pro-drm
git checkout 671b538f2b304cf24dbbbe25615bef2e86fef84d
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/rockchip/rockchip_vop_reg.c:22:
> drivers/gpu/drm/rockchip/rockchip_vop_reg.h:1129: warning:
"RK3126_WIN1_MST" redefined
1129 | #define RK3126_WIN1_MST 0x0004c
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.h:905: note: this is the location of the
previous definition
905 | #define RK3126_WIN1_MST 0x4c
|
> drivers/gpu/drm/rockchip/rockchip_vop_reg.h:1130: warning:
"RK3126_WIN1_DSP_INFO" redefined
1130 | #define RK3126_WIN1_DSP_INFO
0x00050
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.h:906: note: this is the location of the
previous definition
906 | #define RK3126_WIN1_DSP_INFO 0x50
|
> drivers/gpu/drm/rockchip/rockchip_vop_reg.h:1131: warning:
"RK3126_WIN1_DSP_ST" redefined
1131 | #define RK3126_WIN1_DSP_ST
0x00054
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.h:907: note: this is the location of the
previous definition
907 | #define RK3126_WIN1_DSP_ST 0x54
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:139:3: error: 'const struct
vop_win_phy' has no member named 'format_modifiers'
139 | .format_modifiers = format_modifiers_win_full,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:139:22: error:
'format_modifiers_win_full' undeclared here (not in a function); did you mean
'formats_win_full'?
139 | .format_modifiers = format_modifiers_win_full,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| formats_win_full
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:159:3: error: 'const struct
vop_win_phy' has no member named 'format_modifiers'
159 | .format_modifiers = format_modifiers_win_lite,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:159:22: error:
'format_modifiers_win_lite' undeclared here (not in a function); did you mean
'formats_win_lite'?
159 | .format_modifiers = format_modifiers_win_lite,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| formats_win_lite
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:391:3: error: 'const struct
vop_win_phy' has no member named 'format_modifiers'
391 | .format_modifiers = format_modifiers_win_lite,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:533:11: error: 'px30_intr'
undeclared here (not in a function)
533 | .intr = &px30_intr,
| ^~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:534:13: error:
'VOP_FEATURE_INTERNAL_RGB' undeclared here (not in a function)
534 | .feature = VOP_FEATURE_INTERNAL_RGB,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:535:3: error: 'const struct
vop_data' has no member named 'common'
535 | .common = &px30_common,
| ^~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:535:13: error: 'px30_common'
undeclared here (not in a function); did you mean 'ns_common'?
535 | .common = &px30_common,
| ^~~~~~~~~~~
| ns_common
> drivers/gpu/drm/rockchip/rockchip_vop_reg.c:535:12: warning:
excess elements in struct initializer
535 | .common = &px30_common,
| ^
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:535:12: note: (near initialization for
'px30_vop_big')
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:536:3: error: 'const struct
vop_data' has no member named 'modeset'
536 | .modeset = &px30_modeset,
| ^~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:536:14: error: 'px30_modeset'
undeclared here (not in a function)
536 | .modeset = &px30_modeset,
| ^~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:536:13: warning: excess elements in struct
initializer
536 | .modeset = &px30_modeset,
| ^
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:536:13: note: (near initialization for
'px30_vop_big')
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:537:3: error: 'const struct
vop_data' has no member named 'output'; did you mean 'max_output'?
537 | .output = &px30_output,
| ^~~~~~
| max_output
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:537:13: error: 'px30_output'
undeclared here (not in a function)
537 | .output = &px30_output,
| ^~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:537:12: warning: excess elements in struct
initializer
537 | .output = &px30_output,
| ^
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:537:12: note: (near initialization for
'px30_vop_big')
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:538:9: error:
'px30_vop_big_win_data' undeclared here (not in a function)
538 | .win = px30_vop_big_win_data,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/bits.h:22,
from include/linux/bitops.h:6,
from include/linux/kernel.h:12,
from drivers/gpu/drm/rockchip/rockchip_vop_reg.c:15:
include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not
an integer constant
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/compiler.h:258:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
258 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
| ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:44:59: note: in expansion of macro '__must_be_array'
44 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) +
__must_be_array(arr))
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:539:14: note: in expansion of macro
'ARRAY_SIZE'
539 | .win_size = ARRAY_SIZE(px30_vop_big_win_data),
| ^~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:567:3: error: 'const struct
vop_data' has no member named 'common'
567 | .common = &px30_common,
| ^~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:567:12: warning: excess elements in struct
initializer
567 | .common = &px30_common,
| ^
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:567:12: note: (near initialization for
'px30_vop_lit')
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:568:3: error: 'const struct
vop_data' has no member named 'modeset'
568 | .modeset = &px30_modeset,
| ^~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:568:13: warning: excess elements in struct
initializer
568 | .modeset = &px30_modeset,
| ^
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:568:13: note: (near initialization for
'px30_vop_lit')
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:569:3: error: 'const struct
vop_data' has no member named 'output'; did you mean 'max_output'?
569 | .output = &px30_output,
| ^~~~~~
| max_output
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:569:12: warning: excess elements in struct
initializer
569 | .output = &px30_output,
| ^
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:569:12: note: (near initialization for
'px30_vop_lit')
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:570:9: error:
'px30_vop_lit_win_data' undeclared here (not in a function)
570 | .win = px30_vop_lit_win_data,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/bits.h:22,
from include/linux/bitops.h:6,
from include/linux/kernel.h:12,
from drivers/gpu/drm/rockchip/rockchip_vop_reg.c:15:
include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not
an integer constant
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/compiler.h:258:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
258 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
| ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:44:59: note: in expansion of macro '__must_be_array'
44 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) +
__must_be_array(arr))
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:571:14: note: in expansion of macro
'ARRAY_SIZE'
571 | .win_size = ARRAY_SIZE(px30_vop_lit_win_data),
| ^~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:585:3: error: 'const struct
vop_win_phy' has no member named 'format_modifiers'
585 | .format_modifiers = format_modifiers_win_full,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:603:3: error: 'const struct
vop_win_phy' has no member named 'format_modifiers'
603 | .format_modifiers = format_modifiers_win_full,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:621:3: error: 'const struct
vop_win_phy' has no member named 'format_modifiers'
621 | .format_modifiers = format_modifiers_win_lite,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:659:21: error: variable
'rk3066_common' has initializer but incomplete type
659 | static const struct vop_common rk3066_common = {
| ^~~~~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:660:3: error: 'const struct
vop_common' has no member named 'standby'
660 | .standby = VOP_REG(RK3066_SYS_CTRL0, 0x1, 1),
| ^~~~~~~
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:26:3: error: extra brace group at end of
initializer
--
In file included from drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:14:
> drivers/gpu/drm/rockchip/rockchip_vop_reg.h:1129: warning:
"RK3126_WIN1_MST" redefined
1129 | #define RK3126_WIN1_MST 0x0004c
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.h:905: note: this is the location of the
previous definition
905 | #define RK3126_WIN1_MST 0x4c
|
> drivers/gpu/drm/rockchip/rockchip_vop_reg.h:1130: warning:
"RK3126_WIN1_DSP_INFO" redefined
1130 | #define RK3126_WIN1_DSP_INFO
0x00050
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.h:906: note: this is the location of the
previous definition
906 | #define RK3126_WIN1_DSP_INFO 0x50
|
> drivers/gpu/drm/rockchip/rockchip_vop_reg.h:1131: warning:
"RK3126_WIN1_DSP_ST" redefined
1131 | #define RK3126_WIN1_DSP_ST
0x00054
|
drivers/gpu/drm/rockchip/rockchip_vop_reg.h:907: note: this is the location of the
previous definition
907 | #define RK3126_WIN1_DSP_ST 0x54
|
vim +/RK3126_WIN1_MST +1129 drivers/gpu/drm/rockchip/rockchip_vop_reg.h
1127
1128 /* rk3126 register definition */
1129 #define RK3126_WIN1_MST 0x0004c
1130 #define RK3126_WIN1_DSP_INFO 0x00050
1131 #define RK3126_WIN1_DSP_ST 0x00054
1132 /* rk3126 register definition end
*/
1133
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org