linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the drm tree with the powerpc tree
@ 2023-04-12  1:22 Stephen Rothwell
  2023-04-12  5:51 ` Michael Ellerman
  2023-04-13 18:47 ` Nathan Chancellor
  0 siblings, 2 replies; 7+ messages in thread
From: Stephen Rothwell @ 2023-04-12  1:22 UTC (permalink / raw)
  To: Dave Airlie, DRI, Michael Ellerman
  Cc: PowerPC, Alex Deucher, Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

Today's linux-next merge of the drm tree got a conflict in:

  drivers/gpu/drm/amd/display/Kconfig

between commit:

  78f0929884d4 ("powerpc/64: Always build with 128-bit long double")

from the powerpc tree and commit:

  4652ae7a51b7 ("drm/amd/display: Rename DCN config to FP")

from the drm tree.

I fixed it up (I used the powerpc version - with "(PPC64 && ALTIVEC)")
and can carry the fix as necessary. This is now fixed as far as
linux-next is concerned, but any non trivial conflicts should be
mentioned to your upstream maintainer when your tree is submitted for
merging.  You may also want to consider cooperating with the maintainer
of the conflicting tree to minimise any particularly complex conflicts.

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: manual merge of the drm tree with the powerpc tree
  2023-04-12  1:22 linux-next: manual merge of the drm tree with the powerpc tree Stephen Rothwell
@ 2023-04-12  5:51 ` Michael Ellerman
  2023-04-13 18:47 ` Nathan Chancellor
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Ellerman @ 2023-04-12  5:51 UTC (permalink / raw)
  To: Stephen Rothwell, Dave Airlie, DRI
  Cc: PowerPC, Alex Deucher, Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

Stephen Rothwell <sfr@canb.auug.org.au> writes:
> Hi all,
>
> Today's linux-next merge of the drm tree got a conflict in:
>
>   drivers/gpu/drm/amd/display/Kconfig
>
> between commit:
>
>   78f0929884d4 ("powerpc/64: Always build with 128-bit long double")
>
> from the powerpc tree and commit:
>
>   4652ae7a51b7 ("drm/amd/display: Rename DCN config to FP")
>
> from the drm tree.

> I fixed it up (I used the powerpc version - with "(PPC64 && ALTIVEC)")
> and can carry the fix as necessary.

Thanks, that's the right resolution.

Not much we can do to avoid that conflict, we'll just have to tell Linus
about it at pull request time.

cheers

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

* Re: linux-next: manual merge of the drm tree with the powerpc tree
  2023-04-12  1:22 linux-next: manual merge of the drm tree with the powerpc tree Stephen Rothwell
  2023-04-12  5:51 ` Michael Ellerman
@ 2023-04-13 18:47 ` Nathan Chancellor
  2023-04-14 16:55   ` Mark Brown
  1 sibling, 1 reply; 7+ messages in thread
From: Nathan Chancellor @ 2023-04-13 18:47 UTC (permalink / raw)
  To: Stephen Rothwell, Mark Brown
  Cc: Dave Airlie, DRI, Michael Ellerman, PowerPC, Alex Deucher,
	Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

Hi Mark,

On Wed, Apr 12, 2023 at 11:22:13AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the drm tree got a conflict in:
> 
>   drivers/gpu/drm/amd/display/Kconfig
> 
> between commit:
> 
>   78f0929884d4 ("powerpc/64: Always build with 128-bit long double")
> 
> from the powerpc tree and commit:
> 
>   4652ae7a51b7 ("drm/amd/display: Rename DCN config to FP")
> 
> from the drm tree.
> 
> I fixed it up (I used the powerpc version - with "(PPC64 && ALTIVEC)")
> and can carry the fix as necessary. This is now fixed as far as
> linux-next is concerned, but any non trivial conflicts should be
> mentioned to your upstream maintainer when your tree is submitted for
> merging.  You may also want to consider cooperating with the maintainer
> of the conflicting tree to minimise any particularly complex conflicts.

This resolution is not quite right on next-20230412 and next-20230413,
as the drm tree's rename was not taken into account on the conflicting
line. In other words, I need this diff for everything to work properly.

diff --git a/drivers/gpu/drm/amd/display/Kconfig b/drivers/gpu/drm/amd/display/Kconfig
index b990ef80d686..2d8e55e29637 100644
--- a/drivers/gpu/drm/amd/display/Kconfig
+++ b/drivers/gpu/drm/amd/display/Kconfig
@@ -8,7 +8,7 @@ config DRM_AMD_DC
 	depends on BROKEN || !CC_IS_CLANG || X86_64 || SPARC64 || ARM64
 	select SND_HDA_COMPONENT if SND_HDA_CORE
 	# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
-	select DRM_AMD_DC_DCN if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
+	select DRM_AMD_DC_FP if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
 	help
 	  Choose this option if you want to use the new display engine
 	  support for AMDGPU. This adds required support for Vega and

Please consider resolving this in a future -next update, I was rather
surprised that my AMD test machine's graphical output was not working
until I noticed the configuration difference :)

Cheers,
Nathan

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

* Re: linux-next: manual merge of the drm tree with the powerpc tree
  2023-04-13 18:47 ` Nathan Chancellor
@ 2023-04-14 16:55   ` Mark Brown
  2023-04-18 18:21     ` Nathan Chancellor
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2023-04-14 16:55 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Stephen Rothwell, Dave Airlie, DRI, Michael Ellerman, PowerPC,
	Alex Deucher, Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

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

On Thu, Apr 13, 2023 at 11:47:25AM -0700, Nathan Chancellor wrote:
> On Wed, Apr 12, 2023 at 11:22:13AM +1000, Stephen Rothwell wrote:

>  	select SND_HDA_COMPONENT if SND_HDA_CORE
>  	# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
> -	select DRM_AMD_DC_DCN if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
> +	select DRM_AMD_DC_FP if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
>  	help
>  	  Choose this option if you want to use the new display engine
>  	  support for AMDGPU. This adds required support for Vega and

> Please consider resolving this in a future -next update, I was rather
> surprised that my AMD test machine's graphical output was not working
> until I noticed the configuration difference :)

Done.

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

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

* Re: linux-next: manual merge of the drm tree with the powerpc tree
  2023-04-14 16:55   ` Mark Brown
@ 2023-04-18 18:21     ` Nathan Chancellor
  2023-04-18 18:25       ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Chancellor @ 2023-04-18 18:21 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Dave Airlie, DRI, Michael Ellerman, PowerPC,
	Alex Deucher, Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

On Fri, Apr 14, 2023 at 05:55:10PM +0100, Mark Brown wrote:
> On Thu, Apr 13, 2023 at 11:47:25AM -0700, Nathan Chancellor wrote:
> > On Wed, Apr 12, 2023 at 11:22:13AM +1000, Stephen Rothwell wrote:
> 
> >  	select SND_HDA_COMPONENT if SND_HDA_CORE
> >  	# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
> > -	select DRM_AMD_DC_DCN if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
> > +	select DRM_AMD_DC_FP if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
> >  	help
> >  	  Choose this option if you want to use the new display engine
> >  	  support for AMDGPU. This adds required support for Vega and
> 
> > Please consider resolving this in a future -next update, I was rather
> > surprised that my AMD test machine's graphical output was not working
> > until I noticed the configuration difference :)
> 
> Done.

Thanks a lot, sorry for not saying it sooner! It looks like this
regressed in next-20230417 and next-20230418 though.

Cheers,
Nathan

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

* Re: linux-next: manual merge of the drm tree with the powerpc tree
  2023-04-18 18:21     ` Nathan Chancellor
@ 2023-04-18 18:25       ` Mark Brown
  2023-04-18 18:29         ` Nathan Chancellor
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2023-04-18 18:25 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Stephen Rothwell, Dave Airlie, DRI, Michael Ellerman, PowerPC,
	Alex Deucher, Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

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

On Tue, Apr 18, 2023 at 11:21:45AM -0700, Nathan Chancellor wrote:
> On Fri, Apr 14, 2023 at 05:55:10PM +0100, Mark Brown wrote:

> > Done.

> Thanks a lot, sorry for not saying it sooner! It looks like this
> regressed in next-20230417 and next-20230418 though.

Someone sent a mail saying they thought they'd fixed the DRM tree - is
that not the case?

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

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

* Re: linux-next: manual merge of the drm tree with the powerpc tree
  2023-04-18 18:25       ` Mark Brown
@ 2023-04-18 18:29         ` Nathan Chancellor
  0 siblings, 0 replies; 7+ messages in thread
From: Nathan Chancellor @ 2023-04-18 18:29 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Rothwell, Dave Airlie, DRI, Michael Ellerman, PowerPC,
	Alex Deucher, Harry Wentland, Linux Kernel Mailing List,
	Linux Next Mailing List

On Tue, Apr 18, 2023 at 07:25:00PM +0100, Mark Brown wrote:
> On Tue, Apr 18, 2023 at 11:21:45AM -0700, Nathan Chancellor wrote:
> > On Fri, Apr 14, 2023 at 05:55:10PM +0100, Mark Brown wrote:
> 
> > > Done.
> 
> > Thanks a lot, sorry for not saying it sooner! It looks like this
> > regressed in next-20230417 and next-20230418 though.
> 
> Someone sent a mail saying they thought they'd fixed the DRM tree - is
> that not the case?

Does not seem like it:

$ git show -s --format='%h ("%s")'
67d5d9f013d6 ("Add linux-next specific files for 20230418")

$ git grep DRM_AMD_DC_DCN
drivers/gpu/drm/amd/display/Kconfig:    select DRM_AMD_DC_DCN if (X86 || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))

Cheers,
Nathan

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

end of thread, other threads:[~2023-04-18 18:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-12  1:22 linux-next: manual merge of the drm tree with the powerpc tree Stephen Rothwell
2023-04-12  5:51 ` Michael Ellerman
2023-04-13 18:47 ` Nathan Chancellor
2023-04-14 16:55   ` Mark Brown
2023-04-18 18:21     ` Nathan Chancellor
2023-04-18 18:25       ` Mark Brown
2023-04-18 18:29         ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).