2021-06-03 09:37:02

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warnings after merge of the drm tree

Hi all,

After merging the drm tree, today's linux-next build (htmldocs) produced
these warnings:

Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484.
Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'.
Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7.
Declaration is '.. c:struct:: drm_i915_memory_region_info'.
Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531.
Declaration is '.. c:struct:: drm_i915_query_memory_regions'.
Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.

Introduced by (one or more of) commits

0c1a77cbdafb ("drm/doc: add section for driver uAPI")
2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI")
727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-07-08 02:22:52

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

Hi all,

On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell <[email protected]> wrote:
>
> After merging the drm tree, today's linux-next build (htmldocs) produced
> these warnings:
>
> Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
> Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484.
> Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'.
> Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7.
> Declaration is '.. c:struct:: drm_i915_memory_region_info'.
> Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531.
> Declaration is '.. c:struct:: drm_i915_query_memory_regions'.
> Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
> Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.
>
> Introduced by (one or more of) commits
>
> 0c1a77cbdafb ("drm/doc: add section for driver uAPI")
> 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI")
> 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")

I am still getting these warning.
--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-08-10 13:29:16

by Daniel Vetter

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

On Tue, Aug 10, 2021 at 07:26:36PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> On Thu, 8 Jul 2021 12:20:48 +1000 Stephen Rothwell <[email protected]> wrote:
> >
> > On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell <[email protected]> wrote:
> > >
> > > After merging the drm tree, today's linux-next build (htmldocs) produced
> > > these warnings:
> > >
> > > Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> > > Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
> > > Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484.
> > > Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'.
> > > Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7.
> > > Declaration is '.. c:struct:: drm_i915_memory_region_info'.
> > > Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531.
> > > Declaration is '.. c:struct:: drm_i915_query_memory_regions'.
> > > Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> > > Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
> > > Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> > > Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.
> > >
> > > Introduced by (one or more of) commits
> > >
> > > 0c1a77cbdafb ("drm/doc: add section for driver uAPI")
> > > 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI")
> > > 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")
> >
> > I am still getting these warning.
>
> Still getting them ...

Matt Auld is on vacation, and the other issue is that the tree where this
is from isn't in linux-next. So will take a bit to get sorted in
linux-next.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

2021-08-10 15:50:36

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

Hi all,

On Thu, 8 Jul 2021 12:20:48 +1000 Stephen Rothwell <[email protected]> wrote:
>
> On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell <[email protected]> wrote:
> >
> > After merging the drm tree, today's linux-next build (htmldocs) produced
> > these warnings:
> >
> > Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> > Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
> > Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484.
> > Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'.
> > Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7.
> > Declaration is '.. c:struct:: drm_i915_memory_region_info'.
> > Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531.
> > Declaration is '.. c:struct:: drm_i915_query_memory_regions'.
> > Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> > Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
> > Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393.
> > Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.
> >
> > Introduced by (one or more of) commits
> >
> > 0c1a77cbdafb ("drm/doc: add section for driver uAPI")
> > 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI")
> > 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")
>
> I am still getting these warning.

Still getting them ...

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-08-10 16:31:50

by Daniel Vetter

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

On Tue, Aug 10, 2021 at 1:01 PM Stephen Rothwell <[email protected]> wrote:
> Hi Daniel,
>
> On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter <[email protected]> wrote:
> >
> > Uh that's not good, I missed that. I'll look into it.
>
> Thanks.

Doc build is taking absolutely forever here, but I think I have the
right patch for you. t-b/ack would be great if you can give it a spin,
I cc'ed you.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

2021-08-10 16:32:45

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

Hi Daniel,

On Tue, 10 Aug 2021 14:39:17 +0200 Daniel Vetter <[email protected]> wrote:
>
> On Tue, Aug 10, 2021 at 1:01 PM Stephen Rothwell <[email protected]> wrote:
> > Hi Daniel,
> >
> > On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter <[email protected]> wrote:
> > >
> > > Uh that's not good, I missed that. I'll look into it.
> >
> > Thanks.
>
> Doc build is taking absolutely forever here, but I think I have the
> right patch for you. t-b/ack would be great if you can give it a spin,
> I cc'ed you.

Tested-by Stephen Rothwell <[email protected]>

Thanks. And, yes, the doc build takes quite some time :-(

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-08-10 17:23:58

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

Hi Daniel,

On Tue, 10 Aug 2021 12:14:38 +0200 Daniel Vetter <[email protected]> wrote:
>
> Matt Auld is on vacation, and the other issue is that the tree where this
> is from isn't in linux-next. So will take a bit to get sorted in
> linux-next.

Those warnings are now coming from Linus' tree (some time before
v5.14-rc1). I first mentioned them on June 3.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-08-10 17:23:59

by Daniel Vetter

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

On Tue, Aug 10, 2021 at 08:38:59PM +1000, Stephen Rothwell wrote:
> Hi Daniel,
>
> On Tue, 10 Aug 2021 12:14:38 +0200 Daniel Vetter <[email protected]> wrote:
> >
> > Matt Auld is on vacation, and the other issue is that the tree where this
> > is from isn't in linux-next. So will take a bit to get sorted in
> > linux-next.
>
> Those warnings are now coming from Linus' tree (some time before
> v5.14-rc1). I first mentioned them on June 3.

Uh that's not good, I missed that. I'll look into it.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

2021-08-10 17:24:17

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the drm tree

Hi Daniel,

On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter <[email protected]> wrote:
>
> Uh that's not good, I missed that. I'll look into it.

Thanks.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature