2024-02-06 01:01:31

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: manual merge of the drm-misc tree with Linus' tree

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.

--
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;
}


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

2024-02-06 01:06:58

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: manual merge of the drm-misc tree with Linus' tree

Hi all,

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")
>
> 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.
--
Cheers,
Stephen Rothwell


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

2024-02-06 11:30:35

by Michael Walle

[permalink] [raw]
Subject: Re: linux-next: manual merge of the drm-misc tree with Linus' tree

Hi Stephen and 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.
>
> 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]/

2024-02-06 11:57:18

by Dario Binacchi

[permalink] [raw]
Subject: Re: linux-next: manual merge of the drm-misc tree with Linus' tree

Hi Michael,

On Tue, Feb 6, 2024 at 12:29 PM Michael Walle <[email protected]> wrote:
>
> Hi Stephen and 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.
> >
> > 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/31e1a38a1d012a32d6f7bc8372b6360e@kernelorg/


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

--

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]

http://www.amarulasolutions.com