Re: [PATCH v3] drm/exynos: Add fallback option to get non physically continous memory for fb

2013-08-05 Thread Sachin Kamat
Hi Vikas, On 6 August 2013 10:53, Vikas Sajjan wrote: > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel > connected with resolution 2560x1600, following error occured even with > IOMMU enabled: > [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate buffer.

Re: Syntek webcams and out-of-tree driver

2013-08-05 Thread Hans de Goede
Hi, On 08/05/2013 11:19 PM, Ondrej Zary wrote: Hello, the in-kernel stkwebcam driver (by Jaime Velasco Juan and Nicolas VIVIEN) supports only two webcam types (USB IDs 0x174f:0xa311 and 0x05e1:0x0501). There are many other Syntek webcam types that are not supported by this driver (such as 0x174f

[PATCH v3] drm/exynos: Add fallback option to get non physically continous memory for fb

2013-08-05 Thread Vikas Sajjan
While trying to get boot-logo up on exynos5420 SMDK which has eDP panel connected with resolution 2560x1600, following error occured even with IOMMU enabled: [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate buffer. [0.89] [drm] Initialized exynos 1.0.0 20110530 on minor 0 T

Re: [RFC v3 04/13] [media] exynos5-fimc-is: Add common driver header files

2013-08-05 Thread Arun Kumar K
Hi Sylwester, On Sun, Aug 4, 2013 at 3:13 AM, Sylwester Nawrocki wrote: > On 08/02/2013 05:02 PM, Arun Kumar K wrote: >> >> This patch adds all the common header files used by the fimc-is >> driver. It includes the commands for interfacing with the firmware >> and error codes from IS firmware, me

Re: [RFC v3 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-05 Thread Sylwester Nawrocki
On 08/05/2013 06:53 PM, Stephen Warren wrote: On 08/03/2013 03:41 PM, Sylwester Nawrocki wrote: On 08/02/2013 05:02 PM, Arun Kumar K wrote: The patch adds the DT binding documentation for Samsung Exynos5 SoC series imaging subsystem (FIMC-IS). diff --git a/Documentation/devicetree/bindings/m

Vážení E-mail užívateľa;

2013-08-05 Thread webmail update
Vážení E-mail užívateľa; Prekročili ste 23432 boxy nastaviť svoje Webová služba / Administrátor, a budete mať problémy pri odosielaní a prijímať e-maily, kým znova overiť. Musíte aktualizovať kliknutím na odkaz nižšie a vyplňte údaje pre overenie vášho účtu Prosím, kliknite na odkaz nižšie alebo sk

Syntek webcams and out-of-tree driver

2013-08-05 Thread Ondrej Zary
Hello, the in-kernel stkwebcam driver (by Jaime Velasco Juan and Nicolas VIVIEN) supports only two webcam types (USB IDs 0x174f:0xa311 and 0x05e1:0x0501). There are many other Syntek webcam types that are not supported by this driver (such as 0x174f:0x6a31 in Asus F5RL laptop). There is an out-of-

Re: mceusb Fintek ir transmitter only works when X is not running

2013-08-05 Thread Sean Young
On Mon, Aug 05, 2013 at 07:17:10PM +0100, Rajil Saraswat wrote: > Please find attached two traces. > - X.txt from inside an X session where irsend doesnt trigger ir led. > -noX.txt from virtual console with X stopped. irsend triggers the ir led. > > Also, i have made sure input for this device is

Re: dib8000 scanning not working on 3.10.3

2013-08-05 Thread Mauro Carvalho Chehab
Em Mon, 05 Aug 2013 16:09:56 -0300 Luis Polasek escreveu: > Hi Mauro, I have tested using dvb5-scan, and the results are the same (no > results, and no error logs) :( > > Do you have any clue why it is not working with this kernel version ? c/c Oliver and Patrick, who maintains this driver Th

[PATCH] [media] gspca: fix dev_open() error path

2013-08-05 Thread Alexey Khoroshilov
If v4l2_fh_open() fails in dev_open(), gspca_dev->module left locked. The patch adds module_put(gspca_dev->module) on this path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/usb/gspca/gspca.c | 6 +- 1 file changed, 5 ins

[GIT PULL for v3.11-rc5] media fixes

2013-08-05 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus for some drivers fixes (em28xx, coda, usbtv, s5p, hdpvr and ml86v7667) and at a fix for media DocBook. Thanks! Mauro - The following changes since commit 1b2c14b44adcb7836528640bfdc4

Re: dib8000 scanning not working on 3.10.3

2013-08-05 Thread Luis Polasek
Hi Mauro, I have tested using dvb5-scan, and the results are the same (no results, and no error logs) :( Do you have any clue why it is not working with this kernel version ? Thanks and regards... On Thu, Aug 1, 2013 at 2:15 PM, Mauro Carvalho Chehab wrote: > Em Thu, 1 Aug 2013 13:36:25 -0300

Re: mceusb Fintek ir transmitter only works when X is not running

2013-08-05 Thread Rajil Saraswat
> > I have the exact same device and it works fine with 3.10.4 vanilla, > whether X is running out or not. Please can you send the output of > usbmon while issuing irsend (just the interface with the mce device). > > > Thanks > Sean Please find attached two traces. - X.txt from inside an X session

Re: [RFC 0/1] drm/pl111: Initial drm/kms driver for pl111

2013-08-05 Thread Rob Clark
On Mon, Aug 5, 2013 at 1:10 PM, Tom Cooksey wrote: > Hi Rob, > > +linux-media, +linaro-mm-sig for discussion of video/camera > buffer constraints... > > >> On Fri, Jul 26, 2013 at 11:58 AM, Tom Cooksey >> wrote: >> >> > * It abuses flags parameter of DRM_IOCTL_MODE_CREATE_DUMB to also >> >> >

[PATCH v6 02/10] Documentation: media: Clarify the VIDIOC_CREATE_BUFS format requirements

2013-08-05 Thread Laurent Pinchart
The VIDIOC_CREATE_BUFS ioctl takes a format argument that must contain a valid format supported by the driver. Clarify the documentation. Signed-off-by: Laurent Pinchart --- .../DocBook/media/v4l/vidioc-create-bufs.xml | 41 ++ 1 file changed, 26 insertions(+), 15 delet

[PATCH v6 03/10] media: vb2: Clarify queue_setup() and buf_prepare() usage documentation

2013-08-05 Thread Laurent Pinchart
Explain how the two operations must handle formats and validate buffer sizes when used with VIDIOC_CREATE_BUFS. Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil --- include/media/videobuf2-core.h | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/media

[PATCH v6 07/10] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats

2013-08-05 Thread Laurent Pinchart
NV16M and NV61M are planar YCbCr 4:2:2 and YCrCb 4:2:2 formats with a luma plane followed by an interleaved chroma plane. The planes are not required to be contiguous in memory, and the formats can only be used with the multi-planar formats API. Signed-off-by: Laurent Pinchart Reviewed-by: Sylwes

[PATCH v6 06/10] v4l: Add media format codes for ARGB8888 and AYUV8888 on 32-bit busses

2013-08-05 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart Reviewed-by: Sylwester Nawrocki Acked-by: Hans Verkuil --- Documentation/DocBook/media/v4l/subdev-formats.xml | 609 + Documentation/DocBook/media_api.tmpl | 6 + include/uapi/linux/v4l2-mediabus.h | 6 +- 3 f

[PATCH v6 04/10] media: vb2: Take queue or device lock in vb2_fop_mmap()

2013-08-05 Thread Laurent Pinchart
The vb2_fop_mmap() function is a plug-in implementation of the mmap() file operation that calls vb2_mmap() on the queue associated with the video device. Neither the vb2_fop_mmap() function nor the v4l2_mmap() mmap handler in the V4L2 core take any lock, leading to race conditions between mmap() an

[PATCH v6 05/10] v4l: Fix V4L2_MBUS_FMT_YUV10_1X30 media bus pixel code value

2013-08-05 Thread Laurent Pinchart
The V4L2_MBUS_FMT_YUV10_1X30 code is documented as being equal to 0x2014, while the v4l2-mediabus.h header defines it as 0x2016. Fix the documentation. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Acked-by: Hans Verkuil --- Documentation/DocBook/media/v4l/subdev-formats.xml | 2 +- 1

[PATCH v6 10/10] vsp1: Use the maximum number of entities defined in platform data

2013-08-05 Thread Laurent Pinchart
From: Katsuya Matsubara The VSP1 driver allows to define the maximum number of each module such as RPF, WPF, and UDS in a platform data definition. This suppresses operations for nonexistent or unused modules. Signed-off-by: Katsuya Matsubara Signed-off-by: Laurent Pinchart Acked-by: Sakari Ai

[PATCH v6 01/10] media: Add support for circular graph traversal

2013-08-05 Thread Laurent Pinchart
The graph traversal API (media_entity_graph_walk_*) doesn't support cyclic graphs and will fail to correctly walk a graph when circular links exist. Support circular graph traversal by checking whether an entity has already been visited before pushing it to the stack. Signed-off-by: Laurent Pincha

[PATCH v6 09/10] vsp1: Fix lack of the sink entity registration for enabled links

2013-08-05 Thread Laurent Pinchart
From: Katsuya Matsubara Each source entity maintains a pointer to the counterpart sink entity while an enabled link connects them. It should be managed by the setup_link callback in the media controller framework at runtime. However, enabled links which connect RPFs and WPFs that have an equivale

[PATCH v6 00/10] Renesas VSP1 driver

2013-08-05 Thread Laurent Pinchart
Hello, Here's the sixth version of the VSP1 engine (a Video Signal Processor found in several Renesas R-Car SoCs) driver. This version adds a videobuf2 mmap locking fix and improves the documentation patch (thanks to Hans for the discussion we had on IRC, hopefully we won't need another round now)

Re: [PATCH 0/2] Exynos: MFC: clean up device tree bindings

2013-08-05 Thread Kukjin Kim
On 08/05/13 21:26, Marek Szyprowski wrote: Hello, Hi, This patch series are an attempt to cleanup the reserved memory device tree bindings for MFC device. MFC device has two memory ports (AXI masters), which are used to do DMA. Usually separate memory regions are being defined for each of tho

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 06:24:43PM +0200, walter harms wrote: > Hello Julia, > > IMHO keep the patch as it is. > It does not change any code that is good. > Suspicious code that comes up here can be addressed > in a separate patch. > Gar... No, if we silence static checker warnings without fixin

Re: [RFC v3 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-05 Thread Stephen Warren
On 08/03/2013 03:41 PM, Sylwester Nawrocki wrote: > On 08/02/2013 05:02 PM, Arun Kumar K wrote: >> The patch adds the DT binding documentation for Samsung >> Exynos5 SoC series imaging subsystem (FIMC-IS). >> diff --git >> a/Documentation/devicetree/bindings/media/exynos5-fimc-is.txt >> b/Document

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Jonathan Corbet
On Mon, 5 Aug 2013 18:19:18 +0200 (CEST) Julia Lawall wrote: > Oops, thanks for spotting that. I'm not sure whether it is safe to abort > these calls as soon as the first one fails, but perhaps I could introduce > some more variables, and test them all afterwards. Yes, it would be safe. But

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Julia Lawall
On Mon, 5 Aug 2013, Dan Carpenter wrote: On Mon, Aug 05, 2013 at 04:47:39PM +0200, Julia Lawall wrote: diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c/ov7670.c index e8a1ce2..4a5a5dc 100644 --- a/drivers/media/i2c/ov7670.c +++ b/drivers/media/i2c/ov7670.c @@ -1369,8 +1369,8 @@ stati

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread walter harms
Hello Julia, IMHO keep the patch as it is. It does not change any code that is good. Suspicious code that comes up here can be addressed in a separate patch. just my 2 cents, re, wh Am 05.08.2013 18:19, schrieb Julia Lawall: > On Mon, 5 Aug 2013, Dan Carpenter wrote: > >> On Mon, Aug 05, 2013

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Julia Lawall
On Mon, 5 Aug 2013, walter harms wrote: Hello Julia, IMHO keep the patch as it is. It does not change any code that is good. Suspicious code that comes up here can be addressed in a separate patch. OK, thanks! julia -- To unsubscribe from this list: send the line "unsubscribe linux-media" in

Re: [RFC v3 03/13] [media] exynos5-fimc-is: Add driver core files

2013-08-05 Thread Arun Kumar K
Hi Sylwester, On Sun, Aug 4, 2013 at 3:12 AM, Sylwester Nawrocki wrote: > On 08/02/2013 05:02 PM, Arun Kumar K wrote: >> >> This driver is for the FIMC-IS IP available in Samsung Exynos5 >> SoC onwards. This patch adds the core files for the new driver. >> >> Signed-off-by: Arun Kumar K >> Signed

Re: [PATCH V2] drm/exynos: Add fallback option to get non physically continous memory for fb

2013-08-05 Thread Tomasz Figa
On Monday 05 of August 2013 15:14:42 Vikas Sajjan wrote: > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel > connected with resolution 2560x1600, following error occured even with > IOMMU enabled: > [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate > buffe

Re: [PATCH V2] drm/exynos: Add fallback option to get non physically continous memory for fb

2013-08-05 Thread Rob Clark
On Mon, Aug 5, 2013 at 5:44 AM, Vikas Sajjan wrote: > While trying to get boot-logo up on exynos5420 SMDK which has eDP panel > connected with resolution 2560x1600, following error occured even with > IOMMU enabled: > [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate buffer. > [

Proposal

2013-08-05 Thread Lisbeth Karlsson
I seek your consent to present you as the next of kin to the account of a deceased client for claims valued at Fourteen million, three hundred thousand Pounds. Contact me through my private email for details: halawani@ovi.com Mr. Halawani, Azhar Abdulrahim. Solicitors Legal Services Barr

Re: [PATCH 2/6] v4l: ti-vpe: Add helpers for creating VPDMA descriptors

2013-08-05 Thread Tomi Valkeinen
On 05/08/13 15:05, Archit Taneja wrote: > On Monday 05 August 2013 02:41 PM, Tomi Valkeinen wrote: >> There's quite a bit of code in these dump functions, and they are always >> called. I'm sure getting that data is good for debugging, but I presume >> they are quite useless for normal use. So I t

[PATCH 2/2] media: s5p-mfc: remove DT hacks and simplify initialization code

2013-08-05 Thread Marek Szyprowski
This patch removes custom initialization of reserved memory regions from s5p-mfc driver. Memory initialization can be now handled by generic code. Signed-off-by: Marek Szyprowski --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 75 ++ 1 file changed, 15 insertions(+),

[PATCH 0/2] Exynos: MFC: clean up device tree bindings

2013-08-05 Thread Marek Szyprowski
Hello, This patch series are an attempt to cleanup the reserved memory device tree bindings for MFC device. MFC device has two memory ports (AXI masters), which are used to do DMA. Usually separate memory regions are being defined for each of those memory ports to improve performance. Some version

[PATCH 1/2] ARM: Exynos: replace custom MFC reserved memory handling with generic code

2013-08-05 Thread Marek Szyprowski
MFC driver use custom bindings for managing reserved memory. Those bindings are not really specific to MFC device and no even well discussed. They can be easily replaced with generic, platform independent code for handling reserved and contiguous memory. Two additional child devices for each memor

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-05 Thread Tomi Valkeinen
On 05/08/13 14:26, Archit Taneja wrote: > On Monday 05 August 2013 01:43 PM, Tomi Valkeinen wrote: >>> +/* >>> + * submit a list of DMA descriptors to the VPE VPDMA, do not wait >>> for completion >>> + */ >>> +int vpdma_submit_descs(struct vpdma_data *vpdma, struct >>> vpdma_desc_list *list) >>>

Re: [PATCH 2/6] v4l: ti-vpe: Add helpers for creating VPDMA descriptors

2013-08-05 Thread Archit Taneja
On Monday 05 August 2013 02:41 PM, Tomi Valkeinen wrote: On 02/08/13 17:03, Archit Taneja wrote: Create functions which the VPE driver can use to create a VPDMA descriptor and add it to a VPDMA descriptor list. These functions take a pointer to an existing list, and append the configuration/data

Re: [PATCH 2/3] [media] exynos4-is: Annotate unused functions

2013-08-05 Thread Sachin Kamat
Hi Sylwester, On 5 August 2013 16:35, Sylwester Nawrocki wrote: > Hi Sachin, > > On 08/05/2013 07:12 AM, Sachin Kamat wrote: >> On 2 August 2013 12:02, Sachin Kamat wrote: >>> > __is_set_init_isp_aa and fimc_is_hw_set_tune currently do not have >>> > any callers. However these functions may be u

Re: mceusb Fintek ir transmitter only works when X is not running

2013-08-05 Thread Sean Young
On Sun, Aug 04, 2013 at 01:56:49PM +0100, Rajil Saraswat wrote: > Hi, > > I have a HP MCE ir transreceiver which is recognised as Fintek device. > The receiver works fine, however the transmitter only works when there > is no X session running. > > > When X is stopped and the following command i

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-05 Thread Archit Taneja
On Monday 05 August 2013 01:43 PM, Tomi Valkeinen wrote: Hi, On 02/08/13 17:03, Archit Taneja wrote: +struct vpdma_data_format vpdma_yuv_fmts[] = { + [VPDMA_DATA_FMT_Y444] = { + .data_type = DATA_TYPE_Y444, + .depth = 8, + }, This, and al

Re: [PATCH 2/3] [media] exynos4-is: Annotate unused functions

2013-08-05 Thread Sylwester Nawrocki
Hi Sachin, On 08/05/2013 07:12 AM, Sachin Kamat wrote: > On 2 August 2013 12:02, Sachin Kamat wrote: >> > __is_set_init_isp_aa and fimc_is_hw_set_tune currently do not have >> > any callers. However these functions may be used in the future. Hence >> > instead of deleting them, staticize and anno

Re: [RFC v3 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-05 Thread Sylwester Nawrocki
Hi Arun, On 08/05/2013 12:06 PM, Arun Kumar K wrote: > Hi Sylwester, > > Thank you for the review. > Will address all your review comments. > Some responses below: Thanks, it took me a while to review this nearly 10k of code. But fortunately I could spent some more time at the computer this week

Re: [RFC v3 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-05 Thread Arun Kumar K
Hi Sachin, Thank you for the review. On Mon, Aug 5, 2013 at 10:51 AM, Sachin Kamat wrote: > On 2 August 2013 20:32, Arun Kumar K wrote: >> From: Shaik Ameer Basha >> >> This patch adds support for media device for EXYNOS5 SoCs. >> The current media device supports the following ips to connect

Re: [RFC v3 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-05 Thread Arun Kumar K
Hi Sylwester, Thank you for the review. Will address all your review comments. Some responses below: [snip] >> + >> +static int fimc_md_register_sensor_entities(struct fimc_md *fmd) >> +{ >> + struct device_node *of_node = fmd->pdev->dev.of_node; >> + int ret; >> + >> + /* >> +

[PATCH V2] drm/exynos: Add fallback option to get non physically continous memory for fb

2013-08-05 Thread Vikas Sajjan
While trying to get boot-logo up on exynos5420 SMDK which has eDP panel connected with resolution 2560x1600, following error occured even with IOMMU enabled: [0.88] [drm:lowlevel_buffer_allocate] *ERROR* failed to allocate buffer. [0.89] [drm] Initialized exynos 1.0.0 20110530 on minor 0 T

Re: [RFC PATCH 7/7] qv4l2: add aspect ratio support

2013-08-05 Thread Hans Verkuil
Hi Bård, Some comments below... On 08/05/2013 10:56 AM, Bård Eirik Winther wrote: > Signed-off-by: Bård Eirik Winther > --- > utils/qv4l2/capture-win.cpp | 24 ++-- > utils/qv4l2/capture-win.h | 8 +++- > utils/qv4l2/general-tab.cpp | 36 ++

Re: [PATCH 3/6] v4l: ti-vpe: Add VPE mem to mem driver

2013-08-05 Thread Tomi Valkeinen
On 02/08/13 17:03, Archit Taneja wrote: > VPE is a block which consists of a single memory to memory path which can > perform chrominance up/down sampling, de-interlacing, scaling, and color space > conversion of raster or tiled YUV420 coplanar, YUV422 coplanar or YUV422 > interleaved video formats

Re: [PATCH 2/6] v4l: ti-vpe: Add helpers for creating VPDMA descriptors

2013-08-05 Thread Tomi Valkeinen
On 02/08/13 17:03, Archit Taneja wrote: > Create functions which the VPE driver can use to create a VPDMA descriptor and > add it to a VPDMA descriptor list. These functions take a pointer to an > existing > list, and append the configuration/data/control descriptor header to the list. > > In the

[RFC PATCH 0/7] qv4l2: scaling and pixel aspect ratio

2013-08-05 Thread Bård Eirik Winther
The patch series depends on the qv4l2 ALSA and OpenGL patch series. This adds scaling and aspect ratio support to the qv4l2 CaptureWin. It also fixes some issues with the original OpenGL patch series, as well as adding tweaks and improvements left out in the original patches. Some of the changes/

[RFC PATCH 7/7] qv4l2: add aspect ratio support

2013-08-05 Thread Bård Eirik Winther
Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win.cpp | 24 ++-- utils/qv4l2/capture-win.h | 8 +++- utils/qv4l2/general-tab.cpp | 36 utils/qv4l2/general-tab.h | 3 +++ utils/qv4l2/qv4l2.cpp | 22 +++

[RFC PATCH 3/7] qv4l2: show frames option can be toggled during capture

2013-08-05 Thread Bård Eirik Winther
Signed-off-by: Bård Eirik Winther --- utils/qv4l2/qv4l2.cpp | 77 ++- utils/qv4l2/qv4l2.h | 2 +- 2 files changed, 41 insertions(+), 38 deletions(-) diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp index e078e91..fa1425d 100644 --- a/u

[RFC PATCH 6/7] qv4l2: add hotkey for reset scaling to frame size

2013-08-05 Thread Bård Eirik Winther
Adds hotkey CTRL + F for both CaptureWin and main Capture menu. Resets the scaling of CaptureWin to fit frame size. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win.cpp | 3 +++ utils/qv4l2/capture-win.h | 1 + utils/qv4l2/qv4l2.cpp | 1 + 3 files changed, 5 insertions(+) d

[RFC PATCH 5/7] qv4l2: add video scaling for CaptureWin

2013-08-05 Thread Bård Eirik Winther
Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win-gl.cpp | 26 -- utils/qv4l2/capture-win-gl.h | 8 utils/qv4l2/capture-win-qt.cpp | 24 +- utils/qv4l2/capture-win-qt.h | 5 ++ utils/qv4l2/capture-win.cpp| 106 +++-

[RFC PATCH 2/7] qv4l2: fix black screen with opengl after capture

2013-08-05 Thread Bård Eirik Winther
Fixes the issue when the window was beeing resized/moved and the frame image would become black. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win-gl.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/utils/qv4l2/capture-win-gl.cpp b/utils/qv4l2/capture-win-gl.cpp index ba

[RFC PATCH 1/7] qv4l2: fix YUY2 shader

2013-08-05 Thread Bård Eirik Winther
Fixed the YUY2 shaders to support scaling. The new solution has cleaner shader code and texture upload uses a better format for OpenGL. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win-gl.cpp | 68 ++ 1 file changed, 35 insertions(+), 33 delet

[RFC PATCH 4/7] qv4l2: add function getMargins

2013-08-05 Thread Bård Eirik Winther
Created a function to get the total margins (window frame) in pixels outside the actual video frame beeing displayed. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win.cpp | 14 ++ utils/qv4l2/capture-win.h | 2 ++ 2 files changed, 12 insertions(+), 4 deletions(-) dif

Re: [RFC PATCH 7/8] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines

2013-08-05 Thread Prabhakar Lad
Hi Hans, Thanks for the patch. On Mon, Jul 29, 2013 at 6:11 PM, Hans Verkuil wrote: > From: Hans Verkuil > > Use the new blanking and frame size defines. This also fixed a bug in > these drivers: they assumed that the height for interlaced formats was > the field height, however height is the f

Re: [PATCH 1/6] v4l: ti-vpe: Create a vpdma helper library

2013-08-05 Thread Tomi Valkeinen
Hi, On 02/08/13 17:03, Archit Taneja wrote: > +struct vpdma_data_format vpdma_yuv_fmts[] = { > + [VPDMA_DATA_FMT_Y444] = { > + .data_type = DATA_TYPE_Y444, > + .depth = 8, > + }, This, and all the other tables, should probably be consts? > +static v

Re: [PATCH 3/5] qv4l2: add ALSA stream to qv4l2

2013-08-05 Thread Bård Eirik Winther
On Saturday, August 03, 2013 12:19:54 AM you wrote: > Hello, > > > diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am > > index 22d4c17..eed25b0 100644 > > --- a/utils/qv4l2/Makefile.am > > +++ b/utils/qv4l2/Makefile.am > > @@ -4,7 +4,8 @@ qv4l2_SOURCES = qv4l2.cpp general-tab.cpp ctrl

Re: [PATCH] drm/exynos: Add check for IOMMU while passing physically continous memory flag

2013-08-05 Thread Vikas Sajjan
Hi Sylwester, On 2 August 2013 16:28, Sylwester Nawrocki wrote: > Hi Vikas, > > On 08/02/2013 12:10 PM, Vikas Sajjan wrote: >> yeah, we could not allocate CMA region for FIMD, because the function >> dma_declare_contiguous() needs "dev" as the first argument and we have >> access to "dev" node on

Re: [RFC PATCH 6/8] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines

2013-08-05 Thread Prabhakar Lad
Hi Hans, Thanks for the patch. On Mon, Jul 29, 2013 at 6:10 PM, Hans Verkuil wrote: > From: Hans Verkuil > > Use the new defines to calculate the full blanking and frame sizes. > > Signed-off-by: Hans Verkuil > Cc: Lad, Prabhakar > Cc: Scott Jiang > --- [Snip] > drivers/media/i2c/ths7303.c

Re: [RFC PATCH 5/8] videodev2.h: defines to calculate blanking and frame sizes

2013-08-05 Thread Prabhakar Lad
Hi Hans, Thanks for the patch. On Mon, Jul 29, 2013 at 6:10 PM, Hans Verkuil wrote: > From: Hans Verkuil > > It is very common to have to calculate the total width and height of the > blanking and the full frame, so add a few defines that deal with that. > > Signed-off-by: Hans Verkuil Acked-