Skip to contentSkip to conversation

linux-next: manual merge of the drm-misc tree with Linus' tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Feb 6, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/gpu/drm/bridge/samsung-dsim.c

between commit:

ff3d5d04db07 ("drm: bridge: samsung-dsim: Don't use FORCE_STOP_STATE")

from Linus' tree and commit:

b2fe2292624a ("drm: bridge: samsung-dsim: enter display mode in the enable() callback")

from the drm-misc tree.

I fixed it up (see below, please check) 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 · 18 lines
Cheers,
Stephen Rothwell

diff --cc drivers/gpu/drm/bridge/samsung-dsim.c
index 6a10aa5c85f5,f9d85fe1df7e..000000000000
--- a/drivers/gpu/drm/bridge/samsung-dsim.c
+++ b/drivers/gpu/drm/bridge/samsung-dsim.c
@@@ -1498,6 -1526,11 +1503,8 @@@ static void samsung_dsim_atomic_disable
  	if (!(dsi->state & DSIM_STATE_ENABLED))
  		return;
  
 -	if (!samsung_dsim_hw_is_exynos(dsi->plat_data->hw_type))
 -		samsung_dsim_set_stop_state(dsi, true);
 -
+ 	samsung_dsim_set_display_enable(dsi, false);
+ 
  	dsi->state &= ~DSIM_STATE_VIDOUT_AVAILABLE;
  }
#1 lore raw

Hi all,

Quoted 13 lines · On Tue, 6 Feb 2024 11:59:56 +1100 Stephen Rothwell <[email protected]> wrote:

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

drivers/gpu/drm/bridge/samsung-dsim.c

between commit:

ff3d5d04db07 ("drm: bridge: samsung-dsim: Don't use FORCE_STOP_STATE")

from Linus' tree and commit:

b2fe2292624a ("drm: bridge: samsung-dsim: enter display mode in the enable() callback")

Quoted 8 lines

from the drm-misc tree.

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

I changed my mind and just used the latter version of this file.

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

Hi Stephen and all,

Quoted 16 lines
Quoted 16 lines

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

drivers/gpu/drm/bridge/samsung-dsim.c

between commit:

ff3d5d04db07 ("drm: bridge: samsung-dsim: Don't use
FORCE_STOP_STATE")

from Linus' tree and commit:

b2fe2292624a ("drm: bridge: samsung-dsim: enter display mode in the
enable() callback")

from the drm-misc tree.

Quoted 8 lines
Quoted 6 lines

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

I changed my mind and just used the latter version of this file.

Bug wise, this is the wrong solution. Because it will reintroduce the faulty FORCE_STOP_STATE. Also keep in mind, my fixes commit is/was already backported to the stable series.

See also the discussion at [1]. Unfortunately, there was no conculusion yet. I think [2] is the proper resolution, at least for the commit b2fe2292624a ("drm: bridge: samsung-dsim: enter display mode in the enable() callback") I'm not sure in what state the drm-misc tree is.

-michael

[1] https://lore.kernel.org/dri-devel/CAPM=9tytMB9frxNeD08hu1qsusY=wEE3bJOFmUgA1rSpabwDpg@mail.gmail.com/
[2] https://lore.kernel.org/dri-devel/[email protected]/

#3 lore raw

Hi Michael,

Quoted 44 lines · Michael Walle

Hi Stephen and all,

Quoted 26 lines
Quoted 16 lines

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

drivers/gpu/drm/bridge/samsung-dsim.c

between commit:

ff3d5d04db07 ("drm: bridge: samsung-dsim: Don't use
FORCE_STOP_STATE")

from Linus' tree and commit:

b2fe2292624a ("drm: bridge: samsung-dsim: enter display mode in the
enable() callback")

from the drm-misc tree.

Quoted 9 lines

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

Quoted 1 line

I changed my mind and just used the latter version of this file.

Bug wise, this is the wrong solution. Because it will reintroduce the faulty FORCE_STOP_STATE. Also keep in mind, my fixes commit is/was already
backported to the stable series.

See also the discussion at [1]. Unfortunately, there was no conculusion yet.
I think [2] is the proper resolution, at least for the commit b2fe2292624a
("drm: bridge: samsung-dsim: enter display mode in the enable() callback")
I'm not sure in what state the drm-misc tree is.

Quoted 6 lines

-michael

[1]
https://lore.kernel.org/dri-devel/CAPM=9tytMB9frxNeD08hu1qsusY=wEE3bJOFmUgA1rSpabwDpg@mail.gmail.com/
[2]
https://lore.kernel.org/dri-devel/[email protected]/

Unfortunately, in this recent period, I have been very busy and have not been able to run tests on this matter.
As soon as I am able to do so, I will.

Thanks and regards,
Dario

Signature · 17 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com