[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1468586757.7213.35.camel@pengutronix.de>
Date: Fri, 15 Jul 2016 14:45:57 +0200
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Steve Longerbeam <slongerbeam@...il.com>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Steve Longerbeam <steve_longerbeam@...tor.com>
Subject: Re: [PATCH 09/16] gpu: ipu-v3: Add ipu_ic_set_src()
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam:
> Adds ipu_ic_set_src() which is just aa wrapper around
> ipu_set_ic_src_mux().
>
> Signed-off-by: Steve Longerbeam <steve_longerbeam@...tor.com>
> ---
> drivers/gpu/ipu-v3/ipu-ic.c | 10 ++++++++++
> include/video/imx-ipu-v3.h | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/drivers/gpu/ipu-v3/ipu-ic.c b/drivers/gpu/ipu-v3/ipu-ic.c
> index 1dcb96c..f306a9c 100644
> --- a/drivers/gpu/ipu-v3/ipu-ic.c
> +++ b/drivers/gpu/ipu-v3/ipu-ic.c
> @@ -629,6 +629,16 @@ unlock:
> }
> EXPORT_SYMBOL_GPL(ipu_ic_task_idma_init);
>
> +int ipu_ic_set_src(struct ipu_ic *ic, int csi_id, bool vdi)
> +{
> + struct ipu_ic_priv *priv = ic->priv;
> +
> + ipu_set_ic_src_mux(priv->ipu, csi_id, vdi);
ipu_set_ic_src_mux(ic->priv->ipu, csi_id, vdi);
would be shorter.
regards
Philipp
Powered by blists - more mailing lists