Re: cron job: media_tree daily build: OK

2013-11-25 Thread Hans Verkuil
Finally! It's producing an OK result. It's been a long, long time since we managed that. Next step: continue whittling away at the sparse warnings/errors. Regards, Hans On 11/25/2013 04:32 AM, Hans Verkuil wrote: This message is generated daily by a cron job that builds media_tree for

[PATCH v8] videobuf2: Add missing lock held on vb2_fop_relase

2013-11-25 Thread Ricardo Ribalda Delgado
From: Ricardo Ribalda ricardo.riba...@gmail.com vb2_fop_release does not held the lock although it is modifying the queue-owner field. This could lead to race conditions on the vb2_perform_io function when multiple applications are accessing the video device via read/write API: [ 308.297741]

Re: [Intel-gfx] [Mesa-dev] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2013 at 02:12:13PM -0800, Kristian Høgsberg wrote: I don't know what else you'd propose? Pass an X visual in the ioctl? An EGL config? This is our name space, we can add stuff as we need (as Keith is doing here). include/uapi/drm/drm_fourcc.h is the canonical source for these

Re: [PATCH] videobuf2-dma-sg: Support io userptr operations on io memory

2013-11-25 Thread Ricardo Ribalda Delgado
Hello Mathias Memory managing is definately not my topic. I have done the same as in vb2-dmacontig, and it has worked on my driver (out of tree). I think that if there is something wrong it will also be wrong on the dmacontig part, and much more drivers would be affected, so please also take a

Re: [PATCH v5] videodev2: Set vb2_rect's width and height as unsigned

2013-11-25 Thread Ricardo Ribalda Delgado
Hello Is there anything that needs to be addressed on this patch? Thanks! On Fri, Nov 8, 2013 at 2:41 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Hello Sakari On Fri, Nov 8, 2013 at 11:39 AM, Sakari Ailus sakari.ai...@iki.fi wrote: On Fri, Nov 08, 2013 at 11:12:54AM +0100,

Re: [PATCH 2/3] femon: Display SNR in dB

2013-11-25 Thread Jean Delvare
Hi Manu, On Sun, 24 Nov 2013 22:51:33 +0530, Manu Abraham wrote: Sorry, that I came upon this patch quite late. No problem, better late than never! :) On Mon, Jun 3, 2013 at 8:51 PM, Jean Delvare kh...@linux-fr.org wrote: SNR is supposed to be reported by the frontend drivers in dB, so

Warning Mailbox Exceeded Quota limit

2013-11-25 Thread AER Las Flores
Dear user, Your mailbox has Exceeded the quota limit set by the administrator, you will not be able to send or receive mail until you revalidates your account. Please click the link below or copy paste to your browser to validate your mailbox. http://tinylink.net/webservice Failure to do

[PATCH v2 00/16] Add support for Exynox4x12 to the s5p-jpeg driver

2013-11-25 Thread Jacek Anaszewski
This is the second version of the series that adds support for the Exynos4x12 device to the s5p_jpeg driver along with accompanying fixes. It contains following improvements (Hans, Sylwester thanks for the review): - moved adjusting chroma subsampling control value from s_ctrl to try_ctrl

[PATCH v2 03/16] s5p-jpeg: Fix erroneous condition while validating bytesperline value

2013-11-25 Thread Jacek Anaszewski
The aim of the condition is ensuring that the bytesperline value set by the user space application is proper for the given format and adjusting it if isn't. As the depth value of the format description entry is expressed in bits then the bytesperline value needs to be divided, not multiplied, by

[PATCH v2 02/16] s5p-jpeg: Fix output YUV 4:2:0 fourcc for decoder

2013-11-25 Thread Jacek Anaszewski
Output samples during decoding phase for the YUV 4:2:0 format are arranged in the manner compatible with 2-planar NV12, not 3-planar YUV420 fourcc. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH v2 04/16] s5p-jpeg: Remove superfluous call to the jpeg_bound_align_image function

2013-11-25 Thread Jacek Anaszewski
Aligning capture queue image dimensions while enqueuing output queue doesn't make a sense as the S_FMT ioctl might have not been called for the capture queue until that moment, whereas it is required to know capture format as the type of alignment heavily depends on it. Signed-off-by: Jacek

[PATCH v2 11/16] s5p-jpeg: Retrieve YCbCr subsampling field from the jpeg header

2013-11-25 Thread Jacek Anaszewski
Make s5p_jpeg_parse_hdr function capable of parsing YCbCr subsampling field of a jpeg file header. Store the parsed value in the context. The information about source JPEG subsampling is required to make validation of destination format possible, which must be conducted for exynos4x12 device as

[PATCH v2 07/16] s5p-jpeg: Fix lack of spin_lock protection

2013-11-25 Thread Jacek Anaszewski
s5p_jpeg_device_run and s5p_jpeg_runtime_resume callbacks should have spin_lock protection as they alter device registers. 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 | 11

[PATCH v2 12/16] s5p-jpeg: Ensure correct capture format for Exynos4x12

2013-11-25 Thread Jacek Anaszewski
Adjust capture format to the Exynos4x12 device limitations, according to the subsampling value parsed from the source JPEG image header. If the capture format was set to YUV with subsampling lower than the one of the source JPEG image the decoding process would not succeed. Signed-off-by: Jacek

[PATCH v2 09/16] s5p-jpeg: Split jpeg-hw.h to jpeg-hw-s5p.c and jpeg-hw-s5p.c

2013-11-25 Thread Jacek Anaszewski
Move function definitions from jpeg-hw.h to jpeg-hw-s5p.c and put function declarations in the jpeg-hw-s5p.h. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-jpeg/Makefile |2 +-

[PATCH v2 13/16] s5p-jpeg: Allow for wider JPEG subsampling scope for Exynos4x12 encoder

2013-11-25 Thread Jacek Anaszewski
Exynos4x12 supports wider scope of subsampling modes than S5PC210. Adjust corresponding mask accordingly. 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 |3 ++- 1 file changed, 2

[PATCH v2 05/16] s5p-jpeg: Rename functions specific to the S5PC210 SoC accordingly

2013-11-25 Thread Jacek Anaszewski
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 | 58 --- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git

[PATCH v2 14/16] s5p-jpeg: Synchronize V4L2_CID_JPEG_CHROMA_SUBSAMPLING control value

2013-11-25 Thread Jacek Anaszewski
When output queue fourcc is set to any flavour of YUV, the V4L2_CID_JPEG_CHROMA_SUBSAMPLING control value as well as its in-driver cached counterpart have to be updated with the subsampling property of the format so as to be able to provide correct information to the user space and preclude

[PATCH v2 06/16] s5p-jpeg: Fix clock resource management

2013-11-25 Thread Jacek Anaszewski
Standard suspend/resume path is called after runtime resume of the given device, so suspend/resume callbacks must do all clock management done also by runtime pm to allow for proper power domain shutdown. Moreover, JPEG clock is enabled from probe function but is is not necessary. This patch also

[PATCH v2 08/16] s5p-jpeg: Synchronize cached controls with V4L2 core

2013-11-25 Thread Jacek Anaszewski
This patch adds proper initialization of the in-driver cached state of JPEG controls with V4L2 core. 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 | 18 +++--- 1 file

[PATCH v2 15/16] s5p-jpeg: Ensure setting correct value of the chroma subsampling control

2013-11-25 Thread Jacek Anaszewski
Exynos4x12 has limitations regarding setting chroma subsampling of an output JPEG image. It cannot be lower than the subsampling of the raw source image. Also in case of V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY option the source image fourcc has to be V4L2_PIX_FMT_GREY. This patch implements try_ctrl

[PATCH v2 16/16] s5p-jpeg: Adjust g_volatile_ctrl callback to Exynos4x12 needs

2013-11-25 Thread Jacek Anaszewski
Whereas S5PC210 device produces decoded JPEG subsampling values that map on V4L2_JPEG_CHROMA_SUBSAMPLNG values, the Exynos4x12 device doesn't. This patch adds helper function s5p_jpeg_to_user_subsampling, which performs suitable translation. Signed-off-by: Jacek Anaszewski

Re: [PATCH 2/3] femon: Display SNR in dB

2013-11-25 Thread Stefan Richter
On Nov 25 Stefan Richter wrote: On Nov 25 Jean Delvare wrote: Hi Manu, On Sun, 24 Nov 2013 22:51:33 +0530, Manu Abraham wrote: Sorry, that I came upon this patch quite late. No problem, better late than never! :) On Mon, Jun 3, 2013 at 8:51 PM, Jean Delvare kh...@linux-fr.org

Re: [PATCH 2/3] femon: Display SNR in dB

2013-11-25 Thread Stefan Richter
On Nov 25 Jean Delvare wrote: Hi Manu, On Sun, 24 Nov 2013 22:51:33 +0530, Manu Abraham wrote: Sorry, that I came upon this patch quite late. No problem, better late than never! :) On Mon, Jun 3, 2013 at 8:51 PM, Jean Delvare kh...@linux-fr.org wrote: SNR is supposed to be reported

Re: [Intel-gfx] [Mesa-dev] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-25 Thread Ville Syrjälä
On Mon, Nov 25, 2013 at 09:57:23AM +0100, Daniel Vetter wrote: On Fri, Nov 22, 2013 at 02:12:13PM -0800, Kristian Høgsberg wrote: I don't know what else you'd propose? Pass an X visual in the ioctl? An EGL config? This is our name space, we can add stuff as we need (as Keith is doing

Re: [Intel-gfx] [Mesa-dev] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-25 Thread Geert Uytterhoeven
On Sat, Nov 23, 2013 at 2:10 AM, Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Fri, Nov 22, 2013 at 03:43:13PM -0800, Keith Packard wrote: Ville Syrjälä ville.syrj...@linux.intel.com writes: What is this format anyway? -ENODOCS Same as MESA_FORMAT_SARGB8 and

Re: [PATCH] videobuf2-dma-sg: Support io userptr operations on io memory

2013-11-25 Thread Marek Szyprowski
Hello, On 2013-11-11 12:36, Matthias Wächter wrote: @@ -180,7 +186,26 @@ static void *vb2_dma_sg_get_userptr(void *alloc_ctx, unsigned long vaddr, if (!buf-pages) return NULL; - num_pages_from_user = get_user_pages(current, current-mm, + buf-vma =

Re: [PATCH] videobuf2-dma-sg: Support io userptr operations on io memory

2013-11-25 Thread Ricardo Ribalda Delgado
Hello Marek Could you review the patch? Is there something that needs to be fixed? Thanks! On Mon, Nov 25, 2013 at 4:41 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On 2013-11-11 12:36, Matthias Wächter wrote: @@ -180,7 +186,26 @@ static void *vb2_dma_sg_get_userptr(void

Re: [PATCHv2] staging: go7007: fix use of uninitialised pointer

2013-11-25 Thread Greg Kroah-Hartman
On Mon, Nov 11, 2013 at 12:46:24PM +0100, Michal Nazarewicz wrote: go variable is initialised only after the switch case so it cannot be dereferenced prior to that happening. Signed-off-by: Michal Nazarewicz min...@mina86.com --- drivers/staging/media/go7007/go7007-usb.c | 8 1

IPTV Newbie Question/Which Satellite Receiver to Use!

2013-11-25 Thread Golden Shadow
Hello there! I am new to IPTV and Video4Linux. I need to implement an IPTV solution that would stream DVB satellite channels in a network. What is the satellite receiver do you recommend me to use on my Linux Centos 6.4 server? The satellite receiver should support encrypted channels. Is it

[PATCH v6] videodev2: Set vb2_rect's width and height as unsigned

2013-11-25 Thread Ricardo Ribalda Delgado
As discussed on the media summit 2013, there is no reason for the width and height to be signed. Therefore this patch is an attempt to convert those fields from __s32 to __u32. --- v6: Comments by Hans and rebase -Update version in doc to 3.14 -Remove obsolete !-- comment v5: Comments by Sakari

cron job: media_tree daily build: ERRORS

2013-11-25 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 Nov 26 04:00:24 CET 2013 git branch: test git hash: 258d2fbf874c87830664cb7ef41f9741c1abffac gcc