From: kernel test robot <lkp@intel.com>
To: Anastasia Belova <abelova@astralinux.ru>,
Neil Armstrong <neil.armstrong@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Anastasia Belova <abelova@astralinux.ru>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
dri-devel@lists.freedesktop.org,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org,
stable@vger.kernel.org
Subject: Re: [PATCH v3] drm/meson: switch to a managed drm device
Date: Tue, 1 Oct 2024 04:36:24 +0800 [thread overview]
Message-ID: <202410010450.fOkIu1ki-lkp@intel.com> (raw)
In-Reply-To: <20240930082640.129543-1-abelova@astralinux.ru>
Hi Anastasia,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.12-rc1 next-20240930]
[cannot apply to drm-misc/drm-misc-next]
[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/Anastasia-Belova/drm-meson-switch-to-a-managed-drm-device/20240930-162755
base: linus/master
patch link: https://lore.kernel.org/r/20240930082640.129543-1-abelova%40astralinux.ru
patch subject: [PATCH v3] drm/meson: switch to a managed drm device
config: arm-randconfig-001-20240930 (https://download.01.org/0day-ci/archive/20241001/202410010450.fOkIu1ki-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410010450.fOkIu1ki-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/202410010450.fOkIu1ki-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/meson/meson_osd_afbcd.c:12:
>> drivers/gpu/drm/meson/meson_drv.h:56:20: error: field has incomplete type 'struct drm_device'
struct drm_device drm;
^
include/drm/drm_print.h:37:8: note: forward declaration of 'struct drm_device'
struct drm_device;
^
1 error generated.
--
In file included from drivers/gpu/drm/meson/meson_venc.c:14:
>> drivers/gpu/drm/meson/meson_drv.h:56:20: error: field has incomplete type 'struct drm_device'
struct drm_device drm;
^
include/drm/drm_lease.h:12:8: note: forward declaration of 'struct drm_device'
struct drm_device;
^
1 error generated.
--
In file included from drivers/gpu/drm/meson/meson_vclk.c:12:
>> drivers/gpu/drm/meson/meson_drv.h:56:20: error: field has incomplete type 'struct drm_device'
struct drm_device drm;
^
include/drm/drm_print.h:37:8: note: forward declaration of 'struct drm_device'
struct drm_device;
^
In file included from drivers/gpu/drm/meson/meson_vclk.c:13:
In file included from drivers/gpu/drm/meson/meson_vclk.h:12:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:36:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:1120:
In file included from include/linux/huge_mm.h:8:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
return (set->sig[3] | set->sig[2] |
^ ~
arch/arm/include/asm/signal.h:17:2: note: array 'sig' declared here
unsigned long sig[_NSIG_WORDS];
^
In file included from drivers/gpu/drm/meson/meson_vclk.c:13:
In file included from drivers/gpu/drm/meson/meson_vclk.h:12:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:36:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:1120:
In file included from include/linux/huge_mm.h:8:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
return (set->sig[3] | set->sig[2] |
^ ~
arch/arm/include/asm/signal.h:17:2: note: array 'sig' declared here
unsigned long sig[_NSIG_WORDS];
^
In file included from drivers/gpu/drm/meson/meson_vclk.c:13:
In file included from drivers/gpu/drm/meson/meson_vclk.h:12:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:36:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:1120:
In file included from include/linux/huge_mm.h:8:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
return (set1->sig[3] == set2->sig[3]) &&
^ ~
arch/arm/include/asm/signal.h:17:2: note: array 'sig' declared here
unsigned long sig[_NSIG_WORDS];
^
In file included from drivers/gpu/drm/meson/meson_vclk.c:13:
In file included from drivers/gpu/drm/meson/meson_vclk.h:12:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:36:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:1120:
In file included from include/linux/huge_mm.h:8:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
return (set1->sig[3] == set2->sig[3]) &&
^ ~
arch/arm/include/asm/signal.h:17:2: note: array 'sig' declared here
unsigned long sig[_NSIG_WORDS];
^
In file included from drivers/gpu/drm/meson/meson_vclk.c:13:
In file included from drivers/gpu/drm/meson/meson_vclk.h:12:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:36:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:1120:
In file included from include/linux/huge_mm.h:8:
--
In file included from drivers/gpu/drm/meson/meson_vpp.c:11:
>> drivers/gpu/drm/meson/meson_drv.h:56:20: error: field has incomplete type 'struct drm_device'
struct drm_device drm;
^
drivers/gpu/drm/meson/meson_drv.h:15:8: note: forward declaration of 'struct drm_device'
struct drm_device;
^
1 error generated.
--
>> drivers/gpu/drm/meson/meson_encoder_dsi.c:135:32: error: passing 'struct drm_device' to parameter of incompatible type 'struct drm_device *'; take the address with &
ret = drm_simple_encoder_init(priv->drm, &meson_encoder_dsi->encoder,
^~~~~~~~~
&
include/drm/drm_simple_kms_helper.h:261:48: note: passing argument to parameter 'dev' here
int drm_simple_encoder_init(struct drm_device *dev,
^
1 error generated.
--
In file included from drivers/gpu/drm/meson/meson_viu.c:14:
>> drivers/gpu/drm/meson/meson_drv.h:56:20: error: field has incomplete type 'struct drm_device'
struct drm_device drm;
^
include/drm/drm_fourcc.h:56:8: note: forward declaration of 'struct drm_device'
struct drm_device;
^
1 error generated.
--
>> drivers/gpu/drm/meson/meson_encoder_hdmi.c:405:32: error: passing 'struct drm_device' to parameter of incompatible type 'struct drm_device *'; take the address with &
ret = drm_simple_encoder_init(priv->drm, &meson_encoder_hdmi->encoder,
^~~~~~~~~
&
include/drm/drm_simple_kms_helper.h:261:48: note: passing argument to parameter 'dev' here
int drm_simple_encoder_init(struct drm_device *dev,
^
drivers/gpu/drm/meson/meson_encoder_hdmi.c:423:60: error: passing 'struct drm_device' to parameter of incompatible type 'struct drm_device *'; take the address with &
meson_encoder_hdmi->connector = drm_bridge_connector_init(priv->drm,
^~~~~~~~~
&
include/drm/drm_bridge_connector.h:13:68: note: passing argument to parameter 'drm' here
struct drm_connector *drm_bridge_connector_init(struct drm_device *drm,
^
2 errors generated.
vim +56 drivers/gpu/drm/meson/meson_drv.h
42
43 struct meson_drm {
44 struct device *dev;
45 enum vpu_compatible compat;
46 void __iomem *io_base;
47 struct regmap *hhi;
48 int vsync_irq;
49
50 struct meson_canvas *canvas;
51 u8 canvas_id_osd1;
52 u8 canvas_id_vd1_0;
53 u8 canvas_id_vd1_1;
54 u8 canvas_id_vd1_2;
55
> 56 struct drm_device drm;
57 struct drm_crtc *crtc;
58 struct drm_plane *primary_plane;
59 struct drm_plane *overlay_plane;
60 void *encoders[MESON_ENC_LAST];
61
62 const struct meson_drm_soc_limits *limits;
63
64 /* Components Data */
65 struct {
66 bool osd1_enabled;
67 bool osd1_interlace;
68 bool osd1_commit;
69 bool osd1_afbcd;
70 uint32_t osd1_ctrl_stat;
71 uint32_t osd1_ctrl_stat2;
72 uint32_t osd1_blk0_cfg[5];
73 uint32_t osd1_blk1_cfg4;
74 uint32_t osd1_blk2_cfg4;
75 uint32_t osd1_addr;
76 uint32_t osd1_stride;
77 uint32_t osd1_height;
78 uint32_t osd1_width;
79 uint32_t osd_sc_ctrl0;
80 uint32_t osd_sc_i_wh_m1;
81 uint32_t osd_sc_o_h_start_end;
82 uint32_t osd_sc_o_v_start_end;
83 uint32_t osd_sc_v_ini_phase;
84 uint32_t osd_sc_v_phase_step;
85 uint32_t osd_sc_h_ini_phase;
86 uint32_t osd_sc_h_phase_step;
87 uint32_t osd_sc_h_ctrl0;
88 uint32_t osd_sc_v_ctrl0;
89 uint32_t osd_blend_din0_scope_h;
90 uint32_t osd_blend_din0_scope_v;
91 uint32_t osb_blend0_size;
92 uint32_t osb_blend1_size;
93
94 bool vd1_enabled;
95 bool vd1_commit;
96 bool vd1_afbc;
97 unsigned int vd1_planes;
98 uint32_t vd1_if0_gen_reg;
99 uint32_t vd1_if0_luma_x0;
100 uint32_t vd1_if0_luma_y0;
101 uint32_t vd1_if0_chroma_x0;
102 uint32_t vd1_if0_chroma_y0;
103 uint32_t vd1_if0_repeat_loop;
104 uint32_t vd1_if0_luma0_rpt_pat;
105 uint32_t vd1_if0_chroma0_rpt_pat;
106 uint32_t vd1_range_map_y;
107 uint32_t vd1_range_map_cb;
108 uint32_t vd1_range_map_cr;
109 uint32_t viu_vd1_fmt_w;
110 uint32_t vd1_if0_canvas0;
111 uint32_t vd1_if0_gen_reg2;
112 uint32_t viu_vd1_fmt_ctrl;
113 uint32_t vd1_addr0;
114 uint32_t vd1_addr1;
115 uint32_t vd1_addr2;
116 uint32_t vd1_stride0;
117 uint32_t vd1_stride1;
118 uint32_t vd1_stride2;
119 uint32_t vd1_height0;
120 uint32_t vd1_height1;
121 uint32_t vd1_height2;
122 uint32_t vd1_afbc_mode;
123 uint32_t vd1_afbc_en;
124 uint32_t vd1_afbc_head_addr;
125 uint32_t vd1_afbc_body_addr;
126 uint32_t vd1_afbc_conv_ctrl;
127 uint32_t vd1_afbc_dec_def_color;
128 uint32_t vd1_afbc_vd_cfmt_ctrl;
129 uint32_t vd1_afbc_vd_cfmt_w;
130 uint32_t vd1_afbc_vd_cfmt_h;
131 uint32_t vd1_afbc_mif_hor_scope;
132 uint32_t vd1_afbc_mif_ver_scope;
133 uint32_t vd1_afbc_size_out;
134 uint32_t vd1_afbc_pixel_hor_scope;
135 uint32_t vd1_afbc_pixel_ver_scope;
136 uint32_t vd1_afbc_size_in;
137 uint32_t vpp_pic_in_height;
138 uint32_t vpp_postblend_vd1_h_start_end;
139 uint32_t vpp_postblend_vd1_v_start_end;
140 uint32_t vpp_hsc_region12_startp;
141 uint32_t vpp_hsc_region34_startp;
142 uint32_t vpp_hsc_region4_endp;
143 uint32_t vpp_hsc_start_phase_step;
144 uint32_t vpp_hsc_region1_phase_slope;
145 uint32_t vpp_hsc_region3_phase_slope;
146 uint32_t vpp_line_in_length;
147 uint32_t vpp_preblend_h_size;
148 uint32_t vpp_vsc_region12_startp;
149 uint32_t vpp_vsc_region34_startp;
150 uint32_t vpp_vsc_region4_endp;
151 uint32_t vpp_vsc_start_phase_step;
152 uint32_t vpp_vsc_ini_phase;
153 uint32_t vpp_vsc_phase_ctrl;
154 uint32_t vpp_hsc_phase_ctrl;
155 uint32_t vpp_blend_vd2_h_start_end;
156 uint32_t vpp_blend_vd2_v_start_end;
157 } viu;
158
159 struct {
160 unsigned int current_mode;
161 bool hdmi_repeat;
162 bool venc_repeat;
163 bool hdmi_use_enci;
164 } venc;
165
166 struct {
167 dma_addr_t addr_dma;
168 uint32_t *addr;
169 unsigned int offset;
170 } rdma;
171
172 struct {
173 struct meson_afbcd_ops *ops;
174 u64 modifier;
175 u32 format;
176 } afbcd;
177 };
178
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2024-09-30 20:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 11:04 [PATCH] " Anastasia Belova
2024-08-28 12:57 ` Philipp Stanner
2024-08-29 12:14 ` Neil Armstrong
2024-08-30 8:23 ` Anastasia Belova
2024-08-30 8:29 ` neil.armstrong
2024-08-30 8:47 ` Anastasia Belova
2024-09-10 15:16 ` [PATCH v2] " Anastasia Belova
2024-09-19 8:52 ` Anastasia Belova
2024-09-25 20:10 ` Martin Blumenstingl
2024-09-30 8:26 ` [PATCH v3] " Anastasia Belova
2024-09-30 20:36 ` kernel test robot [this message]
2024-10-01 4:28 ` kernel test robot
2024-10-09 13:15 ` [PATCH v4] " Anastasia Belova
2024-10-17 9:00 ` Anastasia Belova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410010450.fOkIu1ki-lkp@intel.com \
--to=lkp@intel.com \
--cc=abelova@astralinux.ru \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lvc-project@linuxtesting.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome