From: Pavel Machek <pavel@nabladev.com>
To: Chris Brandt <Chris.Brandt@renesas.com>
Cc: Pavel Machek <pavel@nabladev.com>,
"cip-dev@lists.cip-project.org" <cip-dev@lists.cip-project.org>,
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba>
Subject: Re: [PATCH 6.1.y-cip 2/7] drm: renesas: rz-du: Implement MIPI DSI host transfers
Date: Thu, 16 Apr 2026 22:59:19 +0200 [thread overview]
Message-ID: <aeFNp1ow-aKSZWx0@duo.ucw.cz> (raw)
In-Reply-To: <OS3PR01MB8319E1A2764C46EC3D8C326E8A252@OS3PR01MB8319.jpnprd01.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 954 bytes --]
Hi!
> These patches are direct backports from mainline.
> I am trying to keep the CIP version as close to the mainline version as possible.
Understood. You don't have to change these in -CIP, but consider
fixing them in mainline.
> > > + dsi->dcs_buf_virt = dma_alloc_coherent(dsi->host.dev, RZG2L_DCS_BUF_SIZE,
> > > + &dsi->dcs_buf_phys, GFP_KERNEL);
> > > + if (!dsi->dcs_buf_virt)
> > > + return -ENOMEM;
> > > +
> > > return 0;
> > >
> >
> > This probably should be { err = -ENOMEM; goto err_pm_disable; }
>
> That is a good point.
> I wrote that part of the driver for an older version of the kernel a couple years ago before they had those return options.
> Then, someone else ported it to the mainline version of the driver and submitted it.
> When I reviewed the mainline version, I didn't catch that.
> I might push a fix to mainline with CC:stable.
>
Yes, please.
Best regards,
Pavel
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2026-04-16 20:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 17:18 [PATCH 6.1.y-cip 1/7] drm: renesas: rz-du: Add atomic_pre_enable Chris Brandt
2026-04-13 17:18 ` [PATCH 6.1.y-cip 2/7] drm: renesas: rz-du: Implement MIPI DSI host transfers Chris Brandt
2026-04-14 9:30 ` Pavel Machek
2026-04-14 11:33 ` Chris Brandt
2026-04-16 20:59 ` Pavel Machek [this message]
2026-04-13 17:18 ` [PATCH 6.1.y-cip 3/7] drm: renesas: rz-du: mipi_dsi: fix kernel panic when rebooting for some panels Chris Brandt
2026-04-13 17:18 ` [PATCH 6.1.y-cip 4/7] drm: renesas: rz-du: mipi_dsi: Set DSI divider Chris Brandt
2026-04-13 17:18 ` [PATCH 6.1.y-cip 5/7] clk: renesas: Use IS_ERR() for pointers that cannot be NULL Chris Brandt
2026-04-13 17:18 ` [PATCH 6.1.y-cip 6/7] clk: renesas: rzg2l: Remove DSI clock rate restrictions Chris Brandt
2026-04-13 17:18 ` [PATCH 6.1.y-cip 7/7] clk: renesas: Add missing log message terminators Chris Brandt
2026-04-16 20:57 ` [PATCH 6.1.y-cip 1/7] drm: renesas: rz-du: Add atomic_pre_enable Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aeFNp1ow-aKSZWx0@duo.ucw.cz \
--to=pavel@nabladev.com \
--cc=Chris.Brandt@renesas.com \
--cc=cip-dev@lists.cip-project.org \
--cc=nobuhiro.iwamatsu.x90@mail.toshiba \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox