Hello Mark,

+Cc drm-misc maintainers (Maarten, Maxime, Thomas)

On Wed Dec 2, 2026 at 2:16 PM CET, Mark Brown wrote:
> Hi all,
>
> Today's linux-next merge of the drm tree got a conflict in:
>
>   drivers/gpu/drm/panel/panel-raydium-rm68200.c
>
> between commit:
>
>   69623df21da0b ("drm/panel: raydium-rm68200: Set prepare_prev_first")
>
> from the drm-misc-fixes tree and commit:
>
>   9ebe0565cf49d ("drm/panel: Use managed helpers in Novatek and Raydium 
> panels")
>
> from the drm tree.

This has happened already after I pushed to drm-misc-fixes commits
conflicting with drm-misc-next [0].

And just as last time:

 * I am sorry about the annoyance
 * I had used dim following the correct procedure as far as I know it [1]
   to apply the patch
 * I had followed the documented procedure to fix the conflict [2]
 * I'd be happy to know what I should do differently

Additionally I volunteer to fix the process documentation when I know what
to fix.

Otherwise, I guess this is bound to happen again. :(

[0] https://lore.kernel.org/all/[email protected]/
[1] 
https://gitlab.freedesktop.org/drm/maintainer-tools/-/blob/94101f796143e7be8d3f584123c529498d8eb375/committer/getting-started.rst?anubis_answer=mango#basic-usage
[2] 
https://drm.pages.freedesktop.org/maintainer-tools/committer/conflict-resolution.html

> 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.
>
> diff --cc drivers/gpu/drm/panel/panel-raydium-rm68200.c
> index cc87f587ca78f,07de94ee45606..0000000000000
> --- a/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> +++ b/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> @@@ -360,14 -343,13 +343,15 @@@ static int rm68200_probe(struct mipi_ds
>       if (ret)
>               return ret;
>
>  +    ctx->panel.prepare_prev_first = true;
>  +
> -     drm_panel_add(&ctx->panel);
> +     ret = devm_drm_panel_add(dev, &ctx->panel);
> +     if (ret)
> +             return ret;
>
> -     ret = mipi_dsi_attach(dsi);
> +     ret = devm_mipi_dsi_attach(dev, dsi);
>       if (ret < 0) {
>               dev_err(dev, "mipi_dsi_attach() failed: %d\n", ret);
> -             drm_panel_remove(&ctx->panel);
>               return ret;
>       }

This resolution looks correct, and I'm pretty sure it's exactly the same I
did and I expect to be in drm-rerere.

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Reply via email to