tio <v...@chromium.org>
henryhsu <henry...@chromium.org>
Wu-Cheng Li <wuchen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/pci/Kconfig|2 +
drivers/media/pci/Makefile |1 +
drivers/media/pci
to earlier failing
format tests.
test VIDIOC_EXPBUF: OK (Not Supported)
Test input 0:
Total: 43, Succeeded: 40, Failed: 3, Warnings: 0
Thierry Escande (1):
[media] v4l2: Add support for go2001 PCI codec driver
drivers/media/pci/Kconfig|2 +
drivers/media/pci
This patch modifies the s5p_jpeg_parse_hdr() function so it only
modifies the passed s5p_jpeg_q_data structure if the jpeg header parsing
is successful.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Andrzej Pietrasiewicz <andrze...@samsung.com>
Ack
If s5p_jpeg_parse_hdr() fails to parse the JPEG header, the passed
s5p_jpeg_q_data structure is not modified so there is no need to use a
temporary structure and the field-by-field copy can be avoided.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Andrzej Pietras
From: Tony K Nadackal <tony...@samsung.com>
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: And
msung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Andrzej Pietrasiewicz <andrze...@samsung.com>
Acked-by: Jacek Anaszewski <jacek.anaszew...@gmail.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++
1 file changed, 19 inser
This patch moves the subsampling value decoding read from the jpeg
header into its own function. This new function is called
s5p_jpeg_subsampling_decode() and returns true if it successfully
decodes the subsampling value, false otherwise.
Signed-off-by: Thierry Escande <thierry.e
ey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Andrzej Pietrasiewicz <andrze...@samsung.com>
Acked-by: Jacek Anaszewski <jacek.anaszew...@gmail.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 9 -
1 fi
s used in the Chromium browser project by the V4L2 JPEG
Decode Accelerator (V4L2JDA) to allocate output buffer.
Signed-off-by: Henry-Ruey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Andrzej Pietrasiewicz <andrze...@samsung
From: Tony K Nadackal <tony...@samsung.com>
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Andrzej Pie
lanar APIs (Not needed).
- Add comment regarding call to jpeg_bound_align_image() after qbuf.
- Remove unrelated code from resolution change event support patch.
Thierry Escande (3):
[media] s5p-jpeg: Handle parsing error in s5p_jpeg_parse_hdr()
[media] s5p-jpeg: Don't use temporary structure in s5p_jpeg
ange event support patch.
Thierry Escande (3):
[media] s5p-jpeg: Handle parsing error in s5p_jpeg_parse_hdr()
[media] s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue
[media] s5p-jpeg: Split s5p_jpeg_parse_hdr()
Tony K Nadackal (3):
[media] s5p-jpeg: Call jpeg_bound_align_image
If s5p_jpeg_parse_hdr() fails to parse the JPEG header, the passed
s5p_jpeg_q_data structure is not modify so there is no need to use a
temporary structure and the field-by-field copy can be avoided.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platfo
s used in the Chromium browser project by the V4L2 JPEG
Decode Accelerator (V4L2JDA) to allocate output buffer.
Signed-off-by: Henry-Ruey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg
From: Tony K Nadackal <tony...@samsung.com>
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media
This patch modifies the s5p_jpeg_parse_hdr() function so it only
modifies the passed s5p_jpeg_q_data structure if the jpeg header parsing
is successful.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.
ey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/plat
This patch moves the subsampling value decoding read from the jpeg
header into its own function. This new function is called
s5p_jpeg_subsampling_decode() and returns true if it successfully
decodes the subsampling value, false otherwise.
Signed-off-by: Thierry Escande <thierry.e
From: Tony K Nadackal <tony...@samsung.com>
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jp
msung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/platform/s5p-jpeg/jpeg-core.c
index 52dc7
Hi Andrzej,
On 20/06/2017 12:51, Andrzej Pietrasiewicz wrote:
Hi Thierry,
W dniu 19.06.2017 o 15:50, Thierry Escande pisze:
Hi Andrzej,
On 16/06/2017 17:38, Andrzej Pietrasiewicz wrote:
Hi Thierry,
Thank you for the patch.
Can you give a use case for resolution change event
see inline.
W dniu 12.06.2017 o 19:13, Thierry Escande pisze:
From: henryhsu <henry...@chromium.org>
@@ -1611,8 +1612,6 @@ static int s5p_jpeg_s_fmt(struct s5p_jpeg_ctx
*ct, struct v4l2_format *f)
FMT_TYPE_OUTPUT : FMT_TYPE_CAPTURE;
q_data->fmt = s5p_jpeg_find_forma
ey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/plat
From: Tony K Nadackal <tony...@samsung.com>
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jp
Hi,
This series contains various fixes and improvements for the Samsung
s5p-jpeg driver. All these patches come from the Chromium v3.8 kernel
tree.
In this v2:
- Remove IOMMU support patch (mapping now created automatically for
single JPEG CODEC device).
- Remove "Change sclk_jpeg to 166MHz"
Henry-Ruey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 125 +++-
drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++
2 files changed, 91 insertions(+), 41 deleti
From: Tony K Nadackal <tony...@samsung.com>
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media
From: Abhilash Kesavan <a.kesa...@samsung.com>
This patch resets the encoding and decoding register bits before doing a
soft reset.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platfor
msung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/platform/s5p-jpeg/jpeg-core.c
index 52dc7
Hi Jacek,
On 02/06/2017 23:53, Jacek Anaszewski wrote:
Hi Thierry,
On 06/02/2017 06:02 PM, Thierry Escande wrote:
From: henryhsu <henry...@chromium.org>
This patch adds support for resolution change event to notify clients so
they can prepare correct output buffer. When resolution
Hi Jacek,
On 02/06/2017 21:50, Jacek Anaszewski wrote:
Hi Thierry,
On 06/02/2017 06:02 PM, Thierry Escande wrote:
From: Abhilash Kesavan <a.kesa...@samsung.com>
This patch resets the encoding and decoding register bits before doing a
soft reset.
Signed-off-by: Tony K Nadackal
From: Tony K Nadackal <tony...@samsung.com>
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media
Hi,
This series contains various fixes and improvements for the Samsung
s5p-jpeg driver. All these patches come from the Chromium v3.8 kernel
tree.
Regards,
Thierry
Abhilash Kesavan (1):
[media] s5p-jpeg: Reset the Codec before doing a soft reset
Ricky Liang (1):
[media] s5p-jpeg: Add
From: Abhilash Kesavan <a.kesa...@samsung.com>
This patch resets the encoding and decoding register bits before doing a
soft reset.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platfor
msung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/platform/s5p-jpeg/jpeg-core.c
index 52dc794..6fb1ab4 10
<tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 77 +
1 file changed, 77 insertions(+)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/platform/s5
Henry-Ruey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 121
drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++
2 files changed, 95 insertions(+), 33 deleti
ey Hsu <henry...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/plat
From: henryhsu <henry...@chromium.org>
The default clock parent of jpeg on Exynos5250 is fin_pll, which is
24MHz. We have to change the clock parent to CPLL, which is 333MHz,
and set sclk_jpeg to 166MHz.
Signed-off-by: Heng-Ruey Hsu <henry...@chromium.org>
Signed-off-by: Thi
Signed-off-by: Ricky Liang <jcli...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 152 +---
drivers/media/platform/s5p-jpeg/jpeg-core.h | 2 +
2 files changed, 139 insertion
From: Tony K Nadackal <tony...@samsung.com>
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal <tony...@samsung.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/platform/s5p-jp
in Linux v4.4.
This driver is originally developed by:
Pawel Osciak <posc...@chromium.org>
Ville-Mikko Rautio <v...@chromium.org>
henryhsu <henry...@chromium.org>
Wu-Cheng Li <wuchen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Cha
in Linux v4.4.
This driver is originally developed by:
Pawel Osciak <posc...@chromium.org>
Ville-Mikko Rautio <v...@chromium.org>
henryhsu <henry...@chromium.org>
Wu-Cheng Li <wuchen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Hi Mauro,
On 18/11/2016 19:59, Mauro Carvalho Chehab wrote:
Em Tue, 25 Oct 2016 10:22:29 +0200
Thierry Escande <thierry.esca...@collabora.com> escreveu:
From: Pawel Osciak <posc...@chromium.org>
When this flag is set for CAPTURE queues by the driver on calling
vb2_queue_init(
This patch moves vb2_dc_get_base_sgt() function above mmap buffers
callbacks, particularly vb2_dc_alloc() and vb2_dc_mmap() from where it
will be called for cacheable MMAP support introduced in the next patch.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/medi
comments
Changes in v3:
- Remove redundant test on NO_KERNEL_MAPPING DMA attribute in mmap()
Heng-Ruey Hsu (1):
[media] videobuf2-dc: Support cacheable MMAP
Thierry Escande (1):
[media] videobuf2-dc: Move vb2_dc_get_base_sgt() above mmap callbacks
drivers/media/v4l2-core/videobuf2-dma
istent DMA attribute is set).
Signed-off-by: Heng-Ruey Hsu <henry...@chromium.org>
Tested-by: Heng-ruey Hsu <henry...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-co
o mark pages as dirty.
Signed-off-by: Pawel Osciak <posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes in v2:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Add
This patch moves vb2_dc_get_base_sgt() function above mmap buffers
callbacks, particularly vb2_dc_alloc() and vb2_dc_mmap() from where it
will be called for cacheable MMAP support introduced in the next patch.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/medi
kernel mapping is present and non-consistent DMA
attribute set.
Signed-off-by: Heng-Ruey Hsu <henry...@chromium.org>
Tested-by: Heng-ruey Hsu <henry...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
comments
Heng-Ruey Hsu (1):
[media] videobuf2-dc: Support cacheable MMAP
Thierry Escande (1):
[media] videobuf2-dc: Move vb2_dc_get_base_sgt() above mmap callbacks
drivers/media/v4l2-core/videobuf2-dma-contig.c | 62 +-
1 file changed, 40 insertions(+), 22 deletions
o mark pages as dirty.
Signed-off-by: Pawel Osciak <posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Add
Hi Sakari,
On 21/10/2016 09:48, Sakari Ailus wrote:
Hi Thierry,
On Fri, Oct 21, 2016 at 09:25:05AM +0200, Thierry Escande wrote:
From: Pawel Osciak <posc...@chromium.org>
When this flag is set for CAPTURE queues by the driver on calling
vb2_queue_init(), it forces the buffers on the
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Added a VB2_DMA_DIR() macro
Changes since v2:
-
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Added a VB2_DMA_DIR() macro
Changes since v2:
-
Hi Sakari,
On 19/10/2016 23:29, Sakari Ailus wrote:
Hi Thierry,
On Wed, Oct 19, 2016 at 10:24:16AM +0200, Thierry Escande wrote:
From: Pawel Osciak <posc...@chromium.org>
Store dma_dir in struct vb2_queue and reuse it, instead of recalculating
it each time.
Signed-off-by: Pawel Osciak
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-v4l2.c | 3 +--
include/media/videobuf2-core.h
t;
Reviewed-by: Owen Lin <owen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-core.c | 12 +++-
drivers/media/v4l2-core/videobuf2-v4l2.c | 2 ++
include/media/videobuf2-core.h | 2 ++
3 files c
Hi,
This series adds a dma_dir field to the vb2_queue structure in order to
store the DMA direction once for all in vb2_queue_init();
It also adds a new capture_dma_bidirectional flag to the vb2_queue
structure allowing the hardware to read from the CAPTURE buffer. This
flag is ignored for
Hi Sakari,
On 17/10/2016 12:06, Sakari Ailus wrote:
Hi Thierry,
Thanks for the set. A few comments below.
On Fri, Oct 14, 2016 at 02:08:14PM +0200, Thierry Escande wrote:
From: Pawel Osciak <posc...@chromium.org>
When this flag is set for CAPTURE queues by the driver on c
g>
Tested-by: Heng-ruey Hsu <henry...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 19 +++
1 file changed, 19 insertions(+)
diff -
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-v4l2.c | 8 ++--
include/media/videobuf2-core.h
t;
Reviewed-by: Owen Lin <owen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-core.c | 12 +++-
drivers/media/v4l2-core/videobuf2-v4l2.c | 2 ++
include/media/videobuf2-core.h | 2 ++
3 files c
Hi,
This series adds a dma_dir field to the vb2_queue structure in order to
store the DMA direction once for all in vb2_queue_init();
It also adds a new use_dma_bidirectional flag to the vb2_queue structure
allowing the hardware to read from the CAPTURE buffer. This flag is
ignored for OUTPUT
64 matches
Mail list logo