Re: [V3, 4/4] media: platform: dwc: Add MIPI CSI-2 controller driver

2019-01-10 Thread Eugen.Hristev
On 10.01.2019 18:18, Luis de Oliveira wrote: > > > On 09-Jan-19 13:07, eugen.hris...@microchip.com wrote: >> >> >> On 19.10.2018 15:52, Luis Oliveira wrote: >>> Add the Synopsys MIPI CSI-2 controller driver. This >>> controller driver is divided in platform dependent functions >>> and core func

Re: [PATCH v5 2/6] media: sun6i: Add mod_rate quirk

2019-01-10 Thread Jagan Teki
On Mon, Jan 7, 2019 at 6:59 PM Maxime Ripard wrote: > > On Mon, Dec 24, 2018 at 08:57:48PM +0530, Jagan Teki wrote: > > On Fri, Dec 21, 2018 at 6:30 PM Maxime Ripard > > wrote: > > > > > > On Thu, Dec 20, 2018 at 06:24:34PM +0530, Jagan Teki wrote: > > > > Unfortunately default CSI_SCLK rate can

Re: [PATCH v5 2/6] media: sun6i: Add mod_rate quirk

2019-01-10 Thread Jagan Teki
On Mon, Jan 7, 2019 at 6:59 PM Maxime Ripard wrote: > > On Mon, Dec 24, 2018 at 08:57:48PM +0530, Jagan Teki wrote: > > On Fri, Dec 21, 2018 at 6:30 PM Maxime Ripard > > wrote: > > > > > > On Thu, Dec 20, 2018 at 06:24:34PM +0530, Jagan Teki wrote: > > > > Unfortunately default CSI_SCLK rate can

cron job: media_tree daily build: ERRORS

2019-01-10 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: Fri Jan 11 05:00:12 CET 2019 media-tree git hash:1e0d0a5fd38192f23304ea2fc2b531fea7c74247 media_build git

[PATCH v2] media: ov8856: Add support for OV8856 sensor

2019-01-10 Thread Ben Kao
This patch adds driver for Omnivision's ov8856 sensor, the driver supports following features: - manual exposure/gain(analog and digital) control support - two link frequencies - VBLANK/HBLANK support - test pattern support - media controller support - runtime PM support - enable Vsync signal outp

Re; Waiting for your immediate response..

2019-01-10 Thread Martina Garcia
Hello, How are you today? Could you please let me know the status of my previous email to you? Waiting for your immediate response. Best regards, Martina Garcia

Re: [PATCH] lib/scatterlist: Provide a DMA page iterator

2019-01-10 Thread Jason Gunthorpe
On Fri, Jan 04, 2019 at 03:35:31PM -0700, Jason Gunthorpe wrote: > Commit 2db76d7c3c6d ("lib/scatterlist: sg_page_iter: support sg lists w/o > backing pages") introduced the sg_page_iter_dma_address() function without > providing a way to use it in the general case. If the sg_dma_len is not > equal

[PATCH v2 01/10] video/hdmi: Add an enum for HDMI packet types

2019-01-10 Thread Ville Syrjala
From: Ville Syrjälä We'll be wanting to send more than just infoframes over HDMI. So add an enum for other packet types. TODO: Maybe just include the infoframe types in the packet type enum and get rid of the infoframe type enum? v2: s/AUDIO_CP/ACP/ (Shashank) Cc: Thierry Reding Cc: Han

Re: [PATCH v2 3/3] media: imx: lift CSI and PRP ENC/VF width alignment restriction

2019-01-10 Thread Steve Longerbeam
On 1/10/19 2:54 AM, Philipp Zabel wrote: On Wed, 2019-01-09 at 11:21 -0800, Steve Longerbeam wrote: why not just use "if (priv->active_output_pad == CSI_SRC_PAD_DIRECT) ..." ? While both source pad links are disabled, whether or not IC burst alignment is applied would depend on hidden stat

Re: [PATCH 3/3] [media] allegro: add SPS/PPS nal unit writer

2019-01-10 Thread kbuild test robot
Hi Michael, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v5.0-rc1 next-20190110] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

"dmxdev: DVB (dvb_dmxdev_filter_start): could not set feed" with two DVB sticks

2019-01-10 Thread F.M.
Hi folks, I’m trying to set up two DVB-adapters, one receiving a cable and the other a terrestrial signal. In the tests involved are the following adapters: 1.    TechnoTrend TVStick CT2-4400 (bus ID 0b48:3014) 2.    Hauppauge WinTV SoloHD (bus ID 2040:8268) The system runs Debian buster wit

Re: [PATCH 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-01-10 Thread kbuild test robot
Hi Michael, url: https://github.com/0day-ci/linux/commits/Michael-Tretter/Add-ZynqMP-VCU-Allegro-DVT-H-264-encoder-driver/20190110-020930 base: git://linuxtv.org/media_tree.git master smatch warnings: drivers/staging/media/allegro-dvt/allegro-core.c:616 allegro_mbox_write() error

RE: [PATCH v8 15/17] media: v4l: Add Intel IPU3 meta buffer formats

2019-01-10 Thread Zhi, Yong
Hi, Laurent, Thanks for the review. > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Tuesday, December 11, 2018 6:59 AM > To: Zhi, Yong > Cc: linux-media@vger.kernel.org; sakari.ai...@linux.intel.com; > tf...@chromium.org; Mani, Rajmohan ;

Re: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST

2019-01-10 Thread Sebastian Reichel
Hi, On Sat, Dec 22, 2018 at 09:08:28PM +0100, Pavel Machek wrote: > Merry Christmas! > > > This moves all remaining users of the legacy TI_ST driver to hcill (patches > > 1-3). Then patches 4-7 convert wl128x-radio driver to a standard platform > > device driver with support for multiple instance

Corrected version of DVB-C scantable "de-Unitymedia"

2019-01-10 Thread Stephan Mees
Hi, it's manually edited, greetings, Stephan # Unitymedia # edited manually # freq sr fec mod [CHANNEL] DELIVERY_SYSTEM = DVBC/ANNEX_A FREQUENCY = 11400 SYMBOL_RATE = 690 INNER_FEC = NONE MODULATION = QAM/256 INVERSION = AUTO [CHANNEL]

Re: [PATCH v3 03/14] media: ov7670: hook s_power onto v4l2 core

2019-01-10 Thread Sakari Ailus
Hi Lubomir, On Wed, Nov 28, 2018 at 12:29:33PM +0100, Lubomir Rintel wrote: > On Thu, 2018-11-22 at 14:21 +0200, Sakari Ailus wrote: > > Hi Lubomir, > > > > On Tue, Nov 20, 2018 at 11:03:08AM +0100, Lubomir Rintel wrote: > > > The commit 71862f63f351 ("media: ov7670: Add the ov7670_s_power functi

Re: [V3, 4/4] media: platform: dwc: Add MIPI CSI-2 controller driver

2019-01-10 Thread Luis de Oliveira
Hi Laurent, Sorry for taking so long to answer. I was stuck in other projects and lost track of this. My answers inline, On 14-Nov-18 20:22, Laurent Pinchart wrote: > Hi Luis, > > Thank you for the patch. > > On Friday, 19 October 2018 15:52:26 EET Luis Oliveira wrote: >> Add the Synopsys MIPI

[PATCH v2 2/4] media: v4l2-ctrl: Add control for h.264 chroma qp offset

2019-01-10 Thread Philipp Zabel
Allow to add fixed quantization parameter offset between luma and chroma quantization parameters. This control directly corresponds to the chroma_qp_index_offset field of the h.264 picture parameter set. Signed-off-by: Philipp Zabel --- Documentation/media/uapi/v4l/extended-controls.rst | 5

[PATCH v2 4/4] media: coda: Add control for h.264 chroma qp index offset

2019-01-10 Thread Philipp Zabel
Allow to set a fixed quantization parameter offset between luma and chroma in the h.264 encoder. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c| 4 +++- drivers/media/platform/coda/coda-common.c | 5 + drivers/media/platform/coda/coda.h| 1 + 3 files chan

[PATCH v2 3/4] media: coda: Add control for h.264 constrained intra prediction

2019-01-10 Thread Philipp Zabel
Allow to enable constrained intra prediction in the h.264 encoder. Signed-off-by: Philipp Zabel -- Changes since v1: - Remove unnecessary double negation of boolean --- drivers/media/platform/coda/coda-bit.c| 4 +++- drivers/media/platform/coda/coda-common.c | 6 ++ drivers/media/platfo

[PATCH v2 1/4] media: v4l2-ctrl: Add control to enable h.264 constrained intra prediction

2019-01-10 Thread Philipp Zabel
Allow to enable h.264 constrained intra prediction (macroblocks using intra prediction modes are not allowed to use residual data and decoded samples of neighboring macroblocks coded using inter prediction modes). This control directly corresponds to the constrained_intra_pred_flag field in the h.2

Re: [PATCH v2 1/1] media: Use common test pattern menu entries

2019-01-10 Thread Sakari Ailus
Hi Mauro, On Tue, Dec 04, 2018 at 12:41:42PM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 4 Dec 2018 15:40:42 +0200 > Sakari Ailus escreveu: > > > While the test pattern menu itself is not standardised, many devices > > support the same test patterns. Aligning the menu entries helps the user >

Re: [V3, 4/4] media: platform: dwc: Add MIPI CSI-2 controller driver

2019-01-10 Thread Luis de Oliveira
On 09-Jan-19 13:07, eugen.hris...@microchip.com wrote: > > > On 19.10.2018 15:52, Luis Oliveira wrote: >> Add the Synopsys MIPI CSI-2 controller driver. This >> controller driver is divided in platform dependent functions >> and core functions. It also includes a platform for future >> DesignW

Re: [V3, 4/4] media: platform: dwc: Add MIPI CSI-2 controller driver

2019-01-10 Thread Luis de Oliveira
On 10-Dec-18 12:39, eugen.hris...@microchip.com wrote: > > > On 19.10.2018 15:52, Luis Oliveira wrote: >> Add the Synopsys MIPI CSI-2 controller driver. This >> controller driver is divided in platform dependent functions >> and core functions. It also includes a platform for future >> DesignW

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes for debug messages

2019-01-10 Thread Thierry Reding
On Thu, Jan 10, 2019 at 04:24:26PM +0200, Sakari Ailus wrote: > The num_planes field in struct v4l2_pix_format_mplane is used in a loop > before validating it. As the use is printing a debug message in this case, > just cap the value to the maximum allowed. > > Signed-off-by: Sakari Ailus > Cc: s

[PATCH v2 2/3] media: mt9m111: set all mbus format field when G_FMT and S_FMT ioctls

2019-01-10 Thread Akinobu Mita
This driver doesn't set all members of mbus format field when the VIDIOC_SUBDEV_{S,G}_FMT ioctls are called. This is detected by v4l2-compliance. Cc: Enrico Scholz Cc: Michael Grzeschik Cc: Marco Felsch Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- * No changes

[PATCH v2 3/3] media: mt9m111: set initial frame size other than 0x0

2019-01-10 Thread Akinobu Mita
This driver sets initial frame width and height to 0x0, which is invalid. So set it to selection rectangle bounds instead. This is detected by v4l2-compliance detected. Cc: Enrico Scholz Cc: Michael Grzeschik Cc: Marco Felsch Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu

[PATCH v2 1/3] media: mt9m111: make VIDIOC_SUBDEV_G_FMT ioctl work with V4L2_SUBDEV_FORMAT_TRY

2019-01-10 Thread Akinobu Mita
The VIDIOC_SUBDEV_G_FMT ioctl for this driver doesn't recognize V4L2_SUBDEV_FORMAT_TRY and always works as if V4L2_SUBDEV_FORMAT_ACTIVE is specified. Cc: Enrico Scholz Cc: Michael Grzeschik Cc: Marco Felsch Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- * v2 - Use

[PATCH v2 0/3] media: bugfixes for mt9m111 driver

2019-01-10 Thread Akinobu Mita
This patch series contains four bugfixes for mt9m111 driver. * v2 - Drop patch 1/4 in v1 ("fix setting pixclk polarit") since it was wrong. - Use format->pad for the argument of v4l2_subdev_get_try_format(). Akinobu Mita (3): media: mt9m111: make VIDIOC_SUBDEV_G_FMT ioctl work with V4L2_SUB

[GIT PULL for 5.1] Sensor driver patches

2019-01-10 Thread Sakari Ailus
Hi Mauro, Here's the usual set of sensor driver patches for 5.1. Most notably, there's a driver for ov9640 (originally using SoC camera framework) as well as fixes for a number of other drivers. Please pull. The following changes since commit 1e0d0a5fd38192f23304ea2fc2b531fea7c74247: media:

Re: [PATCH v3 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Kieran Bingham
Hi Jacopo, Thank you for the update, On 10/01/2019 14:02, Jacopo Mondi wrote: > When the adv748x driver is informed about a link being created from HDMI or > AFE to a CSI-2 TX output, the 'link_setup()' callback is invoked. Make > sure to implement proper routing management at link setup time, to

[PATCH 1/1] v4l: ioctl: Validate num_planes for debug messages

2019-01-10 Thread Sakari Ailus
The num_planes field in struct v4l2_pix_format_mplane is used in a loop before validating it. As the use is printing a debug message in this case, just cap the value to the maximum allowed. Signed-off-by: Sakari Ailus Cc: sta...@vger.kernel.org --- drivers/media/v4l2-core/v4l2-ioctl.c | 4 +++-

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Sakari Ailus
On Thu, Jan 10, 2019 at 03:11:35PM +0100, Hans Verkuil wrote: > On 01/10/19 14:41, Sakari Ailus wrote: > > On Thu, Jan 10, 2019 at 02:02:14PM +0100, Hans Verkuil wrote: > >> On 01/10/19 13:43, Sakari Ailus wrote: > >>> The for loop to reset the memory of the plane reserved fields runs over > >>> nu

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Hans Verkuil
On 01/10/19 13:43, Sakari Ailus wrote: > The for loop to reset the memory of the plane reserved fields runs over > num_planes provided by the user without validating it. Ensure num_planes > is no more than VIDEO_MAX_PLANES before the loop. > > Fixes: 4e1e0eb0e074 ("media: v4l2-ioctl: Zero v4l2_pla

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Hans Verkuil
On 01/10/19 14:41, Sakari Ailus wrote: > On Thu, Jan 10, 2019 at 02:02:14PM +0100, Hans Verkuil wrote: >> On 01/10/19 13:43, Sakari Ailus wrote: >>> The for loop to reset the memory of the plane reserved fields runs over >>> num_planes provided by the user without validating it. Ensure num_planes >

[PATCH v3 5/6] media: adv748x: Store the TX sink in HDMI/AFE

2019-01-10 Thread Jacopo Mondi
Both the AFE and HDMI s_stream routines (adv748x_afe_s_stream() and adv748x_hdmi_s_stream()) have to enable the CSI-2 TX they are streaming video data to. With the introduction of dynamic routing between HDMI and AFE entities to TXA, the video stream sink needs to be set at run time, and not stati

[PATCH v3 2/6] media: adv748x: Rename reset procedures

2019-01-10 Thread Jacopo Mondi
Rename the chip reset procedure as they configure the CP (HDMI) and SD (AFE) cores. Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/media/i2c/adv748x/adv748x-core.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-

[PATCH v3 3/6] media: adv748x: csi2: Link AFE with TXA and TXB

2019-01-10 Thread Jacopo Mondi
The ADV748x chip supports routing AFE output to either TXA or TXB. In order to support run-time configuration of video stream path, create an additional (not enabled) "AFE:8->TXA:0" link, and remove the IMMUTABLE flag from existing ones. Reviewed-by: Kieran Bingham Signed-off-by: Jacopo Mondi --

[PATCH v3 1/6] media: adv748x: Add is_txb()

2019-01-10 Thread Jacopo Mondi
Add small is_txb() macro to the existing is_txa() and use it where appropriate. Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/media/i2c/adv748x/adv748x-csi2.c | 2 +- drivers/media/i2c/adv748x/adv748x.h | 3 +++ 2 files changed, 4 insert

[PATCH v3 4/6] media: adv748x: Store the source subdevice in TX

2019-01-10 Thread Jacopo Mondi
The power_up_tx() procedure needs to set a few registers conditionally to the selected video source, but it currently checks for the provided tx to be either TXA or TXB. With the introduction of dynamic routing between HDMI and AFE entities to TXA, checking which TX the function is operating on is

[PATCH v3 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Jacopo Mondi
When the adv748x driver is informed about a link being created from HDMI or AFE to a CSI-2 TX output, the 'link_setup()' callback is invoked. Make sure to implement proper routing management at link setup time, to route the selected video stream to the desired TX output. Signed-off-by: Jacopo Mond

[PATCH v3 0/6] media: adv748x: Implement dynamic routing support

2019-01-10 Thread Jacopo Mondi
Hello, third iteration for adv748x dynamic selection of video source. Please refer to v1 and v2 cover letter for more details: https://patchwork.kernel.org/cover/10723971/ https://patchwork.kernel.org/cover/10749535/ This version includes comments from Laurent and Kieran, on patches 1/6 and mo

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Jacopo Mondi
Hi Kieran, On Mon, Jan 07, 2019 at 12:36:28PM +, Kieran Bingham wrote: > Hi Jacopo, > > On 06/01/2019 15:54, Jacopo Mondi wrote: > > When the adv748x driver is informed about a link being created from HDMI or > > AFE to a CSI-2 TX output, the 'link_setup()' callback is invoked. Make > > sure to

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Sakari Ailus
On Thu, Jan 10, 2019 at 02:02:14PM +0100, Hans Verkuil wrote: > On 01/10/19 13:43, Sakari Ailus wrote: > > The for loop to reset the memory of the plane reserved fields runs over > > num_planes provided by the user without validating it. Ensure num_planes > > is no more than VIDEO_MAX_PLANES before

Re: [PATCH v2 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2019-01-10 Thread ayaka
I forget a important thing, for the rkvdec and rk hevc decoder, it would requests cabac table, scaling list, picture parameter set and reference picture storing in one or various of DMA buffers. I am not talking about the data been parsed, the decoder would requests a raw data. For the pps and

Re: [linux-sunxi] [PATCH v2 1/2] media: v4l: Add definitions for the HEVC slice format and controls

2019-01-10 Thread ayaka
I forget a important thing, for the rkvdec and rk hevc decoder, it would requests cabac table, scaling list, picture parameter set and reference picture storing in one or various of DMA buffers. I am not talking about the data been parsed, the decoder would requests a raw data. For the pps and

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Sakari Ailus
Hi Hans, On Thu, Jan 10, 2019 at 02:02:14PM +0100, Hans Verkuil wrote: > On 01/10/19 13:43, Sakari Ailus wrote: > > The for loop to reset the memory of the plane reserved fields runs over > > num_planes provided by the user without validating it. Ensure num_planes > > is no more than VIDEO_MAX_PLA

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Hans Verkuil
On 01/10/19 13:43, Sakari Ailus wrote: > The for loop to reset the memory of the plane reserved fields runs over > num_planes provided by the user without validating it. Ensure num_planes > is no more than VIDEO_MAX_PLANES before the loop. > > Fixes: 4e1e0eb0e074 ("media: v4l2-ioctl: Zero v4l2_pla

Re: [PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Thierry Reding
On Thu, Jan 10, 2019 at 02:43:19PM +0200, Sakari Ailus wrote: > The for loop to reset the memory of the plane reserved fields runs over > num_planes provided by the user without validating it. Ensure num_planes > is no more than VIDEO_MAX_PLANES before the loop. > > Fixes: 4e1e0eb0e074 ("media: v4

[PATCH 1/1] v4l: ioctl: Validate num_planes before using it

2019-01-10 Thread Sakari Ailus
The for loop to reset the memory of the plane reserved fields runs over num_planes provided by the user without validating it. Ensure num_planes is no more than VIDEO_MAX_PLANES before the loop. Fixes: 4e1e0eb0e074 ("media: v4l2-ioctl: Zero v4l2_plane_pix_format reserved fields") Signed-off-by: S

[GIT PULL FOR v5.1] Various fixes

2019-01-10 Thread Hans Verkuil
The following changes since commit 1e0d0a5fd38192f23304ea2fc2b531fea7c74247: media: s5p-mfc: fix incorrect bus assignment in virtual child device (2019-01-07 14:39:36 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.1c for you to fetch cha

Re: [PATCH v8 15/17] media: v4l: Add Intel IPU3 meta buffer formats

2019-01-10 Thread Laurent Pinchart
Hello Yong, On Tuesday, 11 December 2018 14:58:50 EET Laurent Pinchart wrote: > On Friday, 7 December 2018 03:03:40 EET Yong Zhi wrote: > > Add IPU3-specific meta formats for processing parameters and > > 3A statistics. > > > > V4L2_META_FMT_IPU3_PARAMS > > V4L2_META_FMT_IPU3_STAT_3A > > > >

[PATCH] media: Documentation: staging/ipu3-imgu: Miscellaneous improvements

2019-01-10 Thread Laurent Pinchart
Implement miscellaneous changes that have been proposed in review comments but not captured, rephrase and clarify parts of the documentation, and mark shell code blocks appropriately. Major changes are still required, included rewriting the examples without the v4l2n tool, and documenting the inte

Re: [PATCH] media: v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Sakari Ailus
On Thu, Jan 10, 2019 at 11:48:39AM +0100, Thierry Reding wrote: > From: Thierry Reding > > Currently the IOCTL code clears everything after the per-plane > bytesperline field in struct v4l2_format. The intent was to only clear > the per-plane reserved fields since there is data in struct v4l2_for

Re: [RFC PATCH 5/5] v4l2-ctl: add an option to list controls in a machine-readable format

2019-01-10 Thread Hans Verkuil
On 01/09/19 22:15, Antonio Ospite wrote: > On Mon, 7 Jan 2019 11:18:58 +0100 > Hans Verkuil wrote: > >> On 01/03/2019 07:01 PM, Antonio Ospite wrote: >>> Add a new option --list-ctrls-values to list the values of controls in >>> a format which can be passed again to --set-ctrl. >>> >>> This can b

[GIT FIXES FOR v5.0] v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Hans Verkuil
Fix for a nasty little bug. Thanks Thierry for finding this! Regards, Hans The following changes since commit 1e0d0a5fd38192f23304ea2fc2b531fea7c74247: media: s5p-mfc: fix incorrect bus assignment in virtual child device (2019-01-07 14:39:36 -0500) are available in the Git reposito

Re: [PATCH] media: v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Hans Verkuil
On 01/10/19 11:48, Thierry Reding wrote: > From: Thierry Reding > > Currently the IOCTL code clears everything after the per-plane > bytesperline field in struct v4l2_format. The intent was to only clear > the per-plane reserved fields since there is data in struct v4l2_format > after the per-pla

[GIT PULL FOR v5.1] Various fixes

2019-01-10 Thread Sean Young
Hi Mauro, Here are some of the dvb fixes and the rc fixes for 5.1. Please pull. Thanks, Sean The following changes since commit 1e0d0a5fd38192f23304ea2fc2b531fea7c74247: media: s5p-mfc: fix incorrect bus assignment in virtual child device (2019-01-07 14:39:36 -0500) are available in the Gi

Re: [PATCH] media: imx-csi: Input connections to CSI should be optional

2019-01-10 Thread Philipp Zabel
On Wed, 2019-01-09 at 10:34 -0800, Steve Longerbeam wrote: > Some imx platforms do not have fwnode connections to all CSI input > ports, and should not be treated as an error. This includes the > imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2_csi0. > Return -ENOTCONN in imx_csi_par

Re: [PATCH v2 3/3] media: imx: lift CSI and PRP ENC/VF width alignment restriction

2019-01-10 Thread Philipp Zabel
On Wed, 2019-01-09 at 11:21 -0800, Steve Longerbeam wrote: > > On 1/9/19 3:08 AM, Philipp Zabel wrote: > > The CSI, PRP ENC, and PRP VF subdevices shouldn't have to care about > > IDMAC line start address alignment. With compose rectangle support in > > the capture driver, they don't have to anymo

[PATCH] media: v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Thierry Reding
From: Thierry Reding Currently the IOCTL code clears everything after the per-plane bytesperline field in struct v4l2_format. The intent was to only clear the per-plane reserved fields since there is data in struct v4l2_format after the per-plane format data that userspace may have filled in. Fi

Re: [PATCH 1/4] media: v4l2-ctrl: Add control to enable h.264 constrained intra prediction

2019-01-10 Thread Hans Verkuil
On 01/08/19 18:13, Philipp Zabel wrote: > Allow to enable h.264 constrained intra prediction (macroblocks using > intra prediction modes are not allowed to use residual data and decoded > samples of neighboring macroblocks coded using inter prediction modes). > This control directly corresponds to

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Kieran Bingham
Hi Jacopo, On 10/01/2019 08:58, Jacopo Mondi wrote: > On Wed, Jan 09, 2019 at 02:15:33PM +, Kieran Bingham wrote: >> On 09/01/2019 00:15, Laurent Pinchart wrote: >>> Hello, >>> >>> On Monday, 7 January 2019 14:36:28 EET Kieran Bingham wrote: On 06/01/2019 15:54, Jacopo Mondi wrote: >

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Jacopo Mondi
Hi Kieran, On Mon, Jan 07, 2019 at 12:36:28PM +, Kieran Bingham wrote: > Hi Jacopo, > > On 06/01/2019 15:54, Jacopo Mondi wrote: > > When the adv748x driver is informed about a link being created from HDMI or > > AFE to a CSI-2 TX output, the 'link_setup()' callback is invoked. Make > > sure t

Re: [PATCH] media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL

2019-01-10 Thread Sylwester Nawrocki
On 1/9/19 19:00, Paweł Chmiel wrote: > This commit corrects max and step values for v4l2 control for > V4L2_CID_JPEG_RESTART_INTERVAL. Max should be 0x and step should be 1. > It was found by using v4l2-compliance tool and checking result of > VIDIOC_QUERY_EXT_CTRL/QUERYMENU test. > Previously

[PATCH] media: dvb/earth-pt1: fix wrong initialization for demod blocks

2019-01-10 Thread tskd08
From: Akihiro Tsukada earth-pt1 driver was decomposed/restructured by the commit: b732539efdba ("media: dvb: earth-pt1: decompose pt1 driver into sub drivers"), but it introduced a problem regarding concurrent streaming: Opening a new terrestial stream stops the reception of an existing, already-

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Laurent Pinchart
Hi Jacopo, On Thursday, 10 January 2019 10:51:00 EET Jacopo Mondi wrote: > On Wed, Jan 09, 2019 at 02:15:04AM +0200, Laurent Pinchart wrote: > > On Monday, 7 January 2019 14:36:28 EET Kieran Bingham wrote: > >> On 06/01/2019 15:54, Jacopo Mondi wrote: > >>> When the adv748x driver is informed abou

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Jacopo Mondi
On Wed, Jan 09, 2019 at 02:15:33PM +, Kieran Bingham wrote: > On 09/01/2019 00:15, Laurent Pinchart wrote: > > Hello, > > > > On Monday, 7 January 2019 14:36:28 EET Kieran Bingham wrote: > >> On 06/01/2019 15:54, Jacopo Mondi wrote: > >>> When the adv748x driver is informed about a link being c

Re: [PATCH v2 6/6] media: adv748x: Implement TX link_setup callback

2019-01-10 Thread Jacopo Mondi
Hi Laurent, On Wed, Jan 09, 2019 at 02:15:04AM +0200, Laurent Pinchart wrote: > Hello, > > On Monday, 7 January 2019 14:36:28 EET Kieran Bingham wrote: > > On 06/01/2019 15:54, Jacopo Mondi wrote: > > > When the adv748x driver is informed about a link being created from HDMI > > > or AFE to a CSI-

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2019-01-10 Thread Jacopo Mondi
Hi Raj, On Wed, Jan 09, 2019 at 06:36:02PM +, Mani, Rajmohan wrote: > Hi Jacopo, > > > Subject: Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset > > > > Hi Raj, > > > > On Wed, Jan 09, 2019 at 06:01:39PM +, Mani, Rajmohan wrote: > > > Hi Jacopo, > > > > > > > Subject: Re: [PATCH v7 00/16] Int

[Patch v2] v4l: Add simple packed bayer 12-bit formats

2019-01-10 Thread Edgar Thier
These formats are compressed 12-bit raw bayer formats with four different pixel orders. They are similar to 10-bit bayer formats 'IPU3'. Signed-off-by: Edgar Thier --- Documentation/media/uapi/v4l/pixfmt-rgb.rst | 1 + .../media/uapi/v4l/pixfmt-srggb12sp.rst | 123 ++ dr