Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Takashi Iwai
On Mon, 20 Jun 2016 17:21:26 +0200, Richard Cochran wrote: > > On Mon, Jun 20, 2016 at 02:31:48PM +0200, Richard Cochran wrote: > > Where is this "audio_time" program of which you speak? > > Never mind, found it in alsa-lib. > > I still would appreciate an answer to my other questions,

Re: [PATCH 10/12] lguest: Only descend into lguest directory when CONFIG_LGUEST is set

2016-06-20 Thread Rusty Russell
"Andrew F. Davis" writes: > When CONFIG_LGUEST is not set make will still descend into the lguest > directory but nothing will be built. This produces unneeded build > artifacts and messages in addition to slowing the build. Fix this here. > > Signed-off-by: Andrew F. Davis

cron job: media_tree daily build: OK

2016-06-20 Thread Hans Verkuil
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: Tue Jun 21 04:00:24 CEST 2016 git branch: test git hash: 59f0bc11848f8f3242bc1fefae670e745929cd7b gcc

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Takashi Sakamoto
On 2016年06月20日 18:06, Henrik Austad wrote: On Sun, Jun 19, 2016 at 11:45:47PM +0900, Takashi Sakamoto wrote: (remove C.C. to lkml. This is not so major feature.) On Jun 19 2916 07:45, Henrik Austad wrote: snip 802.1Q gives you low latency through the network, but more importantly, no dropped

Re: [PATCH 0/3] dma-buf: debugfs fixes

2016-06-20 Thread Sumit Semwal
Hi Mathias, On 19 June 2016 at 18:01, Mathias Krause wrote: > This small series is the v2 of the patch posted initially here: > > http://www.spinics.net/lists/linux-media/msg101347.html > > It not only fixes the type mix-up and addresses Daniel's remark (patch 1), > it

Re: [PATCH v2 1/7] v4l: Correct the ordering of LSBs of the 10-bit raw packed formats

2016-06-20 Thread Dave Stevenson
Hi Hans. On 20/06/16 18:03, Hans Verkuil wrote: On 06/20/2016 06:20 PM, Sakari Ailus wrote: The 10-bit packed raw bayer format documented that the data of the first pixel of a four-pixel group was found in the first byte and the two highest bits of the fifth byte. This was not entirely

[PATCH] leds: Add no-op gpio_led_register_device when LED subsystem is disabled

2016-06-20 Thread Andrew F. Davis
Some systems use 'gpio_led_register_device' to make an in-memory copy of their LED device table so the original can be removed as .init.rodata. When the LED subsystem is not enabled source in the led directory is not built and so this function may be undefined. Fix this here. Signed-off-by:

Re: [PATCH v3 1/2] media: Driver for Toshiba et8ek8 5MP sensor

2016-06-20 Thread Sakari Ailus
Hi Pali, On Sat, Jun 18, 2016 at 05:37:33PM +0200, Pali Rohár wrote: > On Saturday 18 June 2016 17:22:59 Pavel Machek wrote: > > > +/* > > > + * > > > + * Stingray sensor mode settings for Scooby > > > + * > > > + * > > > + */ > > > > I'd fix it to normal comment style... and possibly remove it.

Re: Nokia N900 cameras -- pipeline setup in python (was Re: [RFC PATCH 00/24] Make Nokia N900 cameras working)

2016-06-20 Thread Sakari Ailus
Hi Pavel, On Fri, Jun 17, 2016 at 07:12:14PM +0200, Pavel Machek wrote: > Hi! > > > First, I re-did pipeline setup in python, it seems slightly less hacky > > then in shell. > > > > I tried to modify fcam-dev to work with the new interface, but was not > > successful so far. I can post patches

[PATCH 07/12] drivers/media: Employ atomic_fetch_inc()

2016-06-20 Thread Davidlohr Bueso
Now that we have fetch_inc() we can stop using inc_return() - 1. These are very similar to the existing OP-RETURN primitives we already have, except they return the value of the atomic variable _before_ modification. Cc: Hans Verkuil Cc: Andy Walls

[PATCH 19/24] v4l: vsp1: clu: Support runtime modification of controls

2016-06-20 Thread Laurent Pinchart
Allow reconfiguration of the look-up table and processing mode at runtime. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_clu.c | 41 +- drivers/media/platform/vsp1/vsp1_clu.h | 4 2 files

[PATCH 18/24] v4l: vsp1: lut: Support runtime modification of controls

2016-06-20 Thread Laurent Pinchart
Allow reconfiguration of the look-up table at runtime. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_lut.c | 25 +++-- drivers/media/platform/vsp1/vsp1_lut.h | 3 +++ 2 files changed, 18 insertions(+), 10

[PATCH 01/24] v4l: Add metadata buffer type and format

2016-06-20 Thread Laurent Pinchart
The metadata buffer type is used to transfer metadata between userspace and kernelspace through a V4L2 buffers queue. It comes with a new metadata capture capability and format description. Signed-off-by: Laurent Pinchart ---

[PATCH 00/24] R-Car VSP1: Histogram, look-up table and flip support

2016-06-20 Thread Laurent Pinchart
Hello, Here's my current set of pending VSP1 patches, based on top of the "[PATCH v2 00/13] R-Car VSP improvements for v4.7 - Round 2" series. For convenience I've pushed the patches and their dependencies to git://linuxtv.org/pinchartl/media.git vsp1/flip The series contains new

[PATCH 20/24] v4l: vsp1: Simplify alpha propagation

2016-06-20 Thread Laurent Pinchart
We don't need to walk the pipeline when propagating the alpha value as all the information needed for propagation is already available from the pipeline structure. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 42

[PATCH 23/24] v4l: vsp1: Constify operation structures

2016-06-20 Thread Laurent Pinchart
The structures are never modified, make them const. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c | 4 ++-- drivers/media/platform/vsp1/vsp1_clu.c | 4 ++-- drivers/media/platform/vsp1/vsp1_hgo.c | 4 ++--

[PATCH 21/24] v4l: vsp1: rwpf: Support runtime modification of controls

2016-06-20 Thread Laurent Pinchart
Allow reconfiguration of the alpha value at runtime. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_rpf.c | 21 - drivers/media/platform/vsp1/vsp1_rwpf.c | 2 -- drivers/media/platform/vsp1/vsp1_rwpf.h | 3

[PATCH 24/24] v4l: vsp1: Stop the pipeline upon the first STREAMOFF

2016-06-20 Thread Laurent Pinchart
The device is stopped when STREAMOFF is called on the last video node in the pipeline. This results in possible memory corruption and/or crashes, as userspace could free buffers while the hardware is still writing to them, and the frame completion interrupt handler could try to access buffers that

[PATCH 14/24] v4l: vsp1: lut: Expose configuration through a control

2016-06-20 Thread Laurent Pinchart
Replace the custom ioctl with a V4L2 control in order to standardize the API. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_lut.c | 76 +++--- drivers/media/platform/vsp1/vsp1_lut.h | 6 +--

[PATCH 15/24] v4l: vsp1: Add Cubic Look Up Table (CLU) support

2016-06-20 Thread Laurent Pinchart
The CLU processing block is a 2D/3D lookup table that converts the input three color component data into desired three color components using a lookup table. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/Makefile | 2 +-

[PATCH 22/24] v4l: vsp1: wpf: Add flipping support

2016-06-20 Thread Laurent Pinchart
Vertical flipping is available on both Gen2 and Gen3, while horizontal flipping is only available on Gen3. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1.h | 2 + drivers/media/platform/vsp1/vsp1_drv.c | 15 ++--

[PATCH 16/24] v4l: vsp1: sru: Fix intensity control ID

2016-06-20 Thread Laurent Pinchart
The intensity control reused the V4L2_CID_CONTRAST control ID by mistake. Fix it by using an ID from the device-specific IDs range. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_sru.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 17/24] v4l: vsp1: Support runtime modification of controls

2016-06-20 Thread Laurent Pinchart
Controls are applied to the hardware in the configure operation of the VSP entities, which is only called when starting the video stream. To enable runtime modification of controls we need to call the configure operations for every frame. Doing so is currently not safe, as most parameters

[PATCH 07/24] v4l: vsp1: Base link creation on availability of entities

2016-06-20 Thread Laurent Pinchart
Check the entity pointer instead of the feature flag to see if the entity is available before creating related links. The two methods are currently equivalent, but will differ in the future as we implement support for ignoring some of the entities present in the hardware. Signed-off-by: Laurent

[PATCH 11/24] v4l: vsp1: pipe: Fix typo in comment

2016-06-20 Thread Laurent Pinchart
The vsp1_pipeline wq field is a wait queue, not a work queue. Fix the comment accordingly. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 09/24] v4l: vsp1: Don't create LIF entity when the userspace API is enabled

2016-06-20 Thread Laurent Pinchart
The LIF is only used when feeding the VSP output to the DU. The only way to do so is by controlling the VSP directly from the DU driver and disabling the VSP userspace API. There is thus no need to create a LIF entity when the userspace API is enabled, as it can't be used in that case.

[PATCH 12/24] v4l: vsp1: dl: Don't free fragments with interrupts disabled

2016-06-20 Thread Laurent Pinchart
Freeing a fragment requires freeing DMA coherent memory, which can be performed with interrupts disabled as per the DMA mapping API contract. The fragments can't thus be freed synchronously when a display list is recycled. Instead, move the fragments to a garbage list and use a work queue to run

[PATCH 02/24] v4l: Define a pixel format for the R-Car VSP1 1-D histogram engine

2016-06-20 Thread Laurent Pinchart
The format is used on the R-Car VSP1 video queues that carry 1-D histogram statistics data. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus --- .../DocBook/media/v4l/pixfmt-meta-vsp1-hgo.xml | 307

[PATCH 04/24] v4l: vsp1: Don't create HGO entity when the userspace API is disabled

2016-06-20 Thread Laurent Pinchart
The HGO is never used in the DRM pipeline, there is thus no need to create an HGO entity when the userspace API is disabled. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drv.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 03/24] v4l: vsp1: Add HGO support

2016-06-20 Thread Laurent Pinchart
The HGO is a Histogram Generator One-Dimension. It computes per-channel histograms over a configurable region of the image with optional subsampling. Signed-off-by: Laurent Pinchart --- drivers/media/platform/Kconfig| 1 +

[PATCH 10/24] v4l: vsp1: Set entities functions

2016-06-20 Thread Laurent Pinchart
Initialize the function field of all subdev entities instantiated by the driver. This gets rids of multiple warnings printed by the media controller core. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 3 ++-

[PATCH 08/24] v4l: vsp1: Don't register media device when userspace API is disabled

2016-06-20 Thread Laurent Pinchart
The media device doesn't need to be exposed to userspace when the VSP is fully controlled by the DU driver. Don't register it in that case. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drv.c | 16 +--- 1 file

[PATCH 05/24] media: Add video processing entity functions

2016-06-20 Thread Laurent Pinchart
Add composer, pixel formatter, pixel encoding converter and scaler functions. Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil Acked-by: Sakari Ailus ---

[PATCH 06/24] media: Add video statistics computation functions

2016-06-20 Thread Laurent Pinchart
The video statistics function describes entities such as video histogram engines or 3A statistics engines. Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil Acked-by: Sakari Ailus ---

[PATCH 13/24] v4l: vsp1: lut: Initialize the mutex

2016-06-20 Thread Laurent Pinchart
The LUT mutex isn't initialized when creating the LUT, fix it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_lut.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/vsp1/vsp1_lut.c

Re: [PATCH v2.1 5/5] media: Support variable size IOCTL arguments

2016-06-20 Thread Sakari Ailus
Hi Hans, On Fri, Jun 17, 2016 at 06:21:05PM +0200, Hans Verkuil wrote: > On 05/05/2016 01:06 AM, Sakari Ailus wrote: > > Instead of checking for a strict size for the IOCTL arguments, place > > minimum and maximum limits. > > > > As an additional bonus, IOCTL handlers will be able to check

Re: Nokia N900 cameras -- pipeline setup in python (was Re: [RFC PATCH 00/24] Make Nokia N900 cameras working)

2016-06-20 Thread Pavel Machek
On Fri 2016-06-17 19:12:14, Pavel Machek wrote: > Hi! > > > First, I re-did pipeline setup in python, it seems slightly less hacky > > then in shell. > > > > I tried to modify fcam-dev to work with the new interface, but was not > > successful so far. I can post patches if someone is interested

Re: [PATCH v2 1/7] v4l: Correct the ordering of LSBs of the 10-bit raw packed formats

2016-06-20 Thread Hans Verkuil
On 06/20/2016 06:20 PM, Sakari Ailus wrote: > The 10-bit packed raw bayer format documented that the data of the first > pixel of a four-pixel group was found in the first byte and the two > highest bits of the fifth byte. This was not entirely correct. The two > bits in the fifth byte are the two

Re: [PATCH v2 2/7] v4l: Fix number of zeroed high order bits in 12-bit raw format defs

2016-06-20 Thread Hans Verkuil
On 06/20/2016 06:20 PM, Sakari Ailus wrote: > The number of high order bits in samples was documented to be 6 for 12-bit > data. This is clearly wrong, fix it. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Hans > --- >

Re: [PATCH v2 3/7] v4l: Clean up raw bayer pixel format definitions

2016-06-20 Thread Hans Verkuil
On 06/20/2016 06:20 PM, Sakari Ailus wrote: > - Explicitly state that the most significant n bits are zeroed on 10 and > 12 bpp formats. > - Remove extra comma from the last entry of the format list > - Add a missing colon before a list > > Signed-off-by: Sakari Ailus

[PATCH v2 1/7] v4l: Correct the ordering of LSBs of the 10-bit raw packed formats

2016-06-20 Thread Sakari Ailus
The 10-bit packed raw bayer format documented that the data of the first pixel of a four-pixel group was found in the first byte and the two highest bits of the fifth byte. This was not entirely correct. The two bits in the fifth byte are the two lowest bits. The second pixel occupies the second

Re: [PATCH 3/3] dma-buf: remove dma_buf_debugfs_create_file()

2016-06-20 Thread Mathias Krause
On 20 June 2016 at 15:31, Daniel Vetter wrote: > On Sun, Jun 19, 2016 at 02:31:31PM +0200, Mathias Krause wrote: >> [...] >> With no users left, we can remove dma_buf_debugfs_create_file(). >> >> While at it, simplify the error handling in dma_buf_init_debugfs() >> slightly. >>

[PATCH v2 6/7] v4l: Add 14-bit raw bayer pixel format definitions

2016-06-20 Thread Sakari Ailus
The formats added by this patch are: V4L2_PIX_FMT_SBGGR14 V4L2_PIX_FMT_SGBRG14 V4L2_PIX_FMT_SGRBG14 V4L2_PIX_FMT_SRGGB14 Signed-off-by: Jouni Ukkonen Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil

[PATCH v2 5/7] media: Add 1X14 14-bit raw bayer media bus code definitions

2016-06-20 Thread Sakari Ailus
From: Jouni Ukkonen The codes will be called: MEDIA_BUS_FMT_SBGGR14_1X14 MEDIA_BUS_FMT_SGBRG14_1X14 MEDIA_BUS_FMT_SGRBG14_1X14 MEDIA_BUS_FMT_SRGGB14_1X14 Signed-off-by: Jouni Ukkonen Signed-off-by: Sakari Ailus

[PATCH v2 0/7] New raw bayer format definitions, fixes

2016-06-20 Thread Sakari Ailus
Hi all, These patches fix and add new raw bayer format definitions. 12-bit packed V4L2 format definition is added as well as definitions of 14-bit media bus codes as well as unpacked and packed V4L2 formats. No driver uses them right now, yet they're common formats needed by newer devices that

[PATCH v2 7/7] v4l: Add packed Bayer raw14 pixel formats

2016-06-20 Thread Sakari Ailus
These formats are compressed 14-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_SBGGR14P V4L2_PIX_FMT_SGBRG14P V4L2_PIX_FMT_SGRBG14P V4L2_PIX_FMT_SRGGB14P Signed-off-by:

[PATCH v2 3/7] v4l: Clean up raw bayer pixel format definitions

2016-06-20 Thread Sakari Ailus
- Explicitly state that the most significant n bits are zeroed on 10 and 12 bpp formats. - Remove extra comma from the last entry of the format list - Add a missing colon before a list Signed-off-by: Sakari Ailus ---

[PATCH v2 4/7] v4l: Add packed Bayer raw12 pixel formats

2016-06-20 Thread 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_SRGGB12P Signed-off-by:

Re: [PATCH v4 8/9] Input: atmel_mxt_ts - add support for reference data

2016-06-20 Thread Hans Verkuil
On 06/20/2016 06:18 PM, Nick Dyer wrote: > On 20/06/2016 17:09, Hans Verkuil wrote: >> On 06/17/2016 04:16 PM, Nick Dyer wrote: >>> @@ -2325,11 +2344,20 @@ static int mxt_vidioc_querycap(struct file *file, >>> void *priv, >>> static int mxt_vidioc_enum_input(struct file *file, void *priv, >>>

[PATCH v2 2/7] v4l: Fix number of zeroed high order bits in 12-bit raw format defs

2016-06-20 Thread Sakari Ailus
The number of high order bits in samples was documented to be 6 for 12-bit data. This is clearly wrong, fix it. Signed-off-by: Sakari Ailus --- Documentation/DocBook/media/v4l/pixfmt-srggb12.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 9/9] Input: synaptics-rmi4 - add support for F54 diagnostics

2016-06-20 Thread Hans Verkuil
On 06/17/2016 04:16 PM, Nick Dyer wrote: > Function 54 implements access to various RMI4 diagnostic features. > > This patch adds support for retrieving this data. It registers a V4L2 > device to output the data to user space. > > Signed-off-by: Nick Dyer > --- >

Re: [PATCH v4 8/9] Input: atmel_mxt_ts - add support for reference data

2016-06-20 Thread Nick Dyer
On 20/06/2016 17:09, Hans Verkuil wrote: > On 06/17/2016 04:16 PM, Nick Dyer wrote: >> @@ -2325,11 +2344,20 @@ static int mxt_vidioc_querycap(struct file *file, >> void *priv, >> static int mxt_vidioc_enum_input(struct file *file, void *priv, >> struct v4l2_input

Re: [PATCH v4 8/9] Input: atmel_mxt_ts - add support for reference data

2016-06-20 Thread Hans Verkuil
On 06/17/2016 04:16 PM, Nick Dyer wrote: > There are different datatypes available from a maXTouch chip. Add > support to retrieve reference data as well. > > Signed-off-by: Nick Dyer > --- > drivers/input/touchscreen/atmel_mxt_ts.c | 58 >

Re: [PATCH 5/6] v4l: Add 14-bit raw bayer pixel format definitions

2016-06-20 Thread Hans Verkuil
On 06/20/2016 06:03 PM, Sakari Ailus wrote: > Hi Hans, > > Hans Verkuil wrote: >> On 05/27/2016 02:44 PM, Sakari Ailus wrote: >>> The formats added by this patch are: >>> >>> V4L2_PIX_FMT_SBGGR14 >>> V4L2_PIX_FMT_SGBRG14 >>> V4L2_PIX_FMT_SGRBG14 >>> V4L2_PIX_FMT_SRGGB14 >>> >>>

Re: [PATCH 5/6] v4l: Add 14-bit raw bayer pixel format definitions

2016-06-20 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: > On 05/27/2016 02:44 PM, Sakari Ailus wrote: >> The formats added by this patch are: >> >> V4L2_PIX_FMT_SBGGR14 >> V4L2_PIX_FMT_SGBRG14 >> V4L2_PIX_FMT_SGRBG14 >> V4L2_PIX_FMT_SRGGB14 >> >> Signed-off-by: Jouni Ukkonen >>

[PATCH] [media] staging: davinci_vpfe: fix W=1 build warnings

2016-06-20 Thread Arnd Bergmann
When building with "make W=1", we get multiple harmless build warnings for the vpfe driver: drivers/staging/media/davinci_vpfe/dm365_resizer.c:241:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] drivers/staging/media/davinci_vpfe/dm365_resizer.c: In function

[PATCH v4] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2016-06-20 Thread Arnd Bergmann
C libraries with 64-bit time_t use an incompatible format for struct omap3isp_stat_data. This changes the kernel code to support either version, by moving over the normal handling to the 64-bit variant, and adding compatiblity code to handle the old binary format with the existing ioctl command

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Richard Cochran
On Mon, Jun 20, 2016 at 02:31:48PM +0200, Richard Cochran wrote: > Where is this "audio_time" program of which you speak? Never mind, found it in alsa-lib. I still would appreciate an answer to my other questions, though... Thanks, Richard -- To unsubscribe from this list: send the line

Re: [PATCH 3/6] v4l: Add packed Bayer raw12 pixel formats

2016-06-20 Thread Sakari Ailus
Hi Hans, Thanks for the review! Hans Verkuil wrote: > On 05/27/2016 02:44 PM, Sakari Ailus wrote: >> 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 >> >>

Re: [PATCH 1/6] v4l: Correct the ordering of LSBs of the 10-bit raw packed formats

2016-06-20 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: > On 05/27/2016 02:44 PM, Sakari Ailus wrote: >> The 10-bit packed raw bayer format documented that the data of the first >> pixel of a four-pixel group was found in the first byte and the two >> highest bits of the fifth byte. This was not entirely correct. The two

Re: [PATCH 6/6] v4l: Add packed Bayer raw14 pixel formats

2016-06-20 Thread Hans Verkuil
On 05/27/2016 02:44 PM, Sakari Ailus wrote: > These formats are compressed 14-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_SBGGR14P > V4L2_PIX_FMT_SGBRG14P >

Re: [PATCH 4/6] media: Add 1X14 14-bit raw bayer media bus code definitions

2016-06-20 Thread Hans Verkuil
On 05/27/2016 02:44 PM, Sakari Ailus wrote: > From: Jouni Ukkonen > > The codes will be called: > > MEDIA_BUS_FMT_SBGGR14_1X14 > MEDIA_BUS_FMT_SGBRG14_1X14 > MEDIA_BUS_FMT_SGRBG14_1X14 > MEDIA_BUS_FMT_SRGGB14_1X14 > > Signed-off-by: Jouni

Re: [PATCH 3/6] v4l: Add packed Bayer raw12 pixel formats

2016-06-20 Thread Hans Verkuil
On 05/27/2016 02:44 PM, Sakari Ailus wrote: > 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 >

Re: [PATCH 5/6] v4l: Add 14-bit raw bayer pixel format definitions

2016-06-20 Thread Hans Verkuil
On 05/27/2016 02:44 PM, Sakari Ailus wrote: > The formats added by this patch are: > > V4L2_PIX_FMT_SBGGR14 > V4L2_PIX_FMT_SGBRG14 > V4L2_PIX_FMT_SGRBG14 > V4L2_PIX_FMT_SRGGB14 > > Signed-off-by: Jouni Ukkonen > Signed-off-by: Sakari Ailus

Re: [PATCH 1/6] v4l: Correct the ordering of LSBs of the 10-bit raw packed formats

2016-06-20 Thread Hans Verkuil
On 05/27/2016 02:44 PM, Sakari Ailus wrote: > The 10-bit packed raw bayer format documented that the data of the first > pixel of a four-pixel group was found in the first byte and the two > highest bits of the fifth byte. This was not entirely correct. The two > bits in the fifth byte are the two

Re: [PATCH 2/6] v4l: Fix number of zeroed high order bits in 12-bit raw format defs

2016-06-20 Thread Hans Verkuil
On 05/27/2016 02:44 PM, Sakari Ailus wrote: > The number of high order bits in samples was documented to be 6 for 12-bit > data. This is clearly wrong, fix it. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Thanks, Hans >

bug: dvbv5-scan fails on HD transponder (dvb-s2)

2016-06-20 Thread Robert Logan
Card/scan works fine picking up non-HD. Never getting any HD channels. UK based. STB picks up all channels fine. Transponder details from Astra-28.2E dvb-s, and matches BBC details. On latest clone of master git repo, using only BBCHD transponder: # Transponder 50 [CHANNEL]

Re: [PATCH v3 2/4] vb2: Merge vb2_internal_dqbuf and vb2_dqbuf

2016-06-20 Thread Sakari Ailus
On Mon, Jun 20, 2016 at 02:47:23PM +0200, Ricardo Ribalda Delgado wrote: > After all the code refactoring, vb2_internal_dqbuf is only called by > vb2_dqbuf. > > Since the function it is very simple, there is no need to have two > functions. > > Signed-off-by: Ricardo Ribalda Delgado

Re: [Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Pekka Paalanen
On Mon, 20 Jun 2016 09:45:26 -0400 Rob Clark wrote: > On Mon, Jun 20, 2016 at 8:37 AM, Pekka Paalanen wrote: > > On Fri, 17 Jun 2016 11:44:34 -0400 > > Rob Clark wrote: > > > >> On Fri, Jun 17, 2016 at 9:31 AM, Pekka Paalanen

Re: [Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Rob Clark
On Mon, Jun 20, 2016 at 8:37 AM, Pekka Paalanen wrote: > On Fri, 17 Jun 2016 11:44:34 -0400 > Rob Clark wrote: > >> On Fri, Jun 17, 2016 at 9:31 AM, Pekka Paalanen wrote: >> > On Fri, 17 Jun 2016 08:26:04 -0400 >> > Rob Clark

Re: [PATCH 3/3] dma-buf: remove dma_buf_debugfs_create_file()

2016-06-20 Thread Daniel Vetter
On Sun, Jun 19, 2016 at 02:31:31PM +0200, Mathias Krause wrote: > There is only a single user of dma_buf_debugfs_create_file() and that > one got the function pointer cast wrong. With that one fixed, there is > no need to have a wrapper for debugfs_create_file(), just call it > directly. > > With

Re: [PATCH 1/3] dma-buf: propagate errors from dma_buf_describe() on debugfs read

2016-06-20 Thread Daniel Vetter
On Sun, Jun 19, 2016 at 02:31:29PM +0200, Mathias Krause wrote: > The callback function dma_buf_describe() returns an int not void so the > function pointer cast in dma_buf_show() is wrong. dma_buf_describe() can > also fail when acquiring the mutex gets interrupted so always returning > 0 in

[PATCH v3 2/4] vb2: Merge vb2_internal_dqbuf and vb2_dqbuf

2016-06-20 Thread Ricardo Ribalda Delgado
After all the code refactoring, vb2_internal_dqbuf is only called by vb2_dqbuf. Since the function it is very simple, there is no need to have two functions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-v4l2.c | 39

[PATCH v3 4/4] vb2: Fix comment

2016-06-20 Thread Ricardo Ribalda Delgado
The comment was referencing the wrong function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c

[PATCH v3 1/4] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Ricardo Ribalda Delgado
According to the doc, V4L2_BUF_FLAG_DONE is cleared after DQBUF: V4L2_BUF_FLAG_DONE 0x0004 ... After calling the VIDIOC_QBUF or VIDIOC_DQBUF it is always cleared ... Unfortunately, it seems that videobuf2 keeps it set after DQBUF. This can be tested with vivid and dev_debug:

[PATCH v3 3/4] vb2: Merge vb2_internal_qbuf and vb2_qbuf

2016-06-20 Thread Ricardo Ribalda Delgado
After all the code refactoring, vb2_internal_dqbuf is only called by vb2_dqbuf. Since the function it is very simple, there is no need to have two functions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-v4l2.c | 14 +- 1

[PATCH v2 1/4] vb2: Merge vb2_internal_dqbuf and vb2_dqbuf

2016-06-20 Thread Ricardo Ribalda Delgado
After all the code refactoring, vb2_internal_dqbuf is only called by vb2_dqbuf. Since the function it is very simple, there is no need to have two functions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-v4l2.c | 27

Re: [PATCH v2 4/4] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Hans Verkuil
On 06/20/2016 02:30 PM, Ricardo Ribalda Delgado wrote: According to the doc, V4L2_BUF_FLAG_DONE is cleared after DQBUF: V4L2_BUF_FLAG_DONE 0x0004 ... After calling the VIDIOC_QBUF or VIDIOC_DQBUF it is always cleared ... Unfortunately, it seems that videobuf2 keeps it set after DQBUF.

Re: [Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Pekka Paalanen
On Fri, 17 Jun 2016 11:44:34 -0400 Rob Clark wrote: > On Fri, Jun 17, 2016 at 9:31 AM, Pekka Paalanen wrote: > > On Fri, 17 Jun 2016 08:26:04 -0400 > > Rob Clark wrote: > > > >> On Fri, Jun 17, 2016 at 3:59 AM, Pekka Paalanen

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Richard Cochran
On Mon, Jun 20, 2016 at 02:18:38PM +0200, Richard Cochran wrote: > Documentation/sound/alsa/timestamping.txt says: Examples of typestamping with HDaudio: 1. DMA timestamp, no compensation for DMA+analog delay $ ./audio_time -p --ts_type=1 Where is this "audio_time" program of which

[PATCH v2 4/4] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Ricardo Ribalda Delgado
According to the doc, V4L2_BUF_FLAG_DONE is cleared after DQBUF: V4L2_BUF_FLAG_DONE 0x0004 ... After calling the VIDIOC_QBUF or VIDIOC_DQBUF it is always cleared ... Unfortunately, it seems that videobuf2 keeps it set after DQBUF. This can be tested with vivid and dev_debug:

[PATCH v2 3/4] vb2: Fix comment

2016-06-20 Thread Ricardo Ribalda Delgado
The comment was referencing the wrong function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c

[PATCH v2 2/4] vb2: Merge vb2_internal_qbuf and vb2_qbuf

2016-06-20 Thread Ricardo Ribalda Delgado
After all the code refactoring, vb2_internal_dqbuf is only called by vb2_dqbuf. Since the function it is very simple, there is no need to have two functions. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-v4l2.c | 14 +- 1

[PATCH] v4l2-compliance: Check V4L2_BUF_FLAG_DONE

2016-06-20 Thread Ricardo Ribalda Delgado
According to the doc, V4L2_BUF_FLAG_DONE is cleared after DQBUF and QBUF: V4L2_BUF_FLAG_DONE 0x0004 ... After calling the VIDIOC_QBUF or VIDIOC_DQBUF it is always cleared .. This patch implements this check. Signed-off-by: Ricardo Ribalda Delgado --- Hello

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Richard Cochran
On Mon, Jun 20, 2016 at 01:08:27PM +0200, Pierre-Louis Bossart wrote: > The ALSA API provides support for 'audio' timestamps (playback/capture rate > defined by audio subsystem) and 'system' timestamps (typically linked to > TSC/ART) with one option to take synchronized timestamps should the

Re: [PATCH v4 2/9] [media] v4l2-core: Add VFL_TYPE_TOUCH_SENSOR

2016-06-20 Thread Hans Verkuil
On 06/17/2016 04:16 PM, Nick Dyer wrote: > Some touch controllers send out raw touch data in a similar way to a > greyscale frame grabber. Add a new device type for these devices. > > Use a new device prefix v4l-touch for these devices, to stop generic > capture software from treating them as

Re: [PATCH v4 1/9] [media] Add signed 16-bit pixel format

2016-06-20 Thread Nick Dyer
Hi Hans- On 20/06/2016 12:00, Hans Verkuil wrote: > On 06/17/2016 04:16 PM, Nick Dyer wrote: >> This will be used for output of raw touch delta data. This format is >> used by Atmel maXTouch (atmel_mxt_ts) and also Synaptics RMI4. >> >> Signed-off-by: Nick Dyer >> --- >>

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Henrik Austad
On Mon, Jun 20, 2016 at 01:08:27PM +0200, Pierre-Louis Bossart wrote: > > >Presentation time is either set by > >a) Local sound card performing capture (in which case it will be 'capture > > time') > >b) Local media application sending a stream accross the network > > (time when the sample

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Pierre-Louis Bossart
Presentation time is either set by a) Local sound card performing capture (in which case it will be 'capture time') b) Local media application sending a stream accross the network (time when the sample should be played out remotely) c) Remote media application streaming data *to* host, in

Re: [PATCH v4 1/9] [media] Add signed 16-bit pixel format

2016-06-20 Thread Hans Verkuil
On 06/17/2016 04:16 PM, Nick Dyer wrote: > This will be used for output of raw touch delta data. This format is > used by Atmel maXTouch (atmel_mxt_ts) and also Synaptics RMI4. > > Signed-off-by: Nick Dyer > --- > Documentation/DocBook/media/v4l/pixfmt-ys16.xml | 79 >

Re: [19/38] ARM: dts: imx6-sabrelite: add video capture ports and connections

2016-06-20 Thread Jack Mitchell
On 20/06/16 11:16, Gary Bisson wrote: Jack, All, On Mon, Jun 20, 2016 at 10:44:44AM +0100, Jack Mitchell wrote: I've tried that patch have a some comments: - When applied, no capture shows up any more, instead I have two m2m v4l2 devices [1]. - OV5640 Mipi is assigned the same address as

Re: [PATCH] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Hans Verkuil
On 06/20/2016 12:12 PM, Ricardo Ribalda Delgado wrote: > Good catch :) > > I will prepare the new version. Btw, can I also merge > vb2_internal_dqbuf and vb2_dqbuf in one function? Seems a bit > overkilled that split. No, that's not possible. vb2_internal_dqbuf is used in the threading code to

Re: [19/38] ARM: dts: imx6-sabrelite: add video capture ports and connections

2016-06-20 Thread Gary Bisson
Jack, All, On Mon, Jun 20, 2016 at 10:44:44AM +0100, Jack Mitchell wrote: > > > I've tried that patch have a some comments: > > - When applied, no capture shows up any more, instead I have two m2m > > v4l2 devices [1]. > > - OV5640 Mipi is assigned the same address as OV5642, therefore both >

Re: [19/38] ARM: dts: imx6-sabrelite: add video capture ports and connections

2016-06-20 Thread Jack Mitchell
On 20/06/16 10:33, Gary Bisson wrote: Steve, Jack, All, On Fri, Jun 17, 2016 at 12:01:41PM -0700, Steve Longerbeam wrote: On 06/17/2016 08:18 AM, Gary Bisson wrote: Steve, All, On Thu, Jun 16, 2016 at 10:32:31AM +0200, Gary Bisson wrote: Steve, All, On Tue, Jun 14, 2016 at 03:49:15PM

Re: [PATCH] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Ricardo Ribalda Delgado
Good catch :) I will prepare the new version. Btw, can I also merge vb2_internal_dqbuf and vb2_dqbuf in one function? Seems a bit overkilled that split. Regarding v42l_compliance... I can take care of that if you dare :) Best regards! On Mon, Jun 20, 2016 at 11:53 AM, Hans Verkuil

Re: [PATCH] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Hans Verkuil
On 06/20/2016 11:01 AM, Ricardo Ribalda Delgado wrote: > According to the doc, V4L2_BUF_FLAG_DONE is cleared after DQBUF: > > V4L2_BUF_FLAG_DONE 0x0004 ... After calling the VIDIOC_QBUF or > VIDIOC_DQBUF it is always cleared ... > > Unfortunately, it seems that videobuf2 keeps it set after

Re: [19/38] ARM: dts: imx6-sabrelite: add video capture ports and connections

2016-06-20 Thread Gary Bisson
Steve, Jack, All, On Fri, Jun 17, 2016 at 12:01:41PM -0700, Steve Longerbeam wrote: > > On 06/17/2016 08:18 AM, Gary Bisson wrote: > > Steve, All, > > > > On Thu, Jun 16, 2016 at 10:32:31AM +0200, Gary Bisson wrote: > > > Steve, All, > > > > > > On Tue, Jun 14, 2016 at 03:49:15PM -0700, Steve

[PATCH] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Ricardo Ribalda Delgado
According to the doc, V4L2_BUF_FLAG_DONE is cleared after DQBUF: V4L2_BUF_FLAG_DONE 0x0004 ... After calling the VIDIOC_QBUF or VIDIOC_DQBUF it is always cleared ... Unfortunately, it seems that videobuf2 keeps it set after DQBUF. This can be tested with vivid and dev_debug:

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Henrik Austad
On Sun, Jun 19, 2016 at 11:45:47PM +0900, Takashi Sakamoto wrote: > (remove C.C. to lkml. This is not so major feature.) > > On Jun 19 2916 07:45, Henrik Austad wrote: > >snip > > > >802.1Q gives you low latency through the network, but more importantly, no > >dropped frames. gPTP gives you a

Re: [Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Pekka Paalanen
On Fri, 17 Jun 2016 11:44:34 -0400 Rob Clark wrote: > On Fri, Jun 17, 2016 at 9:31 AM, Pekka Paalanen wrote: > > On Fri, 17 Jun 2016 08:26:04 -0400 > > Rob Clark wrote: > > > >> On Fri, Jun 17, 2016 at 3:59 AM, Pekka Paalanen

  1   2   >