Re: [PATCH] [media] s5p-mfc: Add a control for IVF format for VP8 encoder

2014-05-15 Thread Pawel Osciak
...@chromium.org; arunkk.sams...@gmail.com Subject: [PATCH] [media] s5p-mfc: Add a control for IVF format for VP8 encoder From: Pawel Osciak posc...@chromium.org Add a control to enable/disable IVF output stream format for VP8 encode. Set the IVF format output to disabled as default

Re: [PATCH] CHROMIUM: s5p-mfc: add controls to set vp8 enc profile

2013-12-09 Thread Pawel Osciak
Hi Arun, On Mon, Dec 9, 2013 at 10:16 PM, Arun Kumar K arun...@samsung.com wrote: Add v4l2 controls to set desired profile for VP8 encoder. Acceptable levels for VP8 encoder are 0: Version 0 1: Version 1 2: Version 2 3: Version 3 Signed-off-by: Pawel Osciak posc...@chromium.org Sorry

RE: [PATCH v3 1/8] ARM: Samsung: Add register definitions for Samsung S5P SoC camera interface

2010-08-02 Thread Pawel Osciak
...@samsung.com Reviewed-by: Pawel Osciak p.osc...@samsung.com Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fimc.h | 294 1 files changed, 294 insertions(+), 0 deletions(-) create mode 100644 arch/arm/plat-samsung/include

RE: [PATCH v3 1/8] ARM: Samsung: Add register definitions for Samsung S5P SoC camera interface

2010-08-02 Thread Pawel Osciak
Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Aug 02, 2010 at 12:32:20PM +0200, Pawel Osciak wrote: Well, some of them are indeed unused, but it's not an uncommon practice in kernel and might help future developers. On the other hand, arch/arm is getting soo big that we need

RE: [PATCH v3 4/8] ARM: Samsung: Add common Aquila and GONI code

2010-07-26 Thread Pawel Osciak
Hello, Kukjin Kim kgene@samsung.com wrote: Sylwester Nawrocki wrote: Hi Sylwester, Hmm...no comments here? Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Pawel Osciak p.osc...@samsung.com I wonder we need

[PATCH v4 0/19] Various s3c-fb updates

2010-07-09 Thread Pawel Osciak
registers during updates [PATCH 18/19] s3c-fb: fix section mismatch [PATCH 19/19] s3c-fb: Add support for DMA channel control on S5PV210 Best regards -- Pawel Osciak Linux Platform Group Samsung Poland RD Center -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc

[PATCH 17/19] s3c-fb: Protect window-specific registers during updates

2010-07-09 Thread Pawel Osciak
Newer hardware (S3C6410, S5P) have the ability to block updates from shadow registers during reconfiguration. Add protect calls for set_par and clear protection when resetting. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers

[PATCH 18/19] s3c-fb: fix section mismatch

2010-07-09 Thread Pawel Osciak
From: Marek Szyprowski m.szyprow...@samsung.com This patch fixes the following section mismatch errors: WARNING: vmlinux.o(.data+0x20b40): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown) The variable s3c_fb_driver_ids

[PATCH 19/19] s3c-fb: Add support for DMA channel control on S5PV210

2010-07-09 Thread Pawel Osciak
S5PV210 SoCs allow enabling/disabling DMA channels per window. For a window to display data from framebuffer memory, its channel has to be enabled. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 01/19] s3c-fb: Change to depending on CONFIG_S3C_FB_DEV

2010-07-09 Thread Pawel Osciak
From: Ben Dooks ben-li...@fluff.org As suggested by Marek Szyprowski, we should make the driver depend on the configuration currently being used to build the platform device into the kernel. Signed-off-by: Ben Dooks ben-li...@fluff.org Signed-off-by: Pawel Osciak p.osc...@samsung.com

[PATCH 07/19] s3c-fb: Integrate palette setup code into main driver

2010-07-09 Thread Pawel Osciak
From: Ben Dooks ben-li...@fluff.org Remove the palette setup code from the header files and put it into the main driver. Signed-off-by: Ben Dooks ben-li...@fluff.org Signed-off-by: Pawel Osciak p.osc...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 34

[PATCH 10/19] s3c-fb: Separate S5PC100 and S5PV210 framebuffer driver data structures

2010-07-09 Thread Pawel Osciak
S5PC100 and S5PV210 framebuffer devices differ slightly in terms of available registers and their driver data structures have to be separate. Those differences include dissimilar ways to control shadow register updates. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 02/19] s3c-fb: add default window feature.

2010-07-09 Thread Pawel Osciak
@samsung.com Reviewed-by: KyungMin Park kyungmin.park.samsung.com Signed-off-by: Ben Dooks ben-li...@fluff.org Signed-off-by: Pawel Osciak p.osc...@samsung.com --- arch/arm/plat-samsung/include/plat/fb.h |3 +++ drivers/video/s3c-fb.c |6 +++--- 2 files changed, 6 insertions

[PATCH 08/19] s3c-fb: Fix various null references on framebuffer memory alloc failure

2010-07-09 Thread Pawel Osciak
to be NULL. fb_dealloc_cmap does not verify whether its argument is not NULL. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c-fb.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/video

[PATCH 14/19] s3c-fb: window 3 of 64xx+ does not have an osd_d register

2010-07-09 Thread Pawel Osciak
Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c-fb.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 2e82adf..6cbddc4 100644 --- a/drivers

[PATCH 16/19] s3c-fb: Correct window osd size and alpha register handling

2010-07-09 Thread Pawel Osciak
S3C64xx and S5P OSD registers for OSD size and alpha are as follows: VIDOSDC: win 0 - size, win 1-4: alpha VIDOSDD: win 1-2 - size; not present for windows 0, 3 and 4 Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c

[PATCH 13/19] s3c-fb: Add wait for VSYNC ioctl

2010-07-09 Thread Pawel Osciak
Add VSYNC interrupt support and an ioctl that allows waiting for it. Interrupts are turned on only when needed. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h |1 + drivers/video/s3c

[PATCH 05/19] s3c-fb: Initial move to unifying the header files

2010-07-09 Thread Pawel Osciak
-by: Ben Dooks ben-li...@fluff.org Signed-off-by: Pawel Osciak p.osc...@samsung.com --- arch/arm/mach-s3c64xx/include/mach/regs-fb.h| 20 --- arch/arm/mach-s5pc100/include/mach/regs-fb.h| 34 arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 36 drivers/video/s3c-fb.c

[PATCH 15/19] s3c-fb: Add SHADOWCON shadow register locking support for S5PV210

2010-07-09 Thread Pawel Osciak
S5PV210 allows per-window locking of register value updates from shadow registers. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h |3 ++ drivers/video/s3c-fb.c

RE: [PATCH 01/19] s3c-fb: Change to depending on CONFIG_S3C_FB_DEV

2010-07-09 Thread Pawel Osciak
Kukjin Kim kgene@samsung.com: Pawel Osciak wrote: From: Ben Dooks ben-li...@fluff.org As suggested by Marek Szyprowski, we should make the driver depend on the configuration currently being used to build the platform device into the kernel. Signed-off-by: Ben Dooks ben-li...@fluff.org

RE: [PATCH v3 01/12] s3c-fb: Fix various null references on framebuffer memory alloc failure

2010-07-02 Thread Pawel Osciak
Ben Dooks b...@simtec.co.uk wrote: On 28/06/10 09:08, Pawel Osciak wrote: @@ -819,7 +820,8 @@ static void s3c_fb_release_win(struct s3c_fb *sfb, struct s3c_fb_win *win) { if (win-fbinfo) { unregister_framebuffer(win-fbinfo); -fb_dealloc_cmap(win-fbinfo-cmap

RE: [PATCH v3 03/12] s3c-fb: Separate S5PC100 and S5PV210 framebuffer driver data structures

2010-07-02 Thread Pawel Osciak
Ben Dooks b...@simtec.co.uk wrote: On 28/06/10 09:08, Pawel Osciak wrote: S5PC100 and S5PV210 framebuffer devices differ slightly in terms of available registers and their driver data structures have to be separate. Would have been nice to note which ones changes, otherwise ok

RE: [PATCH v3 05/12] s3c-fb: Add support for display panning

2010-07-02 Thread Pawel Osciak
Ben Dooks b...@simtec.co.uk wrote: On 28/06/10 09:08, Pawel Osciak wrote: diff --git a/arch/arm/plat-samsung/include/plat/regs-fb.h b/arch/arm/plat- samsung/include/plat/regs-fb.h index ac10013..f454e32 100644 --- a/arch/arm/plat-samsung/include/plat/regs-fb.h +++ b/arch/arm/plat-samsung

RE: [PATCH v3 06/12] s3c-fb: Add wait for VSYNC ioctl

2010-07-02 Thread Pawel Osciak
Ben Dooks mailto:b...@simtec.co.uk wrote: On 28/06/10 09:08, Pawel Osciak wrote: @@ -801,6 +825,124 @@ static int s3c_fb_pan_display(struct fb_var_screeninfo *var, return 0; } +/** + * s3c_fb_enable_irq() - enable framebuffer interrupts + * @sfb: main hardware state + */ +static

RE: [PATCH v3 08/12] s3c-fb: Add SHADOWCON shadow register locking support for S5PV210

2010-07-02 Thread Pawel Osciak
Ben Dooks b...@simtec.co.uk wrote: On 28/06/10 09:08, Pawel Osciak wrote: @@ -218,6 +218,9 @@ #define WINCON1_BPPMODE_25BPP_A1888 (0xd 2) #define WINCON1_BPPMODE_28BPP_A4888 (0xd 2) +/* S5PV210 */ +#define SHADOWCON (0x34) +#define

RE: [PATCH v3 09/12] s3c-fb: Correct window osd size and alpha register handling

2010-07-02 Thread Pawel Osciak
Ben Dooks b...@simtec.co.uk wrote: On 28/06/10 09:08, Pawel Osciak wrote: S3C64xx and S5P OSD registers for OSD size and alpha are as follows: VIDOSDC: win 0 - size, win 1-4: alpha VIDOSDD: win 1-2 - size; not present for windows 0, 3 and 4 Signed-off-by: Pawel Osciak p.osc...@samsung.com

[PATCH v3 05/12] s3c-fb: Add support for display panning

2010-06-28 Thread Pawel Osciak
to wait for a VSYNC interrupt before each such update. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h |5 ++ drivers/video/s3c-fb.c | 71 ++ 2

[PATCH v3 03/12] s3c-fb: Separate S5PC100 and S5PV210 framebuffer driver data structures

2010-06-28 Thread Pawel Osciak
S5PC100 and S5PV210 framebuffer devices differ slightly in terms of available registers and their driver data structures have to be separate. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c-fb.c | 37

[PATCH v3 07/12] s3c-fb: window 3 of 64xx+ does not have an osd_d register

2010-06-28 Thread Pawel Osciak
Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c-fb.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 6131ebb..0a93fca 100644 --- a/drivers

[PATCH v3 02/12] s3c-fb: Correct FRAMESEL1 bitfield defines for VIDINTCON0 register

2010-06-28 Thread Pawel Osciak
FRAMESEL1 bitfield starts on 13th bit, not on 14th. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm

[PATCH v3 0/12] Various s3c-fb updates

2010-06-28 Thread Pawel Osciak
Best regards -- Pawel Osciak Linux Platform Group Samsung Poland RD Center -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v3 08/12] s3c-fb: Add SHADOWCON shadow register locking support for S5PV210

2010-06-28 Thread Pawel Osciak
S5PV210 allows per-window locking of register value updates from shadow registers. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h |3 ++ drivers/video/s3c-fb.c

[PATCH v3 12/12] s3c-fb: Add support for DMA channel control on S5PV210

2010-06-28 Thread Pawel Osciak
S5PV210 SoCs allow enabling/disabling DMA channels per window. For a window to display data from framebuffer memory, its channel has to be enabled. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH v3 06/12] s3c-fb: Add wait for VSYNC ioctl

2010-06-28 Thread Pawel Osciak
Add VSYNC interrupt support and an ioctl that allows waiting for it. Interrupts are turned on only when needed. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h |1 + drivers/video/s3c

[PATCH v3 11/12] s3c-fb: fix section mismatch

2010-06-28 Thread Pawel Osciak
From: Marek Szyprowski m.szyprow...@samsung.com This patch fixes the following section mismatch errors: WARNING: vmlinux.o(.data+0x20b40): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown) The variable s3c_fb_driver_ids

RE: [PATCH 2/6] s3c-fb: Correct FRAMESEL1 bitfield defines for VIDINTCON0 register

2010-06-01 Thread Pawel Osciak
Ben Dooks b...@trinity.fluff.org wrote: On Mon, May 31, 2010 at 11:08:51AM +0200, Pawel Osciak wrote: FRAMESEL1 bitfield starts on 13th bit, not on 14th. is this true for all variants that have FRAMESEL1? That's at least the case for all the chips I have docs for: 6400, 6410, S5PC100 and V210

[PATCH 4/6] s3c-fb: Separate S5PC100 and S5PV210 framebuffer driver data structures

2010-05-31 Thread Pawel Osciak
S5PC100 and S5PV210 framebuffer devices differ slightly in terms of available registers and their driver data structures have to be separate. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c-fb.c | 37

[PATCH 5/6] s3c-fb: Add support for display panning

2010-05-31 Thread Pawel Osciak
to wait for a VSYNC interrupt before each such update. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb.h |5 ++ drivers/video/s3c-fb.c | 71 ++ 2

[PATCH 1/6] s3c-fb: Fix various null references on framebuffer memory alloc failure

2010-05-31 Thread Pawel Osciak
to be NULL. fb_dealloc_cmap does not verify whether its argument is not NULL. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/video/s3c-fb.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/video

RE: [PATCH/RFC v2.1 0/2] Mem-to-mem device framework

2009-12-28 Thread Pawel Osciak
, hopefully. I understand that you'd like to make the pointer in the union and the helper struct more generic to use it to pass different types of information? Best regards -- Pawel Osciak Linux Platform Group Samsung Poland RD Center -- To unsubscribe from this list: send the line unsubscribe

[PATCH v2 1/2] V4L: Add memory-to-memory device helper framework for V4L2.

2009-12-23 Thread Pawel Osciak
. Although no such devices are present in the V4L2 framework, a demand for such a model exists, e.g. for 'resizer devices'. This patch also adds a separate kconfig submenu for mem-to-mem V4L devices. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow

[PATCH v2 2/2] V4L: Add a mem-to-mem V4L2 framework test device.

2009-12-23 Thread Pawel Osciak
(via the mem2mem framework). Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig | 10 + drivers/media/video/Makefile |1 + drivers

[PATCH 1/2] [ARM] samsung-rotator: Add rotator device platform definitions.

2009-12-23 Thread Pawel Osciak
Add S3C/S5P rotator platform device. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s3c6400/include/mach/map.h

[PATCH/RFC v2 0/2] Mem-to-mem device framework

2009-12-23 Thread Pawel Osciak
to the framework? (e.g. per-queue format details, transaction length, etc.) Best regards -- Pawel Osciak Linux Platform Group Samsung Poland RD Center -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo

[EXAMPLE v2] Mem-to-mem userspace test application.

2009-12-23 Thread Pawel Osciak
to be processed. Tested on a 800x480 framebuffer with the following script: #!/bin/bash for i in {0..3} do ((x=$i * 100)) ./process-vmalloc 0 $(($i + 1)) $((2000 - $i * 500)) $((($i+1) * 4)) \ $x $x 100 100 done Signed-off-by: Pawel Osciak p.osc...@samsung.com Reviewed-by: Kyungmin Park

[PATCH 0/2] [ARM] Add Samsung S3C/S5P image rotator driver

2009-12-23 Thread Pawel Osciak
] [ARM] samsung-rotator: Add rotator device platform definitions. [PATCH 2/2] [ARM] samsung-rotator: Add Samsung S3C/S5P rotator driver [EXAMPLE] S3C/S5P image rotator test application Best regards -- Pawel Osciak Linux Platform Group Samsung Poland RD Center -- To unsubscribe from this list: send

[PATCH 2/2] [ARM] samsung-rotator: Add Samsung S3C/S5P rotator driver

2009-12-23 Thread Pawel Osciak
. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig | 10 + drivers/media/video

[PATCH/RFC v2.1 0/2] Mem-to-mem device framework

2009-12-23 Thread Pawel Osciak
--- - read/write support - transaction/abort timeouts - extracting more common code to the framework? (e.g. per-queue format details, transaction length, etc.) Best regards -- Pawel Osciak Linux Platform Group Samsung Poland RD Center -- To unsubscribe from this list: send the line

[PATCH v2.1 2/2] V4L: Add a mem-to-mem V4L2 framework test device.

2009-12-23 Thread Pawel Osciak
(via the mem2mem framework). Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig | 14 + drivers/media/video/Makefile |1 + drivers

[PATCH v2.1 1/2] V4L: Add memory-to-memory device helper framework for V4L2.

2009-12-23 Thread Pawel Osciak
. Although no such devices are present in the V4L2 framework, a demand for such a model exists, e.g. for 'resizer devices'. This patch also adds a separate kconfig submenu for mem-to-mem V4L devices. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow

[EXAMPLE v2] Mem-to-mem userspace test application.

2009-12-23 Thread Pawel Osciak
to be processed. Tested on a 800x480 framebuffer with the following script: #!/bin/bash for i in {0..3} do ((x=$i * 100)) ./process-vmalloc 0 $(($i + 1)) $((2000 - $i * 500)) $((($i+1) * 4)) \ $x $x 100 100 done Signed-off-by: Pawel Osciak p.osc...@samsung.com Reviewed-by: Kyungmin Park