cron job: media_tree daily build: WARNINGS

2017-04-06 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 Apr 7 05:00:17 CEST 2017 media-tree git hash:2f65ec0567f77b75f459c98426053a3787af356a media_build

Re: [PATCH v6 19/39] media: Add i.MX media core driver

2017-04-06 Thread Steve Longerbeam
On 04/06/2017 02:43 AM, Philipp Zabel wrote: On Mon, 2017-03-27 at 17:40 -0700, Steve Longerbeam wrote: Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam [...] diff --git a/drivers/staging/media/imx/imx-media-of.c

[PATCH] [media] media-entity: only call dev_dbg_obj if mdev is not NULL

2017-04-06 Thread Helen Koike
Fix kernel Oops NULL pointer deference Call dev_dbg_obj only after checking if gobj->mdev is not NULL Signed-off-by: Helen Koike --- drivers/media/media-entity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/media-entity.c

[PATCH] [media] media-entity: only call dev_dbg_obj if mdev is not NULL

2017-04-06 Thread Helen Koike
Fix kernel Oops NULL pointer deference Call dev_dbg_obj only after checking if gobj->mdev is not NULL Signed-off-by: Helen Koike --- drivers/media/media-entity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/media-entity.c

Re: [PATCH] [media] uvcvideo: Add iFunction or iInterface to device names.

2017-04-06 Thread Peter Boström
I'll put some more info/discussion points inline. Very happy for feedback/input here, thanks! On Thu, Apr 6, 2017 at 1:58 PM Peter Boström wrote: > > Permits distinguishing between two /dev/videoX entries from the same > physical UVC device (that naturally share the same

[PATCH] [media] uvcvideo: Add iFunction or iInterface to device names.

2017-04-06 Thread Peter Boström
Permits distinguishing between two /dev/videoX entries from the same physical UVC device (that naturally share the same iProduct name). This change matches current Windows behavior by prioritizing iFunction over iInterface, but unlike Windows it displays both iProduct and iFunction/iInterface

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
On Thu, 2017-04-06 at 17:43 +0200, Hans Verkuil wrote: > On 04/06/2017 04:54 PM, Philipp Zabel wrote: > > On Thu, 2017-04-06 at 16:20 +0200, Hans Verkuil wrote: > >> On 04/06/2017 03:55 PM, Philipp Zabel wrote: > >>> If the the field order is set to ANY in set_fmt, choose the currently > >>> set

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Hans Verkuil
On 04/06/2017 04:54 PM, Philipp Zabel wrote: > On Thu, 2017-04-06 at 16:20 +0200, Hans Verkuil wrote: >> On 04/06/2017 03:55 PM, Philipp Zabel wrote: >>> If the the field order is set to ANY in set_fmt, choose the currently >>> set field order. If the colorspace is set to DEFAULT, choose the

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
On Thu, 2017-04-06 at 16:10 +0100, Russell King - ARM Linux wrote: > On Thu, Apr 06, 2017 at 05:01:52PM +0200, Philipp Zabel wrote: > > On Thu, 2017-04-06 at 15:05 +0100, Russell King - ARM Linux wrote: > > > On Thu, Apr 06, 2017 at 03:55:29PM +0200, Philipp Zabel wrote: > > > > + > > > > +

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
On Thu, 2017-04-06 at 16:20 +0200, Hans Verkuil wrote: > On 04/06/2017 03:55 PM, Philipp Zabel wrote: > > If the the field order is set to ANY in set_fmt, choose the currently > > set field order. If the colorspace is set to DEFAULT, choose the current > > colorspace. If any of xfer_func,

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Russell King - ARM Linux
On Thu, Apr 06, 2017 at 05:01:52PM +0200, Philipp Zabel wrote: > On Thu, 2017-04-06 at 15:05 +0100, Russell King - ARM Linux wrote: > > On Thu, Apr 06, 2017 at 03:55:29PM +0200, Philipp Zabel wrote: > > > + > > > + /* Retain current field setting as default */ > > > + if (sdformat->format.field ==

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
On Thu, 2017-04-06 at 15:05 +0100, Russell King - ARM Linux wrote: > On Thu, Apr 06, 2017 at 03:55:29PM +0200, Philipp Zabel wrote: > > + > > + /* Retain current field setting as default */ > > + if (sdformat->format.field == V4L2_FIELD_ANY) > > + sdformat->format.field = fmt->field;

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
On Thu, 2017-04-06 at 16:20 +0200, Hans Verkuil wrote: > On 04/06/2017 03:55 PM, Philipp Zabel wrote: > > If the the field order is set to ANY in set_fmt, choose the currently > > set field order. If the colorspace is set to DEFAULT, choose the current > > colorspace. If any of xfer_func,

Re: [Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-06 Thread Sylwester Nawrocki
On 04/06/2017 08:11 AM, Smitha T Murthy wrote: Added V4l2 controls for HEVC encoder s/HEVC/H.265/HEVC ? Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 391 + 1 file changed, 391 insertions(+) diff --git

Re: [PATCH] [media] Order the Makefile alphabetically

2017-04-06 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Thursday 06 Apr 2017 16:40:51 Maxime Ripard wrote: > The Makefiles were a free for all without a clear order defined. Sort all > the options based on the Kconfig symbol. > > Signed-off-by: Maxime Ripard I like the

[PATCH] [media] Order the Makefile alphabetically

2017-04-06 Thread Maxime Ripard
The Makefiles were a free for all without a clear order defined. Sort all the options based on the Kconfig symbol. Signed-off-by: Maxime Ripard --- Hi Mauro, Here is my makefile ordering patch again, this time with all the Makefiles in drivers/media that

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Russell King - ARM Linux
On Thu, Apr 06, 2017 at 04:20:21PM +0200, Hans Verkuil wrote: > On 04/06/2017 03:55 PM, Philipp Zabel wrote: > > If the the field order is set to ANY in set_fmt, choose the currently > > set field order. If the colorspace is set to DEFAULT, choose the current > > colorspace. If any of xfer_func,

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-04-06 Thread Javier Martinez Canillas
Hello Gustavo, On 04/06/2017 10:08 AM, Gustavo Padovan wrote: > Hi Javier, > > 2017-04-05 Javier Martinez Canillas : > >> Hello Gustavo, >> >> On 04/05/2017 11:09 AM, Gustavo Padovan wrote: >>> 2017-04-03 Javier Martinez Canillas : >>> Hello

Re: [PATCH v9] [media] vimc: Virtual Media Controller core, capture and sensor

2017-04-06 Thread Helen Koike
Hi, There are two points below that I'll change in v10. I'll wait for your comments in the rest of the code so I can send all the requested changes in v10 On 2017-04-03 07:16 PM, Helen Koike wrote: First version of the Virtual Media Controller. Add a simple version of the core of the

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Hans Verkuil
On 04/06/2017 03:55 PM, Philipp Zabel wrote: > If the the field order is set to ANY in set_fmt, choose the currently > set field order. If the colorspace is set to DEFAULT, choose the current > colorspace. If any of xfer_func, ycbcr_enc or quantization are set to > DEFAULT, either choose the

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-04-06 Thread Gustavo Padovan
Hi Javier, 2017-04-05 Javier Martinez Canillas : > Hello Gustavo, > > On 04/05/2017 11:09 AM, Gustavo Padovan wrote: > > 2017-04-03 Javier Martinez Canillas : > > > >> Hello Mauro and Gustavo, > >> > >> On 04/03/2017 07:16 AM, Mauro Carvalho

Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Russell King - ARM Linux
On Thu, Apr 06, 2017 at 03:55:29PM +0200, Philipp Zabel wrote: > + > + /* Retain current field setting as default */ > + if (sdformat->format.field == V4L2_FIELD_ANY) > + sdformat->format.field = fmt->field; > + > + /* Retain current colorspace setting as default */ > +

[PATCH] [media] coda: do not enumerate YUYV if VDOA is not available

2017-04-06 Thread Philipp Zabel
TRY_FMT already disables the YUYV format if the VDOA is not available. ENUM_FMT must do the same. Fixes: d40e98c13b3e ("[media] coda: support YUYV output if VDOA is used") Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 6 ++ 1 file

[PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
If the the field order is set to ANY in set_fmt, choose the currently set field order. If the colorspace is set to DEFAULT, choose the current colorspace. If any of xfer_func, ycbcr_enc or quantization are set to DEFAULT, either choose the current setting, or the default setting for the new

[PATCH 1/2] si2157: revert si2157: Si2141/2151 tuner support

2017-04-06 Thread Antti Palosaari
'Reset' loop does not look correct. I tested it very many times and it never repeated those commands. If problem, it tries to solve, really occurs on some situations better solution should be find out. There is another patch which does not have such hackish looking loop. Lets change to it. Cc:

[PATCH 2/2] si2157: Add support for Si2141-A10

2017-04-06 Thread Antti Palosaari
From: Stefan Brüns The Si2141 needs two distinct commands for powerup/reset, otherwise it will not respond to chip revision requests. It also needs a firmware to run properly. Cc: Evgeny Plehov Signed-off-by: Stefan Brüns

Re: [Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-06 Thread Hans Verkuil
On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > Added V4l2 controls for HEVC encoder > > Signed-off-by: Smitha T Murthy General comment: don't forget to build the pdf and check that as well. > --- > Documentation/media/uapi/v4l/extended-controls.rst | 391 >

Re: [Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-06 Thread Sylwester Nawrocki
On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > @@ -775,6 +832,47 @@ const char *v4l2_ctrl_get_name(u32 id) > case V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP:return "VPX > P-Frame QP Value"; > case V4L2_CID_MPEG_VIDEO_VPX_PROFILE: return "VPX > Profile"; >

[PATCH v2 4/8] v4l: async: Provide interoperability between OF and fwnode matching

2017-04-06 Thread Sakari Ailus
OF and fwnode support are separated in V4L2 and individual drivers may implement one of them. Sub-devices do not match with a notifier expecting sub-devices with fwnodes, nor the other way around. Fix this by checking for sub-device's of_node field in fwnode match and fwnode field in OF match.

[PATCH v2 3/8] v4l: async: Add fwnode match support

2017-04-06 Thread Sakari Ailus
Add fwnode matching to complement OF node matching. And fwnode may also be an OF node. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-async.c | 12 include/media/v4l2-async.h | 5 + include/media/v4l2-subdev.h | 3

[PATCH v2 8/8] v4l: Remove V4L2 OF framework in favour of V4L2 fwnode framework

2017-04-06 Thread Sakari Ailus
All drivers have been converted from V4L2 OF to V4L2 fwnode. The V4L2 OF framework is now unused. Remove it. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/Makefile | 3 - drivers/media/v4l2-core/v4l2-of.c | 327 --

[PATCH v2 0/9] V4L2 fwnode support

2017-04-06 Thread Sakari Ailus
(Resending, got one list address wrong. Apologies for the noise...) Hello everyone, This patchset adds support for fwnode to V4L2. Besides OF, also ACPI based systems can be supported this way. By using V4L2 fwnode, the individual drivers do not need to be aware of the underlying firmware

[PATCH v2 6/8] v4l: media/drv-intf/soc_mediabus.h: include dependent header file

2017-04-06 Thread Sakari Ailus
media/drv-intf/soc_mediabus.h does depend on struct v4l2_mbus_config which is defined in media/v4l2-mediabus.h. Include it. Signed-off-by: Sakari Ailus --- include/media/drv-intf/soc_mediabus.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 2/8] v4l: fwnode: Support generic fwnode for parsing standardised properties

2017-04-06 Thread Sakari Ailus
The fwnode_handle is a more generic way than OF device_node to describe firmware nodes. Instead of the OF API, use more generic fwnode API to obtain the same information. As the V4L2 fwnode support will be required by a small minority of e.g. ACPI based systems (the same might actually go for

[PATCH v2 7/8] docs-rst: media: Switch documentation to V4L2 fwnode API

2017-04-06 Thread Sakari Ailus
Instead of including the V4L2 OF header in ReST documentation, use the V4L2 fwnode header instead. Signed-off-by: Sakari Ailus --- Documentation/media/kapi/v4l2-core.rst | 2 +- Documentation/media/kapi/v4l2-fwnode.rst | 3 +++

[PATCH v2 5/8] v4l: Switch from V4L2 OF not V4L2 fwnode API

2017-04-06 Thread Sakari Ailus
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. Signed-off-by: Sakari Ailus Acked-by: Benoit Parrot #

[PATCH v2 1/8] v4l: flash led class: Use fwnode_handle instead of device_node in init

2017-04-06 Thread Sakari Ailus
Pass the more generic fwnode_handle to the init function than the device_node. Signed-off-by: Sakari Ailus --- drivers/leds/leds-aat1290.c| 5 +++-- drivers/leds/leds-max77693.c | 5 +++--

From: Mr. David Jones?

2017-04-06 Thread Mr. David Jones
Hello I'm Mr. David Jones, Personal Lawyer to Late Eng. Albert Buchanan,a national of your country, An Estate Contractor here in England London. My Client had an account valued(£ 11.700.000.00), am contacting you to stand as a legal beneficiary for the deceased assets, so that the proceeds of

Re: [PATCH] arm: dma: fix sharing of coherent DMA memory without struct page

2017-04-06 Thread Marek Szyprowski
Hi Shuah, On 2017-04-05 18:02, Shuah Khan wrote: When coherent DMA memory without struct page is shared, importer fails to find the page and runs into kernel page fault when it tries to dmabuf_ops_attach/map_sg/map_page the invalid page found in the sg_table. Please see

Hello dear,

2017-04-06 Thread JOJO AKPE
I am Barr, Jojo Akpe, esq, a personal attorney to your late relative. I want to contact you to work with me in securing the transfer of fund(US$10,000,000.00 M) legacy by your late relative. I solicit your consent to enable me produce you as the Next of Kin to my deceased client since both of you

[GIT PULL 4.12] mn88472 statistics

2017-04-06 Thread Antti Palosaari
The following changes since commit 700ea5e0e0dd70420a04e703ff264cc133834cba: Merge tag 'v4.11-rc1' into patchwork (2017-03-06 06:49:34 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git mn88472 for you to fetch changes up to

Re: [RFC] [media] imx: assume MEDIA_ENT_F_ATV_DECODER entities output video on pad 1

2017-04-06 Thread Philipp Zabel
On Wed, 2017-04-05 at 11:53 -0300, Mauro Carvalho Chehab wrote: [...] > There are a number of drivers that can work with different > types of TV demodulators. Typical examples of such hardware can be > found at em28xx, saa7134, cx88 drivers (among lots of other drivers). > Those drivers don't use

Re: [PATCH v6 19/39] media: Add i.MX media core driver

2017-04-06 Thread Philipp Zabel
On Mon, 2017-03-27 at 17:40 -0700, Steve Longerbeam wrote: > Add the core media driver for i.MX SOC. > > Signed-off-by: Steve Longerbeam [...] > diff --git a/drivers/staging/media/imx/imx-media-of.c > b/drivers/staging/media/imx/imx-media-of.c > new file mode 100644

cron job: media_tree daily build: WARNINGS

2017-04-06 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: Thu Apr 6 10:14:24 CEST 2017 media-tree git hash:2f65ec0567f77b75f459c98426053a3787af356a media_build

Unknown symbol problem; em28xx (WinTV-soloHD)

2017-04-06 Thread Klaus Eicheler
Hi all, compiling media_build on my openSUSE 13.1 machine worked without errors, but issued some warnings, finally leading to (dmesg): [97792.189678] usb 2-1.6: new high-speed USB device number 10 using ehci-pci [97792.276140] usb 2-1.6: New USB device found, idVendor=2040, idProduct=0264

[GIT PULL FOR v4.12] video/sti/cec: add CEC notifier & use in sti driver + 2 fixes

2017-04-06 Thread Hans Verkuil
This patch series adds the CEC physical address notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the sti drm driver, adds support for it to the CEC framework and finally adds support to the stih-cec driver, which now can be moved out

[PATCHv6.1] media: add CEC notifier support

2017-04-06 Thread Hans Verkuil
Add support for CEC notifiers, which is used to convey CEC physical address information from video drivers to their CEC counterpart driver(s). Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9277043/ The cec_notifier is a reference counted object containing the

[PATCH 5/5] media: Update MAINTAINERS file for CXD2880

2017-04-06 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is MAINTAINERS file update about the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by:

[PATCH 2/5] media: Add support for CXD2880 SPI I/F

2017-04-06 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It contains the SPI adapter part of the driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH 1/5] dt-bindings: media: Add document file for CXD2880 SPI I/F

2017-04-06 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the document file for Sony CXD2880 DVB-T2/T tuner + demodulator. It contains the description of the SPI adapter binding. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH 0/5] dt-bindings: media: Add document file and driver

2017-04-06 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Hi, This is the patch series of Sony CXD2880 DVB-T2/T tuner + demodulator driver. The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media player. Thanks,

[GIT PULL FOR v4.12] Add support for the RainShadow Tech HDMI CEC adapter

2017-04-06 Thread Hans Verkuil
Identical to the v3 patch series. To use add this to /etc/udev/rules.d/70-cec.rules: SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="ff59", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="rainshadow-cec-inputattach@%k.service" Use this as the systemd

[PATCHv3 0/2] Add support for the RainShadow Tech HDMI CEC adapter

2017-04-06 Thread Hans Verkuil
From: Hans Verkuil This patch series adds support to the RainShadow Tech HDMI CEC adapter (http://rainshadowtech.com/HdmiCecUsb.html). The first patch adds the needed serio ID, the second adds the driver itself. This is identical to the v2 just rebased and now using the

[PATCHv3 1/2] serio.h: add SERIO_RAINSHADOW_CEC ID

2017-04-06 Thread Hans Verkuil
From: Hans Verkuil Add a new serio ID for the RainShadow Tech USB HDMI CEC adapter. Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov --- include/uapi/linux/serio.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv3 2/2] rainshadow-cec: new RainShadow Tech HDMI CEC driver

2017-04-06 Thread Hans Verkuil
From: Hans Verkuil This driver supports the RainShadow Tech USB HDMI CEC adapter. See: http://rainshadowtech.com/HdmiCecUsb.html Signed-off-by: Hans Verkuil --- MAINTAINERS | 7 +

cron job: media_tree daily build: ERRORS

2017-04-06 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: Thu Apr 6 08:35:13 CEST 2017 media-tree git hash:2f65ec0567f77b75f459c98426053a3787af356a media_build

[Patch v4 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2017-04-06 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h

[Patch v4 09/12] [media] s5p-mfc: Add VP9 decoder support

2017-04-06 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 6 ++

[Patch v4 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-06 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format which is also known as H.265. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- Documentation/media/uapi/v4l/pixfmt-013.rst | 5 + 1 file changed, 5 insertions(+) diff --git

[Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-06 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 391 + 1 file changed, 391 insertions(+) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst

[Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-06 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 104 +++ include/uapi/linux/v4l2-controls.h | 132 +++ 2

[Patch v4 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-04-06 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 +

[Patch v4 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-04-06 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 +

[Patch v4 06/12] [media] v4l2-ioctl: add HEVC format description

2017-04-06 Thread Smitha T Murthy
HEVC is a video coding format Signed-off-by: Smitha T Murthy --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 0c3f238..529d1f8 100644 ---

[Patch v4 08/12] [media] s5p-mfc: Add support for HEVC decoder

2017-04-06 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 1 +

[Patch v4 03/12] [media] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-04-06 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy

[Patch v4 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-04-06 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda

[Patch v4 00/12] Add MFC v10.10 support

2017-04-06 Thread Smitha T Murthy
This patch series adds MFC v10.10 support. MFC v10.10 is used in some of Exynos7 variants. This adds support for following: * Add support for HEVC encoder and decoder * Add support for VP9 decoder * Update Documentation for control id definitions * Update computation of min scratch buffer size

[Patch v4 01/12] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-04-06 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy Acked-by: Andrzej Hajda ---