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.

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

Attachment: signature.asc
Description: PGP signature

Reply via email to