RE: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-07 Thread Divneil Wadhawan
Hi Hans, include/media/davinci/vpfe_capture.h It uses videobuf-dma-contig.h, so, I left it out. drivers/media/platform/vivi-core.c Cannot find this one. Checked with find, in case it changed location, but couldn't. drivers/media/pci/saa7134/* Updated. Please find below the patch. I

Re: [[PATCH v2] 00/14] Fix ISDB-T tuning issues

2014-07-07 Thread Patrick Boettcher
Hi Mauro, I like all of your changes. Acked-By: Patrick Boettcher pboettc...@kernellabs.com regards, Patrick. On Fri, 4 Jul 2014 14:15:26 -0300 Mauro Carvalho Chehab m.che...@samsung.com wrote: While testing two dvb devices: - Mygica S870 (dib8096 based); - Pixelview

Re: vb2_reqbufs() is not allowing more than VIDEO_MAX_FRAME

2014-07-07 Thread Hans Verkuil
On 07/07/2014 09:27 AM, Divneil Wadhawan wrote: Hi Hans, include/media/davinci/vpfe_capture.h It uses videobuf-dma-contig.h, so, I left it out. Ah, you are right. I thought that one was converted to vb2, but it isn't. drivers/media/platform/vivi-core.c Cannot find this one.

my love

2014-07-07 Thread achiiaamir...@adinet.com.uy
prosím, můj drahý, budu rád, kdybyste mě kontaktovat na (mirianandrevv@yahoo. in) Můj nejdražší Jak se dnes máte a vaše rodina doufám, že je vše v pořádku s tebou Já jsem volal Mirian viděl jsem váš profil dnes (facebook) a zjistíte, že jste hoden být moje jako někoho, koho můžu ležel na jeho

Re: [PATCH v2 0/9] Updated fence patch series

2014-07-07 Thread Daniel Vetter
On Wed, Jul 2, 2014 at 7:37 AM, Greg KH gre...@linuxfoundation.org wrote: Android can expose fences to userspace. It's possible to make the new fence mechanism expose the same fences to userspace by changing sync_fence_create to take a struct fence instead of a struct sync_pt. No other change

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-07-07 Thread Daniel Vetter
On Mon, Jun 23, 2014 at 10:45 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: But in drivers/drm I can encounter a similar issue, people expect to be able to overwrite the contents of the currently displayed buffer, so I 'solved' it by not adding a fence on the buffer, only by

Re: [PATCH] Update sync-with-kernel to use installed kernel headers

2014-07-07 Thread Sakari Ailus
On Tue, Jul 01, 2014 at 06:24:26PM +0200, Laurent Pinchart wrote: Hi Sakari, Thank you for the review. On Tuesday 01 July 2014 17:30:38 Sakari Ailus wrote: On Tue, Jun 03, 2014 at 12:40:19PM +0200, Laurent Pinchart wrote: diff --git a/Makefile.am b/Makefile.am index 11baed1..35d0030

[PATCH] DocBook media: fix number of bits filled with zeros for SRGBB12

2014-07-07 Thread Andreas Weber
From 4e0d586d6ff8019032d1c6771428ee25c4bbb755 Mon Sep 17 00:00:00 2001 From: Andreas Weber andy.weber...@gmail.com Date: Mon, 7 Jul 2014 16:00:05 +0200 Subject: [PATCH] DocBook media: fix number of bits filled with zeros for SRGBB12 Signed-off-by: Andreas Weber andy.weber...@gmail.com ---

Re: LED / flash API integration related improvements

2014-07-07 Thread Sakari Ailus
Hi Jacek, I'll promise to reply sooner the next time. Just back from holidays. :-) On Mon, Jun 16, 2014 at 01:34:40PM +0200, Jacek Anaszewski wrote: On 06/16/2014 10:53 AM, Sakari Ailus wrote: Hi Jacek and others, Comments from the LED API folks would be highly appreciated. (Cc

[PATCH 0/9] Add support for Exynos3250 SoC to the s5p-jpeg driver

2014-07-07 Thread Jacek Anaszewski
This patch series adds support for jpeg codec on Exynos3250 SoC to the s5p-jpeg driver. Supported raw formats are: YUYV, YVYU, UYVY, VYUY, RGB565, RGB565X, RGB32, NV12, NV21. The support includes also scaling and cropping features. Thanks, Jacek Anaszewski Jacek Anaszewski (9): s5p-jpeg: Add

[PATCH 1/9] s5p-jpeg: Add support for Exynos3250 SoC

2014-07-07 Thread Jacek Anaszewski
This patch adds support for jpeg codec on Exynos3250 SoC to the s5p-jpeg driver. Supported raw formats are: YUYV, YVYU, UYVY, VYUY, RGB565, RGB565X, RGB32, NV12, NV21. The support includes also scaling and cropping features. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by:

[PATCH 2/9] s5p-jpeg: return error immediately after get_byte fails

2014-07-07 Thread Jacek Anaszewski
When parsing JPEG header s5p_jpeg_parse_hdr function should return immediately in case there was an error while reading a byte. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-jpeg/jpeg-core.c |4

[PATCH 3/9] s5p-jpeg: Adjust jpeg_bound_align_image to Exynos3250 needs

2014-07-07 Thread Jacek Anaszewski
The jpeg_bound_align_image function needs to know the context in which it is called, as it needs to align image dimensions in a slight different manner for Exynos3250, which crops pixels for specific values in case the format is RGB. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com

[PATCH 5/9] s5p-jpeg: Assure proper crop rectangle initialization

2014-07-07 Thread Jacek Anaszewski
Assure proper crop_rect initialization in case the user space doesn't call S_SELECTION ioctl. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 15 +++ 1 file changed, 15

[PATCH 4/9] s5p-jpeg: fix g_selection op

2014-07-07 Thread Jacek Anaszewski
V4L2_SEL_TGT_COMPOSE_DEFAULT switch case should select whole available area of the image and V4L2_SEL_TGT_COMPOSE should apply user settings. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 8/9] Documentation: devicetree: Document sclk-jpeg clock for exynos3250 SoC

2014-07-07 Thread Jacek Anaszewski
JPEG IP on Exynos3250 SoC requires enabling two clock gates for its operation. This patch documents this requirement. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

[PATCH 7/9] s5p-jpeg: add chroma subsampling adjustment for Exynos3250

2014-07-07 Thread Jacek Anaszewski
Take into account limitations specific to the Exynos3250 SoC, regarding setting chroma subsampling control value. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 59

[PATCH 6/9] s5p-jpeg: Prevent erroneous downscaling for Exynos3250 SoC

2014-07-07 Thread Jacek Anaszewski
JPEG codec on Exynos3250 SoC produces broken raw image if a JPEG is decoded to YUV420 format and downscaling by more then 2 is applied. Prevent this by asserting downscale ratio to 2. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH 9/9] ARM: dts: exynos3250: add JPEG codec device node

2014-07-07 Thread Jacek Anaszewski
Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala

[PATCH 3/4] media: rcar_vin: Fix race condition terminating stream

2014-07-07 Thread Ian Molton
This patch fixes a race condition whereby a frame being captured may generate an interrupt between requesting capture to halt and freeing buffers. This condition is exposed by the earlier patch that explicitly calls vb2_buffer_done() during stop streaming. The solution is to wait for capture to

[PATCH 4/4] media: rcar_vin: Clean up rcar_vin_irq

2014-07-07 Thread Ian Molton
This patch makes the rcar_vin IRQ handler a little more readable. Removes an else clause, and simplifies the buffer handling. Signed-off-by: Ian Molton ian.mol...@codethink.co.uk Reviewed-by: William Towle william.to...@codethink.co.uk --- drivers/media/platform/soc_camera/rcar_vin.c | 24

[PATCH 2/4] media: rcar_vin: Ensure all in-flight buffers are returned to error state before stopping.

2014-07-07 Thread Ian Molton
Videobuf2 complains about buffers that are still marked ACTIVE (in use by the driver) following a call to stop_streaming(). This patch returns all active buffers to state ERROR prior to stopping. Note: this introduces a (non fatal) race condition as the stream is not guaranteed to be stopped

[PATCH 0/4] rcar_vin: fix soc_camera WARN_ON() issues.

2014-07-07 Thread Ian Molton
This patch series provides fixes that allow the rcar_vin driver to function without triggering dozens of warnings from the videobuf2 and soc_camera layers. Patches 2/3 should probably be merged into a single, atomic change, although patch 2 does not make the existing situation /worse/ in and of

[PATCH 1/4] media: rcar_vin: Dont aggressively retire buffers

2014-07-07 Thread Ian Molton
rcar_vin_videobuf_release() is called once per buffer from the buf_cleanup hook. There is no need to look up the queue and free all buffers at this point. Signed-off-by: Ian Molton ian.mol...@codethink.co.uk Signed-off-by: William Towle william.to...@codethink.co.uk ---

Re: [Linux-kernel] [PATCH 0/4] rcar_vin: fix soc_camera WARN_ON() issues.

2014-07-07 Thread Ben Dooks
On 07/07/14 17:37, Ian Molton wrote: This patch series provides fixes that allow the rcar_vin driver to function without triggering dozens of warnings from the videobuf2 and soc_camera layers. Patches 2/3 should probably be merged into a single, atomic change, although patch 2 does not

Re: [PATCH v2 0/9] Updated fence patch series

2014-07-07 Thread Greg KH
On Mon, Jul 07, 2014 at 03:23:17PM +0200, Daniel Vetter wrote: On Wed, Jul 2, 2014 at 7:37 AM, Greg KH gre...@linuxfoundation.org wrote: Android can expose fences to userspace. It's possible to make the new fence mechanism expose the same fences to userspace by changing sync_fence_create to

Re: [PATCH v2 0/9] Updated fence patch series

2014-07-07 Thread Sumit Semwal
Hi Greg, On 2 July 2014 11:07, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 01, 2014 at 12:57:02PM +0200, Maarten Lankhorst wrote: So after some more hacking I've moved dma-buf to its own subdirectory, drivers/dma-buf and applied the fence patches to its new place. I believe that

New v4l2 driver does not allow brightness/contrast control

2014-07-07 Thread Rafael Coutinho
I have a v4l2 video capture board that using kernel 2.6 with v4l2 em28xx driver 3.0.36 allows me to control brightness, contrast etc... However in kernel 3.2 with v4l2 em28xx driver version 3.2.0 it does not. This is what I get from the latest driver: root@android:/ # v4l2-ctl --info Driver Info

[RFC 1/1] em28xx: fix configuration warning

2014-07-07 Thread Fabian Frederick
This patch tries to solve a problem detected with random configuration. warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT I2C VIDEO_V4L2 MEDIA_CAMERA_SUPPORT) Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org

Re: [RFC 1/1] em28xx: fix configuration warning

2014-07-07 Thread Mauro Carvalho Chehab
Hi Fabian, Em Mon, 07 Jul 2014 20:51:55 +0200 Fabian Frederick f...@skynet.be escreveu: This patch tries to solve a problem detected with random configuration. warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT I2C VIDEO_V4L2

Few questions about dibusb i2c over usb protocol

2014-07-07 Thread Raimonds Cicans
Hello. 1) As I understand format of i2c read command is following: 2, (dev_i2c_addr1)|1, addr_hi, addr_lo, size_hi, size_lo but in debug output I saw following commands: 02 a3 00 01 55 02 a3 00 04 55 00 53 00 This commands are shorter then command described above. Meaning of bytes 1, 2

Status of the ddbridge driver update

2014-07-07 Thread Guy Martin
Hi Maik, What is the current status of the ddbridge driver update ? Are you still working on it ? I'm not seeing any update since November 2013. Do you have an updated version of what you sent last ? I'd like to continue your work if you cannot work on this anymore. Regards, Guy -- To

fix PCTV 461e tuner I2C binding

2014-07-07 Thread Shuah Khan
Mauro/Antti, I have been looking at the following commit to drivers/media/usb/em28xx/em28xx-dvb.c a83b93a7480441a47856dc9104bea970e84cda87 +++ b/drivers/media/usb/em28xx/em28xx-dvb.c @@ -1630,6 +1630,7 @@ static int em28xx_dvb_resume(struct em28xx *dev) em28xx_info(Resuming DVB

cron job: media_tree daily build: OK

2014-07-07 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 Jul 8 04:00:21 CEST 2014 git branch: test git hash: 3c0d394ea7022bb9666d9df97a5776c4bcc3045c gcc

Re: fix PCTV 461e tuner I2C binding

2014-07-07 Thread Antti Palosaari
Moikka Shuah On 07/08/2014 02:34 AM, Shuah Khan wrote: Mauro/Antti, I have been looking at the following commit to drivers/media/usb/em28xx/em28xx-dvb.c a83b93a7480441a47856dc9104bea970e84cda87 +++ b/drivers/media/usb/em28xx/em28xx-dvb.c @@ -1630,6 +1630,7 @@ static int

[PATCH 4/4] tda10071: fix returned symbol rate calculation

2014-07-07 Thread Antti Palosaari
Detected symbol rate value was returned too small. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/tda10071.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c index

[PATCH 3/4] tda10071: fix spec inversion reporting

2014-07-07 Thread Antti Palosaari
Inversion ON was reported as inversion OFF and vice versa. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/tda10071.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/tda10071.c

[PATCH 2/4] tda10071: add missing DVB-S2/PSK-8 FEC AUTO

2014-07-07 Thread Antti Palosaari
FEC AUTO is valid for PSK-8 modulation too. Add it. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/tda10071_priv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-frontends/tda10071_priv.h b/drivers/media/dvb-frontends/tda10071_priv.h index

[PATCH 1/4] tda10071: force modulation to QPSK on DVB-S

2014-07-07 Thread Antti Palosaari
Only supported modulation for DVB-S is QPSK. Modulation parameter contains invalid value for DVB-S on some cases, which leads driver refusing tuning attempt. Due to that, hard code modulation to QPSK in case of DVB-S. Cc: sta...@vger.kernel.org Signed-off-by: Antti Palosaari cr...@iki.fi ---

[GIT PULL 3.16] tda10071 fixes

2014-07-07 Thread Antti Palosaari
The following changes since commit 13936af3d2f04f173a83cc050dbc4b20d8562b81: [media] saa7134: use unlocked_ioctl instead of ioctl (2014-06-19 13:14:51 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git tda10071 for you to fetch changes up to

Re: [GIT PULL 3.16] tda10071 fixes

2014-07-07 Thread Antti Palosaari
These are not very critical and all are old, so better to pull for 3.17 as it is now 3.16-rc4... regards Antti On 07/08/2014 08:55 AM, Antti Palosaari wrote: The following changes since commit 13936af3d2f04f173a83cc050dbc4b20d8562b81: [media] saa7134: use unlocked_ioctl instead of ioctl