Skip to contentSkip to conversation

linux-next: manual merge of the v4l-dvb tree with the arm-soc tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Dec 8, 2020 – Dec 14, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/staging/media/sunxi/cedrus/cedrus.c

between commit:

c6e95daab1cc ("media: cedrus: Remove the MBUS quirks")

from the arm-soc tree and commits:

503dab0b8a56 ("media: cedrus: Register all codecs as capability") 68b4a01f88af ("media: cedrus: Make VP8 codec as capability")

from the v4l-dvb tree.

I fixed it up (see below) 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.

Signature · 19 lines
Cheers,
Stephen Rothwell

diff --cc drivers/staging/media/sunxi/cedrus/cedrus.c
index d5fca10ea5b4,18d54f9fd715..000000000000
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.c
@@@ -522,7 -584,11 +584,10 @@@ static const struct cedrus_variant sun5
  
  static const struct cedrus_variant sun50i_h6_cedrus_variant = {
  	.capabilities	= CEDRUS_CAPABILITY_UNTILED |
- 			  CEDRUS_CAPABILITY_H265_DEC,
+ 			  CEDRUS_CAPABILITY_MPEG2_DEC |
+ 			  CEDRUS_CAPABILITY_H264_DEC |
+ 			  CEDRUS_CAPABILITY_H265_DEC |
+ 			  CEDRUS_CAPABILITY_VP8_DEC,
 -	.quirks		= CEDRUS_QUIRK_NO_DMA_OFFSET,
  	.mod_rate	= 600000000,
  };
#1 lore raw

Hi all,

Quoted 34 lines · On Tue, 8 Dec 2020 11:04:13 +1100 Stephen Rothwell <[email protected]> wrote:

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

drivers/staging/media/sunxi/cedrus/cedrus.c

between commit:

c6e95daab1cc ("media: cedrus: Remove the MBUS quirks")

from the arm-soc tree and commits:

503dab0b8a56 ("media: cedrus: Register all codecs as capability") 68b4a01f88af ("media: cedrus: Make VP8 codec as capability")

from the v4l-dvb tree.

I fixed it up (see below) 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.

Signature · 2 lines
Cheers,
Stephen Rothwell
drivers/staging/media/sunxi/cedrus/cedrus.c +0 -0
diff --cc drivers/staging/media/sunxi/cedrus/cedrus.c
index d5fca10ea5b4,18d54f9fd715..000000000000
@@@ -522,7 -584,11 +584,10 @@@ static const struct cedrus_variant sun5
 

drivers/staging/media/sunxi/cedrus/cedrus.c

Quoted 10 lines
drivers/staging/media/sunxi/cedrus/cedrus.c +4 -1
  static const struct cedrus_variant sun50i_h6_cedrus_variant = {
  	.capabilities	= CEDRUS_CAPABILITY_UNTILED |
- 			  CEDRUS_CAPABILITY_H265_DEC,
+ 			  CEDRUS_CAPABILITY_MPEG2_DEC |
+ 			  CEDRUS_CAPABILITY_H264_DEC |
+ 			  CEDRUS_CAPABILITY_H265_DEC |
+ 			  CEDRUS_CAPABILITY_VP8_DEC,
 -	.quirks		= CEDRUS_QUIRK_NO_DMA_OFFSET,
  	.mod_rate	= 600000000,
  };

Just a reminder that this conflict still exists.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

HI Stephen/Arnd/Olof,

Em Tue, 15 Dec 2020 07:30:37 +1100
Stephen Rothwell <[email protected]> escreveu:

Quoted 36 lines

Hi all,

Quoted 33 lines · On Tue, 8 Dec 2020 11:04:13 +1100 Stephen Rothwell <[email protected]> wrote:

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

drivers/staging/media/sunxi/cedrus/cedrus.c

between commit:

c6e95daab1cc ("media: cedrus: Remove the MBUS quirks")

from the arm-soc tree and commits:

503dab0b8a56 ("media: cedrus: Register all codecs as capability") 68b4a01f88af ("media: cedrus: Make VP8 codec as capability")

from the v4l-dvb tree.

I fixed it up (see below) 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.

Signature · 2 lines
Cheers,
Stephen Rothwell
drivers/staging/media/sunxi/cedrus/cedrus.c +0 -0
diff --cc drivers/staging/media/sunxi/cedrus/cedrus.c
index d5fca10ea5b4,18d54f9fd715..000000000000
@@@ -522,7 -584,11 +584,10 @@@ static const struct cedrus_variant sun5
Quoted 13 lines

drivers/staging/media/sunxi/cedrus/cedrus.c

Quoted 11 lines
  static const struct cedrus_variant sun50i_h6_cedrus_variant = {
  	.capabilities	= CEDRUS_CAPABILITY_UNTILED |
drivers/staging/media/sunxi/cedrus/cedrus.c +4 -1
- 			  CEDRUS_CAPABILITY_H265_DEC,
+ 			  CEDRUS_CAPABILITY_MPEG2_DEC |
+ 			  CEDRUS_CAPABILITY_H264_DEC |
+ 			  CEDRUS_CAPABILITY_H265_DEC |
+ 			  CEDRUS_CAPABILITY_VP8_DEC,
 -	.quirks		= CEDRUS_QUIRK_NO_DMA_OFFSET,
  	.mod_rate	= 600000000,
  };

Just a reminder that this conflict still exists.

Thanks for the reminder! I ended forgetting about it. Last week was hard for me, as I had several things to solve before taking some vacations, including preparing for a talk on an user's group that happened last Saturday.

In any case, Linus already pulled from my tree:

	https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fab0fca1da5cdc48be051715cd9787df04fdce3a

So, I guess the best would be to either let Linus know about that when he would be pulling from arm-soc, or to solve such conflict between upstream and arm-soc.

As I'm in PTO those days, in order to avoid further conflicts with linux-next, I'll pull from Linus tree today.

Thanks,
Mauro