This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Wed Aug 9 05:00:14 CEST 2017
media-tree git hash:079c6eaf80d9fb6d9cea7ad71e590c8425c1b0fe
media_build gi
New fourcc codes have been added to support additional video
memory layout supported by Xilinx Video IP. These have been
added to the V4L2 framework with this patch.
Signed-off-by: Jeffrey Mouroux
---
drivers/media/v4l2-core/v4l2-ioctl.c | 9 +
1 file changed, 9 insertions(+)
diff --gi
This patch set is introduced to support a driver we are developing
for our new Video Framebuffer DMA IP, a DMA device that is "video format aware".
Clients need only specify memory layout information for a single plane
(i.e. luma) and then provide a video format code (e.g. YUV420) which will permit
The Xilinx Video Mixer andn Xilinx Video Framebuffer DMA IP
support video memory formats that are not represented in the
current V4L2 fourcc library. This patch adds those missing
fourcc codes.
Signed-off-by: Jeffrey Mouroux
---
include/uapi/linux/videodev2.h | 9 +
1 file changed, 9 in
Hi Julia,
Thank you for the patch.
On Tuesday 08 Aug 2017 12:58:27 Julia Lawall wrote:
> The v4l2_subdev_ops structure is only passed as the third argument of
> v4l2_i2c_subdev_init, which is const, so the v4l2_subdev_ops structure
> can be const as well. The other structures are only stored in
From: Daniel Scheller
Fixes prepatching wrt
commit 2bd8682375f3 ("media: media-device: remove driver_version"
and
commit 71269bf607bc ("media: uvc: don't set driver_version")
Signed-off-by: Daniel Scheller
---
backports/api_version.patch | 35 ---
1 file
On Tue, Aug 08, 2017 at 04:29:57PM +0300, Todor Tomov wrote:
> This patchset adds basic support for the Qualcomm Camera Subsystem found
> on Qualcomm MSM8916 and APQ8016 processors.
>
> The driver implements V4L2, Media controller and V4L2 subdev interfaces.
> Camera sensor using V4L2 subdev inter
Changes since v1: added MAINTAINERS patch.
Regards,
Hans
The following changes since commit 079c6eaf80d9fb6d9cea7ad71e590c8425c1b0fe:
media: v4l2-tpg: fix the SMPTE-2084 transfer function (2017-08-08 07:05:09
-0400)
are available in the git repository at:
git://linuxtv.org/hverku
Function of_clk_get() returns an ERR_PTR on failures. In file
mtk_mdp_commp.c, its return value is checked against NULL. Such checks
cannot prevent from accessing bad memory. This patch replaces the NULL
checks with IS_ERR checks.
Signed-off-by: Pan Bian
---
drivers/media/platform/mtk-mdp/mtk_md
Hi Todor,
On Tue, Aug 08, 2017 at 04:30:06PM +0300, Todor Tomov wrote:
...
> +static int video_start_streaming(struct vb2_queue *q, unsigned int count)
> +{
> + struct camss_video *video = vb2_get_drv_priv(q);
> + struct video_device *vdev = &video->vdev;
> + struct media_entity *entit
Le 08/08/2017 16:18, Hans Verkuil a écrit :
> Add entry to the MAINTAINERS file for the meson ao cec driver.
>
> Signed-off-by: Hans Verkuil
> ---
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 9826a918d37a..ed568e1ac856 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -8671,6 +8671,16 @@ F:
Add entry to the MAINTAINERS file for the meson ao cec driver.
Signed-off-by: Hans Verkuil
---
diff --git a/MAINTAINERS b/MAINTAINERS
index 9826a918d37a..ed568e1ac856 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8671,6 +8671,16 @@ F: drivers/leds/leds-menf21bmc.c
F: drivers/hwmon/men
This patchset adds basic support for the Qualcomm Camera Subsystem found
on Qualcomm MSM8916 and APQ8016 processors.
The driver implements V4L2, Media controller and V4L2 subdev interfaces.
Camera sensor using V4L2 subdev interface in the kernel is supported.
The driver is implemented using as a
Add a document to describe Qualcomm Camera Subsystem driver.
Signed-off-by: Todor Tomov
---
Documentation/media/v4l-drivers/qcom_camss.rst | 124 +
1 file changed, 124 insertions(+)
create mode 100644 Documentation/media/v4l-drivers/qcom_camss.rst
diff --git a/Documenta
Add an entry for Qualcomm Camera subsystem driver.
Signed-off-by: Todor Tomov
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index bdde944..87d0c7f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10996,6 +10996,14 @@ W:
http://wireless.k
These files control the ISPIF module which handles the routing of the data
streams from the CSIDs to the inputs of the VFE.
Signed-off-by: Todor Tomov
---
.../media/platform/qcom/camss-8x16/camss-ispif.c | 1164
.../media/platform/qcom/camss-8x16/camss-ispif.h | 85 ++
These files control the CSIPHY modules which are responsible for the
physical layer of the CSI2 receivers.
Signed-off-by: Todor Tomov
---
.../media/platform/qcom/camss-8x16/camss-csiphy.c | 823 +
.../media/platform/qcom/camss-8x16/camss-csiphy.h | 77 ++
2 files changed,
These files control the CSID modules which handle the protocol and
application layer of the CSI2 receivers.
Signed-off-by: Todor Tomov
---
.../media/platform/qcom/camss-8x16/camss-csid.c| 1003
.../media/platform/qcom/camss-8x16/camss-csid.h| 82 ++
2 files changed
From: Sakari Ailus
These formats are compressed 12-bit raw bayer formats with four different
pixel orders. They are similar to 10-bit variants. The formats added by
this patch are
V4L2_PIX_FMT_SBGGR12P
V4L2_PIX_FMT_SGBRG12P
V4L2_PIX_FMT_SGRBG12P
V4L2_PIX_FMT_SRGGB
Add DT binding document for Qualcomm Camera subsystem driver.
CC: Rob Herring
CC: devicet...@vger.kernel.org
Signed-off-by: Todor Tomov
Acked-by: Rob Herring
---
.../devicetree/bindings/media/qcom,camss.txt | 197 +
1 file changed, 197 insertions(+)
create mode 10064
These files control the VFE module. The VFE has different input
interfaces. The PIX input interface feeds the input data to an image
processing pipeline. Three RDI input interfaces bypass the image
processing pipeline. The VFE also contains the AXI bus interface which
writes the output data to memo
These files implement the platform driver code.
Signed-off-by: Todor Tomov
---
drivers/media/platform/qcom/camss-8x16/camss.c | 699 +
drivers/media/platform/qcom/camss-8x16/camss.h | 97
2 files changed, 796 insertions(+)
create mode 100644 drivers/media/platform/
These files handle the video device nodes of the camss driver.
Signed-off-by: Todor Tomov
---
.../media/platform/qcom/camss-8x16/camss-video.c | 681 +
.../media/platform/qcom/camss-8x16/camss-video.h | 64 ++
2 files changed, 745 insertions(+)
create mode 100644 driver
Update Qualcomm Camera Subsystem driver document for the PIX interface
and format conversion support.
Signed-off-by: Todor Tomov
---
Documentation/media/v4l-drivers/qcom_camss.rst | 46 --
1 file changed, 36 insertions(+), 10 deletions(-)
diff --git a/Documentation/media
Use VFE PIX input interface and do format conversion in VFE.
Supported input format is UYVY (single plane YUV 4:2:2) and
its different sample order variations.
Supported output formats are:
- NV12/NV21 (two plane YUV 4:2:0)
- NV16/NV61 (two plane YUV 4:2:2)
Signed-off-by: Todor Tomov
---
.../m
Add Makefile and update platform/Kconfig and platform/Makefile
to enable building of the QCom CAMSS driver.
Signed-off-by: Todor Tomov
---
drivers/media/platform/Kconfig | 7 +++
drivers/media/platform/Makefile | 2 ++
drivers/media/platform/qcom/camss-8x16
Add compose selection ioctls to handle scaling configuration.
Signed-off-by: Todor Tomov
---
drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 184 -
drivers/media/platform/qcom/camss-8x16/camss-vfe.h | 1 +
2 files changed, 183 insertions(+), 2 deletions(-)
diff --git
Add support for horizontal and vertical frame padding.
Signed-off-by: Todor Tomov
---
drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 85 +-
.../media/platform/qcom/camss-8x16/camss-video.c | 53 ++
.../media/platform/qcom/camss-8x16/camss-video.h | 2 +
Extend selection ioctls to handle cropping configuration.
Signed-off-by: Todor Tomov
---
drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 191 -
drivers/media/platform/qcom/camss-8x16/camss-vfe.h | 1 +
2 files changed, 150 insertions(+), 42 deletions(-)
diff --git a/d
Add scaler module configuration support to be able to apply scaling.
Signed-off-by: Todor Tomov
---
drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 59 +-
1 file changed, 46 insertions(+), 13 deletions(-)
diff --git a/drivers/media/platform/qcom/camss-8x16/camss-vfe.c
Update the Qualcomm Camera Subsystem driver document for VFE scale
and crop modules support.
Signed-off-by: Todor Tomov
---
Documentation/media/v4l-drivers/qcom_camss.rst | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/Documentation/media/v4l-drivers/qcom_camss
Add crop module configuration support to be able to apply cropping.
Signed-off-by: Todor Tomov
---
drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 41 +-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/qcom/camss-8x16/camss-vfe.c
b/d
Update the Qualcomm Camera Subsystem driver document with a media
controller pipeline graph diagram.
Signed-off-by: Todor Tomov
---
Documentation/media/v4l-drivers/qcom_camss.rst | 27 ++
.../media/v4l-drivers/qcom_camss_graph.dot | 41 ++
2 files chan
Use standard V4L2 control to get pixel clock rate from a sensor
linked in the media controller pipeline. Then calculate clock
rates on CSIPHY, CSID and VFE to use the lowest possible.
If the currnet pixel clock rate of the sensor cannot be read then
use the highest possible. This case covers also
On Fri, Jul 21, 2017 at 05:49:41PM +0200, Hugues Fruchet wrote:
> Fix missing mutex_destroy() when probe fails and
> when driver is removed.
>
> Signed-off-by: Hugues Fruchet
Thanks, applied both, with the subject changed to reflect the driver file
name (ov9550.c).
--
Sakari Ailus
e-mail: saka
On Wed, Aug 02, 2017 at 01:11:06AM -0700, Joe Perches wrote:
> On Wed, 2017-08-02 at 18:00 +1000, Sergei A. Trusov wrote:
> > The calloc function returns either a null pointer or a pointer to the
> > allocated space. Add the second case that is missed.
>
> gads.
>
> Bug added by commit da22013f7d
Hi Hans,
Here are the patches to the uvcvideo driver that I have queued for v4.14.
Guennadi Liakhovetski (2):
uvcvideo: Fix .queue_setup() to check the number of planes
uvcvideo: Convert from using an atomic variable to a reference count
Guenter Roeck (1):
uvcvideo: Prevent heap overflow w
From: Julia Lawall
uvc_subdev_ops is only passed as the second argument of
v4l2_subdev_init, which is const, so uvc_subdev_ops can be
const as well.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
Reviewed-by: Laurent Pinchart
---
drivers/media/usb/uvc/uvc_entity.c | 2 +-
1 fi
From: Guennadi Liakhovetski
When adding support for metadata nodes, we'll have to keep video
devices registered until all metadata nodes are closed too. Since
this has nothing to do with stream counting, replace the nstreams
atomic variable with a reference counter.
Signed-off-by: Guennadi Liakh
From: Guenter Roeck
The size of uvc_control_mapping is user controlled leading to a
potential heap overflow in the uvc driver. This adds a check to verify
the user provided size fits within the bounds of the defined buffer
size.
Cc: sta...@vger.kernel.org
Originally-from: Richard Simmons
Signed
From: Jim Lin
Section 9.2.6.4 of USB 2.0/3.x specification describes that
"device must be able to return the first data packet to host within
500 ms of receipt of the request. For subsequent data packet, if any,
the device must be able to return them within 500 ms".
This is to fix incorrect time
From: Guennadi Liakhovetski
According to documentation of struct vb2_ops the .queue_setup() callback
should return an error if the number of planes parameter contains an
invalid value on input. Fix this instead of ignoring the value.
Signed-off-by: Guennadi Liakhovetski
Reviewed-by: Laurent Pin
On Tue, 8 Aug 2017, Laurent Pinchart wrote:
> Hi Julia,
>
> Thank you for the patch.
>
> On Tuesday 08 Aug 2017 12:58:32 Julia Lawall wrote:
> > uvc_subdev_ops is only passed as the second argument of
> > v4l2_subdev_init, which is const, so uvc_subdev_ops can be
> > const as well.
> >
> > Done
Hi Julia,
Thank you for the patch.
On Tuesday 08 Aug 2017 12:58:32 Julia Lawall wrote:
> uvc_subdev_ops is only passed as the second argument of
> v4l2_subdev_init, which is const, so uvc_subdev_ops can be
> const as well.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall
On 08/08/2017 12:58 PM, Julia Lawall wrote:
The v4l2_subdev_ops structures are only passed as the second
argument of v4l2_subdev_init, which is const, so the
v4l2_subdev_ops structures can be const as well.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
Reviewed-by: Sylwester N
On Mon, 2017-08-07 at 21:44 +0800, Geliang Tang wrote:
> Use kvmalloc()/kvzalloc() instead of atomisp_kernel_malloc()
> /atomisp_kernel_zalloc().
>
> Signed-off-by: Geliang Tang
Definitely better now we have kvmalloc/kvzalloc.
Thanks
Alan
On Tue, Aug 08, 2017 at 08:56:14AM -0300, Fabio Estevam wrote:
> Hi Sakari,
>
> On Tue, Aug 8, 2017 at 8:24 AM, Sakari Ailus wrote:
>
> > I don't think -EPROBE_DEFER is returned by clk_get() if the clock can't be
> > found. The clock providers often are e.g. ISP drivers that may well be
>
> Yes
Hi!
Most of CSI-1 / N900 camera support is there in linux-next tree:
patches marked "n" are in, unmarked patches are only in Sakari's tree.
Is there something I can do to help merging patches to linux-next? We
are quite close, and it would be nice to have camera support in v4.14...
Thanks,
Hi Sakari,
On Tue, Aug 8, 2017 at 8:24 AM, Sakari Ailus wrote:
> I don't think -EPROBE_DEFER is returned by clk_get() if the clock can't be
> found. The clock providers often are e.g. ISP drivers that may well be
Yes, it is.
Please check:
commit a34cd4666f3da84228a82f70c94b8d9b692034ea
Author
From: Tony K Nadackal
In case of corrupt images, multiple interrupts may occur
due to different error scenarios.
Since we are removing the src and dest buffers in the first
interrupt itself, crash occurs in the second error interrupts.
Disable the global interrupt before we start processing
the
From: Tony K Nadackal
Bits EXYNOS4_DEC_MODE and EXYNOS4_ENC_MODE do not get cleared
on software reset. These bits need to be cleared explicitly.
Even though the bits in question are already cleared in interrupt
service routine, the reset should also clear them in case e.g.
bootloader uses the co
Clearing the bits turns off the encoder/decoder. If the hardware
is not turned off after use, at subsequent uses it does not
work in a stable manner, resulting in incorrect interrupt status
value being read and e.g. erroneous read of compressed bitstream size.
Signed-off-by: Andrzej Pietrasiewicz
The value to be processed must be first masked and then shifted,
not the other way round.
Signed-off-by: Andrzej Pietrasiewicz
---
drivers/media/platform/s5p-jpeg/jpeg-regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-regs.h
b/driver
On 5433 variant JPEG data is parsed by hardware only from SOS marker,
so subsampling is parsed by software. As such, its value need not be
translated from hardware-specific encoding to V4L2 encoding.
Signed-off-by: Andrzej Pietrasiewicz
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 3 ++-
1
The v4l2_subdev_ops structure is only passed as the third argument of
v4l2_i2c_subdev_init, which is const, so the v4l2_subdev_ops structure
can be const as well. The other structures are only stored in the
v4l2_subdev_ops structure, all the fields of which are const, so these
structures can also
uvc_subdev_ops is only passed as the second argument of
v4l2_subdev_init, which is const, so uvc_subdev_ops can be
const as well.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/media/usb/uvc/uvc_entity.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
These structures are both stored in fields of v4l2_subdev_ops
structures, all of which are const, so these structures can be
const as well.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/staging/media/atomisp/i2c/ap1302.c |2 +-
drivers/staging/media/atomisp/i2c
The structures of type v4l2_subdev_ops are only passed as the second
argument of v4l2_subdev_init or as the third argument of
v4l2_i2c_subdev_init, both of which are const. The structures of type
v4l2_subdev_core_ops, v4l2_subdev_pad_ops, v4l2_subdev_sensor_ops,
v4l2_subdev_video_ops are only stor
These structures are all only stored in fields of v4l2_subdev_ops
structures, all of which are const, so these structures can be const
as well.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/media/platform/vimc/vimc-debayer.c |2 +-
drivers/media/platform/vimc/vi
The v4l2_subdev_ops structures are only passed as the second
argument of v4l2_subdev_init, which is const, so the
v4l2_subdev_ops structures can be const as well.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/media/platform/exynos4-is/fimc-isp.c |2 +-
drivers/
The v4l2_subdev_ops structure is only passed as the third argument
of v4l2_i2c_subdev_init, which is const, so the v4l2_subdev_ops
structure can be const as well. The other structures are only
stored in the v4l2_subdev_ops structure, all the fields of which are
const, so these structures can also
On Wed, Jul 19, 2017 at 12:34:18AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam
>
> When devm_clk_get() fails the real error code should be propagated,
> instead of always returning -EPROBE_DEFER.
>
> Signed-off-by: Fabio Estevam
Hi Fabio,
I don't think -EPROBE_DEFER is returned by clk_g
Hi All,
This series contains a number of fixes to the s5p-jpeg driver.
There are two patches from Tony K Nadackal, which got lost long time ago.
@Thierry:
The patch changing the software reset routine you sent recently was
actually a resend of Tony's patch. I investigated the question why
this p
The SMPTE-2084 transfer functions maps to the luminance range of 0-1 cd/m^2.
Other transfer functions use the traditional range of 0-100 cd/m^2.
I didn't take this into account so the luminance was off by a factor of 100.
Since qv4l2 made the same mistake in reverse I never noticed this until
On Fri, Aug 04, 2017 at 02:09:45PM +0200, Julia Lawall wrote:
> These videobuf_queue_ops structures are only passed as the second
> argument to videobuf_queue_vmalloc_init, which is declared as const.
> Thus the videobuf_queue_ops structures themselves can be const.
>
> Done with the help of Cocci
On Sat, Jul 29, 2017 at 12:00:39AM -0700, Chiranjeevi Rapolu wrote:
> Previously both link-frequency and pixel-rate reported by
> the sensor was incorrect, resulting in incorrect FPS.
> Report link-frequency in Hz rather than link data rate in bps.
> Calculate pixel-rate from link-frequency.
>
> S
Em Fri, 28 Jul 2017 15:05:07 +0200
Hans Verkuil escreveu:
> The following changes since commit da48c948c263c9d87dfc64566b3373a858cc8aa2:
>
> media: fix warning on v4l2_subdev_call() result interpreted as bool
> (2017-07-26 13:43:17 -0400)
>
> are available in the git repository at:
>
> gi
On Mon, Aug 07, 2017 at 06:26:44PM +0100, Andrey Utkin wrote:
> Hi Anton,
>
Hi
> > @@ -90,16 +93,110 @@ static void solo_gpio_config(struct solo_dev *solo_dev)
> >
>
> > /* Initially set relay status to 0 */
>
> Do you mean that relay is initially disabled?
> Maybe a rewording would make
Em Fri, 28 Jul 2017 09:38:52 +0200
Hans Verkuil escreveu:
> Hi Mauro,
>
> Here are various documentation fixes/improvements.
>
> The first patch renames the old pixfmt-0XX.rst files to something I can
> understand since I could never find the right rst file for the colorspace
> documentation...
Em Wed, 26 Jul 2017 20:45:55 +0200
Hans Verkuil escreveu:
> The SMPTE-2084 transfer functions maps to the luminance range of 0-1
> cd/m^2.
> Other transfer functions use the traditional range of 0-100 cd/m^2.
>
> I didn't take this into account so the luminance was off by a factor of 100.
>
On 07/08/17 22:58, Sean Young wrote:
> On Mon, Aug 07, 2017 at 03:31:24PM +0200, Hans Verkuil wrote:
>> From: Hans Verkuil
>>
>> The 'Press and Hold' operation was not correctly implemented, in
>> particular the requirement that the repeat doesn't start until
>> the second identical keypress arriv
71 matches
Mail list logo