All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the drm-misc tree
@ 2021-10-12  2:18 ` Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2021-10-12  2:18 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics, DRI
  Cc: Karol Herbst, Luo penghao, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

Hi all,

After merging the drm-misc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]
  491 |  u32 inst, aper;
      |      ^~~~
cc1: all warnings being treated as errors

Caused by commit

  404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")

I have used the drm-misc tree from next-20211011 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Intel-gfx] linux-next: build failure after merge of the drm-misc tree
@ 2021-10-12  2:18 ` Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2021-10-12  2:18 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics, DRI
  Cc: Karol Herbst, Luo penghao, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

Hi all,

After merging the drm-misc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]
  491 |  u32 inst, aper;
      |      ^~~~
cc1: all warnings being treated as errors

Caused by commit

  404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")

I have used the drm-misc tree from next-20211011 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the drm-misc tree
  2021-10-12  2:18 ` [Intel-gfx] " Stephen Rothwell
@ 2021-10-12 11:29   ` Karol Herbst
  -1 siblings, 0 replies; 11+ messages in thread
From: Karol Herbst @ 2021-10-12 11:29 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Daniel Vetter, Intel Graphics, DRI, Luo penghao,
	Linux Kernel Mailing List, Linux Next Mailing List

uhh, that's on me. I will send out a patch today. I just noticed that
the config file I used for testing had WERROR disabled.

On Tue, Oct 12, 2021 at 4:18 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the drm-misc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':
> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]
>   491 |  u32 inst, aper;
>       |      ^~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
>   404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
>
> I have used the drm-misc tree from next-20211011 for today.
>
> --
> Cheers,
> Stephen Rothwell


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Intel-gfx] linux-next: build failure after merge of the drm-misc tree
@ 2021-10-12 11:29   ` Karol Herbst
  0 siblings, 0 replies; 11+ messages in thread
From: Karol Herbst @ 2021-10-12 11:29 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Daniel Vetter, Intel Graphics, DRI, Luo penghao,
	Linux Kernel Mailing List, Linux Next Mailing List

uhh, that's on me. I will send out a patch today. I just noticed that
the config file I used for testing had WERROR disabled.

On Tue, Oct 12, 2021 at 4:18 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the drm-misc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':
> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]
>   491 |  u32 inst, aper;
>       |      ^~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
>   404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
>
> I have used the drm-misc tree from next-20211011 for today.
>
> --
> Cheers,
> Stephen Rothwell


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re:linux-next: build failure after merge of the drm-misc tree
  2021-10-12  2:18 ` [Intel-gfx] " Stephen Rothwell
@ 2021-10-14  3:02   ` luo.penghao
  -1 siblings, 0 replies; 11+ messages in thread
From: luo.penghao @ 2021-10-14  3:02 UTC (permalink / raw)
  To: sfr
  Cc: daniel.vetter, intel-gfx, dri-devel, kherbst, linux-kernel, linux-next


[-- Attachment #1.1.1: Type: text/plain, Size: 787 bytes --]

Hi,



I review the code.


It seems I forget to delete the definition of the variable "inst",I'm sry for that.: (


I'll submit another patch soon.






> Hi all,> > After merging the drm-misc tree, today's linux-next build (x86_64> allmodconfig) failed like this:> > drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]>   491 |  u32 inst, aper;>       |      ^~~~> cc1: all warnings being treated as errors> > Caused by commit> >   404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")>> I have used the drm-misc tree from next-20211011 for today.> > -- > Cheers,> Stephen Rothwell

[-- Attachment #1.1.2: Type: text/html , Size: 3205 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Intel-gfx]  linux-next: build failure after merge of the drm-misc tree
@ 2021-10-14  3:02   ` luo.penghao
  0 siblings, 0 replies; 11+ messages in thread
From: luo.penghao @ 2021-10-14  3:02 UTC (permalink / raw)
  To: sfr
  Cc: daniel.vetter, intel-gfx, dri-devel, kherbst, linux-kernel, linux-next


[-- Attachment #1.1.1: Type: text/plain, Size: 787 bytes --]

Hi,



I review the code.


It seems I forget to delete the definition of the variable "inst",I'm sry for that.: (


I'll submit another patch soon.






> Hi all,> > After merging the drm-misc tree, today's linux-next build (x86_64> allmodconfig) failed like this:> > drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]>   491 |  u32 inst, aper;>       |      ^~~~> cc1: all warnings being treated as errors> > Caused by commit> >   404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")>> I have used the drm-misc tree from next-20211011 for today.> > -- > Cheers,> Stephen Rothwell

[-- Attachment #1.1.2: Type: text/html , Size: 3205 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the drm-misc tree
  2021-10-14  3:02   ` [Intel-gfx] linux-next: " luo.penghao
@ 2021-10-14  5:42     ` Karol Herbst
  -1 siblings, 0 replies; 11+ messages in thread
From: Karol Herbst @ 2021-10-14  5:42 UTC (permalink / raw)
  To: Luo penghao
  Cc: Stephen Rothwell, Daniel Vetter, Intel Graphics Development,
	dri-devel, LKML, Linux Next Mailing List

On Thu, Oct 14, 2021 at 5:02 AM <luo.penghao@zte.com.cn> wrote:
>
> Hi,
>
> I review the code.
>
> It seems I forget to delete the definition of the variable "inst",I'm sry for that.: (
>
> I'll submit another patch soon.
>

I already wrote the patch and pushed it:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?id=381ba6a6baf104b572379c6b2deab884555104d4

>
> > Hi all,
> >
> > After merging the drm-misc tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':
> > drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]
> >   491 |  u32 inst, aper;
> >       |      ^~~~
> > cc1: all warnings being treated as errors
> >
> > Caused by commit
> >
> >   404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
> >
> > I have used the drm-misc tree from next-20211011 for today.
> >
> > --
> > Cheers,
> > Stephen Rothwell


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Intel-gfx] linux-next: build failure after merge of the drm-misc tree
@ 2021-10-14  5:42     ` Karol Herbst
  0 siblings, 0 replies; 11+ messages in thread
From: Karol Herbst @ 2021-10-14  5:42 UTC (permalink / raw)
  To: Luo penghao
  Cc: Stephen Rothwell, Daniel Vetter, Intel Graphics Development,
	dri-devel, LKML, Linux Next Mailing List

On Thu, Oct 14, 2021 at 5:02 AM <luo.penghao@zte.com.cn> wrote:
>
> Hi,
>
> I review the code.
>
> It seems I forget to delete the definition of the variable "inst",I'm sry for that.: (
>
> I'll submit another patch soon.
>

I already wrote the patch and pushed it:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?id=381ba6a6baf104b572379c6b2deab884555104d4

>
> > Hi all,
> >
> > After merging the drm-misc tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel':
> > drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable]
> >   491 |  u32 inst, aper;
> >       |      ^~~~
> > cc1: all warnings being treated as errors
> >
> > Caused by commit
> >
> >   404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
> >
> > I have used the drm-misc tree from next-20211011 for today.
> >
> > --
> > Cheers,
> > Stephen Rothwell


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: linux-next: build failure after merge of the drm-misc tree
  2024-02-07  6:56     ` Thomas Hellström
@ 2024-02-07  9:33       ` Jani Nikula
  0 siblings, 0 replies; 11+ messages in thread
From: Jani Nikula @ 2024-02-07  9:33 UTC (permalink / raw)
  To: Thomas Hellström, Lucas De Marchi
  Cc: Stephen Rothwell, Daniel Vetter, Matthew Brost, Rodrigo Vivi,
	Christian König, Somalapuram Amaranath, Intel Graphics, DRI,
	Linux Kernel Mailing List, Linux Next Mailing List, Dave Airlie,
	intel-xe

On Wed, 07 Feb 2024, Thomas Hellström <thomas.hellstrom@linux.intel.com> wrote:
> Indeed. Not even drm-misc itself compiles with xe enabled. I'll ping
> drm-misc maintainers.

We'll need CONFIG_DRM_XE=m enabled in drm-rerere/drm-misc-*_defconfig,
and get people to use that.

BR,
Jani.


-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: linux-next: build failure after merge of the drm-misc tree
  2024-02-06 20:21   ` Lucas De Marchi
@ 2024-02-07  6:56     ` Thomas Hellström
  2024-02-07  9:33       ` Jani Nikula
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Hellström @ 2024-02-07  6:56 UTC (permalink / raw)
  To: Lucas De Marchi
  Cc: Stephen Rothwell, Daniel Vetter, Matthew Brost, Rodrigo Vivi,
	Christian König, Somalapuram Amaranath, Intel Graphics, DRI,
	Linux Kernel Mailing List, Linux Next Mailing List, Dave Airlie,
	intel-xe

On Tue, 2024-02-06 at 14:21 -0600, Lucas De Marchi wrote:
> On Tue, Feb 06, 2024 at 01:39:28PM +0100, Thomas Hellström wrote:
> > Hi
> > 
> > On Tue, 2024-02-06 at 12:28 +1100, Stephen Rothwell wrote:
> > > Hi all,
> > > 
> > > After merging the drm-misc tree, today's linux-next build (x86_64
> > > allmodconfig) failed like this:
> > > 
> > > 
> > > Caused by commit
> > > 
> > >   a78a8da51b36 ("drm/ttm: replace busy placement with flags v6")
> > > 
> > > interacting with commit
> > > 
> > >   dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel
> > > GPUs")
> > > 
> > > (and maybe others) from Linus' tree (v6.8-rc1).
> > > 
> > > I have applied the following merge fix patch for today.  This
> > > makes
> > > it build,
> > > but more is likely needed ...
> > 
> > There was a manual fixup for the drm-misc-next merge into drm-tip
> > that
> > did the right thing here.
> > 
> > How do we ensure these are included into the linux-next builds?
> 
> I think it should have been done in commit 4db102dcb039 ("Merge
> drm/drm-next into drm-misc-next")
> when drm-next merged back into drm-misc-next. Now one option is
> probably a
> commit on drm-misc-next with this content:
> https://cgit.freedesktop.org/drm-tip/tree/fixups/drm-misc-next.patch?h=rerere-cache&id=c39c6e3d74203820ef630884a5323237696bd36c
> 
> 
> Lucas De Marchi

Indeed. Not even drm-misc itself compiles with xe enabled. I'll ping
drm-misc maintainers.

/Thomas




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: linux-next: build failure after merge of the drm-misc tree
  2024-02-06 12:39 ` Thomas Hellström
@ 2024-02-06 20:21   ` Lucas De Marchi
  2024-02-07  6:56     ` Thomas Hellström
  0 siblings, 1 reply; 11+ messages in thread
From: Lucas De Marchi @ 2024-02-06 20:21 UTC (permalink / raw)
  To: Thomas Hellström
  Cc: Stephen Rothwell, Daniel Vetter, Matthew Brost, Rodrigo Vivi,
	Christian König, Somalapuram Amaranath, Intel Graphics, DRI,
	Linux Kernel Mailing List, Linux Next Mailing List, Dave Airlie,
	intel-xe

On Tue, Feb 06, 2024 at 01:39:28PM +0100, Thomas Hellström wrote:
>Hi
>
>On Tue, 2024-02-06 at 12:28 +1100, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the drm-misc tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>>
>> Caused by commit
>>
>>   a78a8da51b36 ("drm/ttm: replace busy placement with flags v6")
>>
>> interacting with commit
>>
>>   dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
>>
>> (and maybe others) from Linus' tree (v6.8-rc1).
>>
>> I have applied the following merge fix patch for today.  This makes
>> it build,
>> but more is likely needed ...
>
>There was a manual fixup for the drm-misc-next merge into drm-tip that
>did the right thing here.
>
>How do we ensure these are included into the linux-next builds?

I think it should have been done in commit 4db102dcb039 ("Merge drm/drm-next into drm-misc-next")
when drm-next merged back into drm-misc-next. Now one option is probably a
commit on drm-misc-next with this content:
https://cgit.freedesktop.org/drm-tip/tree/fixups/drm-misc-next.patch?h=rerere-cache&id=c39c6e3d74203820ef630884a5323237696bd36c


Lucas De Marchi

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-02-07  9:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12  2:18 linux-next: build failure after merge of the drm-misc tree Stephen Rothwell
2021-10-12  2:18 ` [Intel-gfx] " Stephen Rothwell
2021-10-12 11:29 ` Karol Herbst
2021-10-12 11:29   ` [Intel-gfx] " Karol Herbst
2021-10-14  3:02 ` luo.penghao
2021-10-14  3:02   ` [Intel-gfx] linux-next: " luo.penghao
2021-10-14  5:42   ` Karol Herbst
2021-10-14  5:42     ` [Intel-gfx] " Karol Herbst
2024-02-06  1:28 Stephen Rothwell
2024-02-06 12:39 ` Thomas Hellström
2024-02-06 20:21   ` Lucas De Marchi
2024-02-07  6:56     ` Thomas Hellström
2024-02-07  9:33       ` Jani Nikula

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.