From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Jacopo Mondi <jacopo+renesas@jmondi.org>
Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v3] drm: rcar-du: kms: Expand comment in vsps parsing routine
Date: Fri, 6 Sep 2019 17:33:12 +0300 [thread overview]
Message-ID: <20190906143312.GB5028@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20190906135012.10285-1-jacopo+renesas@jmondi.org>
Hi Jacopo,
On Fri, Sep 06, 2019 at 03:50:12PM +0200, Jacopo Mondi wrote:
> Expand comment in the 'vsps' parsing routine to specify the LIF
> channel index defaults to 0 in case the second cell of the property
> is not specified to remain compatible with older DT bindings.
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
> ---
> This trivial change is a leftover from a series that Geert already
> took in. Re-sending as I forgot to add the dri list.
>
> Laurent, could you pick this one please?
Done, thank you.
> ---
> drivers/gpu/drm/rcar-du/rcar_du_kms.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> index fc30fff0eb8d..cb636637032d 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> @@ -625,7 +625,11 @@ static int rcar_du_vsps_init(struct rcar_du_device *rcdu)
>
> vsps[j].crtcs_mask |= BIT(i);
>
> - /* Store the VSP pointer and pipe index in the CRTC. */
> + /*
> + * Store the VSP pointer and pipe index in the CRTC. If the
> + * second cell of the 'vsps' specifier isn't present, default
> + * to 0 to remain compatible with older DT bindings.
> + */
> rcdu->crtcs[i].vsp = &rcdu->vsps[j];
> rcdu->crtcs[i].vsp_pipe = cells >= 1 ? args.args[0] : 0;
> }
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2019-09-06 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-06 13:50 [PATCH v3] drm: rcar-du: kms: Expand comment in vsps parsing routine Jacopo Mondi
2019-09-06 14:33 ` Laurent Pinchart [this message]
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=20190906143312.GB5028@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jacopo+renesas@jmondi.org \
--cc=linux-renesas-soc@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).