Acked-by: Benoit Parrot <bpar...@ti.com>
Maxime Ripard <maxime.rip...@bootlin.com> wrote on Tue [2018-Apr-24 14:26:59
+0200]:
> The Cadence MIPI-CSI2 TX controller is a CSI2 bridge that supports up to 4
> video streams and can output on up to 4 CSI-2 lanes, depending
Acked-by: Benoit Parrot <bpar...@ti.com>
Maxime Ripard <maxime.rip...@bootlin.com> wrote on Tue [2018-Apr-24 14:27:00
+0200]:
> The Cadence MIPI-CSI2 TX controller is an hardware block meant to be used
> as a bridge between pixel interfaces and a CSI-2 bus.
>
&g
PI
> + select V4L2_FWNODE
> + help
> + Support for the Cadence MIPI CSI2 Receiver controller.
> +
> + To compile this driver as a module, choose M here: the module will be
> + called cdns-csi2rx.
> +
> +endif
> diff --git a/drivers/media/platform/c
Maxime,
Thanks you for the patch,
Maxime Ripard wrote on Thu [2018-Mar-01 12:30:49
+0100]:
> The Cadence MIPI-CSI2 TX controller is an hardware block meant to be used
> as a bridge between pixel interfaces and a CSI-2 bus.
>
> It supports operating with an internal
Maxime,
Thank you for the patch.
Maxime Ripard wrote on Thu [2018-Feb-15 14:33:35
+0100]:
> The Cadence CSI-2 RX Controller is an hardware block meant to be used as a
> bridge between a CSI-2 bus and pixel grabbers.
>
> It supports operating with internal or
Maxime,
Thank you for the patch.
Maxime Ripard wrote on Fri [2018-Jan-19
09:15:47 +0100]:
> The Cadence MIPI-CSI2 TX controller is an hardware block meant to be used
> as a bridge between pixel interfaces and a CSI-2 bus.
>
> It supports operating with an
Maxime,
Thank you for the patch.
Maxime Ripard wrote on Fri [2018-Jan-19
09:13:57 +0100]:
> The Cadence CSI-2 RX Controller is an hardware block meant to be used as a
> bridge between a CSI-2 bus and pixel grabbers.
>
> It supports operating with internal or
For am437x/am437x-vpfe.c & ti-vpe/cal.c
Acked-by: Benoit Parrot <bpar...@ti.com>
Mauro Carvalho Chehab <mche...@s-opensource.com> wrote on Mon [2017-Dec-18
17:53:57 -0200]:
> The V4L2_ASYNC_MATCH_FWNODE match criteria requires just one
> struct to be filled
Rob Herring <r...@kernel.org> wrote on Tue [2017-Oct-17 16:00:51 -0500]:
> On Thu, Oct 12, 2017 at 02:27:17PM -0500, Benoit Parrot wrote:
> > Device Tree bindings for the Video Processing Engine (VPE) driver.
> >
> > Signed-off-by: Benoit Parrot <bpar...@ti.c
Tony Lindgren <t...@atomide.com> wrote on Fri [2017-Oct-13 10:05:13 -0700]:
> * Benoit Parrot <bpar...@ti.com> [171012 12:28]:
> > +static struct omap_hwmod_class_sysconfig dra7xx_vpe_sysc = {
> > + .sysc_offs = 0x0010,
> > + .sysc_flags = (SYSC_H
Tony Lindgren <t...@atomide.com> wrote on Fri [2017-Oct-13 10:01:13 -0700]:
> * Benoit Parrot <bpar...@ti.com> [171012 12:29]:
> > HWSUP on this domain is only working when VIP1 probes.
> > If only VIP2 on DRA74x or CAL on DRA72x probes the domain does
> > not
Tony Lindgren <t...@atomide.com> wrote on Fri [2017-Oct-13 09:56:54 -0700]:
> * Benoit Parrot <bpar...@ti.com> [171012 12:28]:
> > This patch adds the required hwmod nodes to support the Camera
> > Adaptation Layer (CAL) for the DRA72 family of devices.
Tony Lindgren <t...@atomide.com> wrote on Fri [2017-Oct-13 09:54:09 -0700]:
> * Benoit Parrot <bpar...@ti.com> [171012 12:29]:
> > This patch adds the required dtsi node to support the Camera
> > Adaptation Layer (CAL) for the DRA72 family of devices.
> >
>
Hans,
Just to confirm that I will be attending the media mini-summit.
Regards,
Benoit
Hans Verkuil wrote on Fri [2017-Oct-13 10:02:53 +0200]:
> Hi all,
>
> We are organizing a media mini-summit on Friday October 27 in Prague,
> co-located
> with the ELCE conference:
>
>
Device Tree bindings for the Video Processing Engine (VPE) driver.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
Documentation/devicetree/bindings/media/ti-vpe.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/me
This patch series adds the needed HWMOD and DTSI nodes
for the CAL and VPE modules.
We also document the VPE DT bindings.
Benoit Parrot (6):
ARM: dts: DRA72: Add CAL dtsi node
ARM: DRA7: hwmod: Add CAL nodes
ARM: OMAP: DRA7xx: Make CAM clock domain SWSUP only
dt-bindings: media: ti-vpe
not support standby mode per se hwmod would not
enabled the functional/interface clock if module is not a master.
Hence the SWSUP mode flags ifor SIDLE ans MSTANDBY are also enabled.
This ensure that i/f clocks are available when CAL is enabled.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
Add the necessary node and configuration data for the VPE (Video
Processing Engine) hardware block on DRA7x.
The corresponding driver for this entry is in
drivers/media/platform/ti-vpe/vpe.c.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
arch/arm/boot/dts/dra7.dts
This patch adds the required dtsi node to support the Camera
Adaptation Layer (CAL) for the DRA72 family of devices.
- Added CAL entry in dra72x.dtsi.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
arch/arm/boot/dts/dra72x.dtsi | 31 +++
1 file chang
HWSUP on this domain is only working when VIP1 probes.
If only VIP2 on DRA74x or CAL on DRA72x probes the domain does
not get enabled. This might indicates an issue in the HW Auto
state-machine for this domain.
Work around is to set the CAM domain to use SWSUP only.
Signed-off-by: Benoit Parrot
were set to reflect this fact and make sure that
both are software supervised (SWSUSP).
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 43 +++
1 file changed, 43 insertions(+)
diff --git a/arch/arm/mach
Hi Maxime,
Maxime Ripard <maxime.rip...@free-electrons.com> wrote on Wed [2017-Oct-11
13:55:44 +0200]:
> Hi Benoit,
>
> On Fri, Sep 29, 2017 at 06:21:25PM +, Benoit Parrot wrote:
> > > +struct csi2tx_priv {
> > > + struct device
Hi Maxime,
Maxime Ripard <maxime.rip...@free-electrons.com> wrote on Wed [2017-Oct-11
11:24:09 +0200]:
> Hi Benoit,
>
> On Fri, Sep 29, 2017 at 05:27:09PM +, Benoit Parrot wrote:
> > > +static int csi2rx_get_resources(struct csi2rx_priv *csi2rx,
> > >
Maxime,
Thank you for the patch.
Maxime Ripard wrote on Fri [2017-Sep-22
13:47:03 +0200]:
> The Cadence MIPI-CSI2 TX controller is an hardware block meant to be used
> as a bridge between pixel interfaces and a CSI-2 bus.
>
> It supports operating with an
Maxime Ripard wrote on Fri [2017-Sep-22
12:08:23 +0200]:
> The Cadence CSI-2 RX Controller is an hardware block meant to be used as a
> bridge between a CSI-2 bus and pixel grabbers.
>
> It supports operating with internal or external D-PHY, with up to 4 lanes,
Benoit Parrot <bpar...@ti.com> wrote on Tue [2017-Sep-12 13:23:39 -0500]:
> > +static int csi2rx_start(struct csi2rx_priv *csi2rx)
> > +{
> > + unsigned int i;
> > + u32 reg;
> > + int ret;
> > +
> > + /*
> > +
Maxime,
Thanks for the patch.
Maxime Ripard wrote on Mon [2017-Sep-04
15:03:35 +0200]:
> The Cadence CSI-2 RX Controller is an hardware block meant to be used as a
> bridge between a CSI-2 bus and pixel grabbers.
>
> It supports operating with internal or
changed, 87 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/cdns-csi2rx.txt
>
Acked-by: Benoit Parrot <bpar...@ti.com>
Maxime Ripard wrote on Thu [2017-Jul-20
11:23:02 +0200]:
> The Cadence CSI-2 RX Controller is an hardware block meant to be used as a
> bridge between a CSI-2 bus and pixel grabbers.
>
> It supports operating with internal or external D-PHY, with up to 4 lanes,
sek...@ti.com>
> ---
> drivers/media/platform/davinci/vpif_capture.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
Acked-by: Benoit Parrot <bpar...@ti.com>
Hans, Mauro,
Ping.
Regards,
Benoit
Tomi Valkeinen <tomi.valkei...@ti.com> wrote on Fri [2017-Feb-17 11:45:41
+0200]:
> On 13/02/17 15:06, Benoit Parrot wrote:
> > This patch series enables user specified buffer stride to be used
> > instead of always forcing the stride
For: ov2569.c, am437x/am437x-vpfe.c and ti-cal/cal.c:
Acked-by: Benoit Parrot <bpar...@ti.com>
Sakari Ailus <sakari.ai...@linux.intel.com> wrote on Tue [2017-Feb-14 09:12:32
+0200]:
> Switch users of the v4l2_of_ APIs to the more generic v4l2_fwnode_ APIs.
>
> Existing
Tomi Valkeinen <tomi.valkei...@ti.com> wrote on Wed [2017-Feb-15 13:22:42
+0200]:
> Hi,
>
> On 13/02/17 15:06, Benoit Parrot wrote:
> > Bytesperline/stride was always overwritten by VPE to the most
> > adequate value based on needed alignment.
> >
> > Ho
Sakari Ailus wrote on Mon [2017-Feb-13 15:28:13
+0200]:
> Switch users of the v4l2_of_ APIs to the more generic v4l2_fwnode_ APIs.
>
> Existing OF matching continues to be supported. omap3isp and smiapp
> drivers are converted to fwnode matching as well.
>
>
This patch series enables user specified buffer stride to be used
instead of always forcing the stride from the driver side.
Benoit Parrot (2):
media: ti-vpe: vpdma: add support for user specified stride
media: ti-vpe: vpe: allow use of user specified stride
drivers/media/platform/ti-vpe
This patch introduce the needed vpdma API changes to support
user space specified stride instead of forcing a driver calculated
one.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 14 --
drivers/media/platform/ti-vpe/vpdma.
the provided one when it is larger than the calculated one.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 28
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/pl
Laurent Pinchart wrote on Tue [2017-Feb-07
12:26:32 +0200]:
> Hi Steve,
>
> On Monday 06 Feb 2017 15:10:46 Steve Longerbeam wrote:
> > On 02/06/2017 02:33 PM, Laurent Pinchart wrote:
> > > On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote:
> > >> On 02/05/2017
Dan,
Thanks for the patch.
Acked-by: Benoit Parrot <bpar...@ti.com>
Dan Carpenter <dan.carpen...@oracle.com> wrote on Sat [2016-Nov-26 00:28:34
+0300]:
> The check assumes that we end on zero but actually we end on -1. Change
> the post-op to a pre-op so that we do end on z
The VPDMA (Video Port DMA) as found in devices such as DRA7xx is
used for both the Video Processing Engine (VPE) and the Video Input
Port (VIP).
In preparation for this we need to turn vpdma into its own
kernel module.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/pl
From: Harinarayan Bhatta <harinara...@ti.com>
Increasing max buffer height and width to allow for padded buffers.
Signed-off-by: Harinarayan Bhatta <harinara...@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
line average de-interlacing for first 2 frames
Benoit Parrot (16):
media: ti-vpe: vpdma: Make vpdma library into its own module
media: ti-vpe: vpdma: Add multi-instance and multi-client support
media: ti-vpe: vpdma: Add helper to set a background color
media: ti-vpe: vpdma: Fix bus error
motion based frames for a
total of N frames.
Signed-off-by: Archit Taneja <arc...@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 33 +++--
1 file chan
ndling source buffer lists.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 125 +---
1 file change
support for multi instances and multiple
clients has been added to VPDMA. Needed modification to the existing
helper functions were then reflected to VPE.
Multi-clients registers offset have also been added in preparation.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <
lt;nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 25 +
1 file changed, 17 insertions(+), 8 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.
of mutex as the list post is also called from
interrupt context.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 4
drivers/media/pl
Add a helper to set the background color during vpdma transfer.
This is needed when VPDMA is generating 32 bits RGB format
to have the Alpha channel set to an appropriate value.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
d
On DRA7 since l3_noc event are being reported it was found that
when the write descriptor was being written it was consistently
causing bus error events.
The write address was improperly programmed.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@
..@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
ind
crash.
Return NULL when the passed type is invalid.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 2 +-
1 file changed, 1 insertion(+), 1
easier
to allocate one list per client and let it use it. This way, the
list numbers need not be hard-coded into the driver.
Add support for allocating hwlist and maintain them with a priv data.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com&
..@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index ad838b8a98c4..9
l would make
sure that the context is re-initialized before it is being used by
the driver.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe
or max width and height.
Make use of different max width & height sets for different
of capture module (i.e. slices).
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/m
The VPDMA RGB data type definition have been updated
to match with Errata i839.
But some of the ARGB definition appeared to be wrong
in the document also. As they would yield RGBA instead.
They have been corrected based on experimentation.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
uffers even before DMA is
complete and also schedule next descriptor list.
Fix this by _actually_ handling the IRQ only when ListComplete IRQ
occurs.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <h
ti_vpe module currently does not get loaded automatically.
Added MODULE_DEVICE_TABLE hint to the driver to assist.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Reviewed-by: Javier Martinez Canillas <jav...@osg.samsung.com>
r.
Set the default color to make alpha component full when the dst
format is of RGB color space.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/pl
ent). It was decided
to explicitly label them CR to remove any confusion.
Bear in mind that the type label refer to the memory
packed order (LSB - MSB).
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/p
ed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/sc.c | 9 -
drivers/media/platform/ti-vpe/sc.h | 3 ---
2 files changed, 12 deletions(-)
diff --git a/d
y: Ravikumar Kattekola <r...@ti.com>
Signed-off-by: Ravi Babu <ravib...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/me
In preparation to add scaler support into VIP we need to
turn sc.c into its own kernel module.
Add support for multiple SC memory block as VIP contains
2 scaler instances.
This is done by passing the resource name to sc_create() and
modify the vpe invocation accordingly.
Signed-off-by: Benoit
dma before hand so that the race condition
is avoided.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 17 +
drivers/media/platform/t
array of channels for which
abort_channel descriptors should be posted. It is driver's responsibility
to post for all the channels or the channels which were used in the last
context.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acke
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/sc.c | 2 ++
1 fil
n.
When mapping/unmapping the buffer, driver has to take care of
WriteBack and invalidation of the cache so that all the
coherency is maintained from both directions.
Use DMA_BIDIRECTIONAL to maintain coherency between CPU and VPDMA.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
In preparation to add colorspace conversion support to VIP,
we need to turn csc.c into its own kernel module.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/Kconfig | 4
drivers/media/platform/ti-
.
RAW16 handles from 9 to 16 bits.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 23 +++
drivers/media/platform/ti-vpe/vpdma.h | 6 ++
2 files changed, 29 insertions(+)
-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 58 ++---
1 file changed, 48 insertions(+), 10 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/pla
otherwise the vb2 framework
will issue kernel WARN messages.
In this case we also give an error message.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/sc.h | 6
drivers/media/platform/ti-vp
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/csc.c | 2 ++
1 fil
Allow VPE to be able to export DMA buffer.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media
as upon aborting a
conversion.
Make sure every vb2 buffers is properly handled in all cases.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/platform/ti-vpe/vpe.c | 62 +++--
1 file changed, 6
From: Nikhil Devshatwar <nikhil...@ti.com>
VPDMA IRQs are registered for multiple lists
When clearing an IRQ for a list interrupt, all the
IRQs for the individual lists are to be cleared separately.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <
Hans Verkuil <hverk...@xs4all.nl> wrote on Mon [2016-Oct-17 16:14:35 +0200]:
> On 09/28/2016 11:20 PM, Benoit Parrot wrote:
> > From: Archit Taneja <arc...@ti.com>
> >
> > For n input fields, the VPE de-interlacer creates n - 2 progressive frames.
>
> Tha
Hans,
Thank you for taking the time to review my patches.
I'll update the patch set relating to your comments
and submit a v2 shortly.
Regards
Benoit
Hans Verkuil <hverk...@xs4all.nl> wrote on Mon [2016-Oct-17 16:35:01 +0200]:
> On 09/28/2016 11:16 PM, Benoit Parrot wrote:
> > Th
Hans Verkuil <hverk...@xs4all.nl> wrote on Mon [2016-Oct-17 16:17:15 +0200]:
> On 09/28/2016 11:20 PM, Benoit Parrot wrote:
> > From: Nikhil Devshatwar <nikhil...@ti.com>
> >
> > Current VPE driver does not start the job until all the buffers for
> > a t
Hans,
Thanks for the review.
Hans Verkuil <hverk...@xs4all.nl> wrote on Mon [2016-Oct-17 16:08:55 +0200]:
> On 09/28/2016 11:16 PM, Benoit Parrot wrote:
> > The VPDMA (Video Port DMA) as found in devices such as DRA7xx is
> > used for both the Video Processing Engine (VPE
Acked-by: Benoit Parrot <bpar...@ti.com>
Mauro Carvalho Chehab <mche...@s-opensource.com> wrote on Fri [2016-Oct-14
17:20:17 -0300]:
> Due to the 80-cols checkpatch warnings, several strings
> were broken into multiple lines. This is not considered
> a good practice anymor
l would make
sure that the context is re-initialized before it is being used by
the driver.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 4
1 file changed, 4 insertions(+)
diff --git
..@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index b66b55322dd4..17451237220c 100644
--- a/drivers/media/platf
array of channels for which
abort_channel descriptors should be posted. It is driver's responsibility
to post for all the channels or the channels which were used in the last
context.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
lt;nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 25 +
1 file changed, 17 insertions(+), 8 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index 000cd
ti_vpe module currently does not get loaded automatically.
Added MODULE_DEVICE_TABLE hint to the driver to assist.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/ti-vpe/vp
r.
Set the default color to make alpha component full when the dst
format is of RGB color space.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 22 --
1 file changed, 2
uffers even before DMA is
complete and also schedule next descriptor list.
Fix this by _actually_ handling the IRQ only when ListComplete IRQ
occurs.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.
crash.
Return NULL when the passed type is invalid.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/ti-vp
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/csc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platf
In preparation to add scaler support into VIP we need to
turn sc.c into its own kernel module.
Add support for multiple SC memory block as VIP contains
2 scaler instances.
This is done by passing the resource name to sc_create() and
modify the vpe invocation accordingly.
Signed-off-by: Benoit
In preparation to add colorspace conversion support to VIP,
we need to turn csc.c into its own kernel module.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/Kconfig | 4
drivers/media/platform/ti-vpe/Makefile | 4 +++-
drivers/media/platform/ti-vpe
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/sc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platf
as upon aborting a
conversion.
Make sure every vb2 buffers is properly handled in all cases.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 62 +++--
1 file changed, 60 insertions(+), 2 deletions(-)
diff --git a/drivers
Allow VPE to be able to export DMA buffer.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index 3e1b8b1ccb7c..875da06acd67
dma before hand so that the race condition
is avoided.
Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 17 +
drivers/media/platform/ti-vpe/vpdma.h | 2 +-
drivers/media/platform/ti-vpe/
y: Ravikumar Kattekola <r...@ti.com>
Signed-off-by: Ravi Babu <ravib...@ti.com>
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/t
.
RAW16 handles from 9 to 16 bits.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 23 +++
drivers/media/platform/ti-vpe/vpdma.h | 6 ++
2 files changed, 29 insertions(+)
diff --git a/drivers/media/platform/ti-vpe/vpdma.c
b/d
otherwise the vb2 framework
will issue kernel WARN messages.
In this case we also give an error message.
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/sc.h | 6
drivers/media/platform/ti-vpe/vpe.c | 71 -
2 files c
-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpe.c | 58 ++---
1 file changed, 48 insertions(+), 10 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index ae5acb5f42b8..c3ff7df780a9
ent). It was decided
to explicitly label them CR to remove any confusion.
Bear in mind that the type label refer to the memory
packed order (LSB - MSB).
Signed-off-by: Benoit Parrot <bpar...@ti.com>
---
drivers/media/platform/ti-vpe/vpdma.c | 18 ++
drivers/media/platfor
1 - 100 of 164 matches
Mail list logo