Re: [PATCH] media: v4l2: make allocation algorithm more robust and flexible

2014-07-30 Thread Sachin Kamat
Hi Zhaowei, On Wed, Jul 30, 2014 at 9:39 AM, Zhaowei Yuan zhaowei.y...@samsung.com wrote: Current algorithm relies on the fact that caller will align the size to PAGE_SIZE, otherwise order will be decreased to negative when remain size is less than PAGE_SIZE, it makes the function hard to be

Re: [PATCH] [media] exynos-gsc: Remove PM_RUNTIME dependency

2014-07-21 Thread Sachin Kamat
Hi Shaik, On Mon, Jul 21, 2014 at 10:24 AM, Shaik Ameer Basha shaik.am...@samsung.com wrote: 1] Currently Gscaler clock is enabled only inside pm_runtime callbacks. If PM_RUNTIME is disabled, driver hangs. This patch removes the PM_RUNTIME dependency by keeping the clock enable/disable

Re: [PATCH 1/3] s5p-mfc: Fix selective sclk_mfc init

2014-07-08 Thread Sachin Kamat
Hi Jacek, On Tue, Jul 8, 2014 at 6:33 PM, Jacek Anaszewski j.anaszew...@samsung.com wrote: fc906b6d Remove special clock usage in driver removed initialization of MFC special clock, arguing that there's no need to do it explicitly, since it's one of MFC gate clock's dependencies and gets

Re: [PATCH v2 0/3] Support for multiple MFC FW sub-versions

2014-05-21 Thread Sachin Kamat
]. [1] http://permalink.gmane.org/gmane.linux.kernel.samsung-soc/31735 Changes from v1 - Addressed nits pointed by Sachin on PATCH 2/3 Thanks Arun. Series looks good. Reviewed-by: Sachin Kamat sachin.ka...@linaro.org -- With warm regards, Sachin -- To unsubscribe from this list: send the line

Re: [PATCH 2/3] [media] s5p-mfc: Support multiple firmware sub-versions

2014-05-20 Thread Sachin Kamat
Hi Arun, On 20 May 2014 15:47, Arun Kumar K arun...@samsung.com wrote: For MFC firmwares, improved versions with bug fixes and feature additions are released keeping the firmware version including major and minor number same. The issue came with the release of a new MFCv6 firmware with an

Re: [PATCH] [media] s5p-mfc: Dequeue sequence header after STREAMON

2014-05-08 Thread Sachin Kamat
Hi Arun, Just 2 small nits. On 7 May 2014 17:00, Arun Kumar K arun...@samsung.com wrote: MFCv6 encoder needs specific minimum number of buffers to be queued in the CAPTURE plane. This minimum number will be known only when the sequence header is generated. So we used to allow STREAMON on the

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Sachin Kamat
Hi Arun, On 23 April 2014 18:27, Arun Kumar K arun...@samsung.com wrote: From: Kiran AVND avnd.ki...@samsung.com This patch adds variant data and core support for V8 decoder. This patch also adds the register definition file for new firmware version v8 for MFC. Signed-off-by: Kiran AVND

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Sachin Kamat
Hi Arun, On 30 April 2014 11:15, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Sachin, Thank you for the review. On 04/29/14 22:45, Sachin Kamat wrote: Hi Arun, On 23 April 2014 18:27, Arun Kumar K arun...@samsung.com wrote: From: Kiran AVND avnd.ki...@samsung.com This patch adds

Re: [PATCH 7/8] [media] s5p_jpeg: Prevent JPEG 4:2:0 YUV 4:2:0 decompression

2014-04-09 Thread Sachin Kamat
Hi Jacek, On 9 April 2014 13:01, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 04/08/2014 09:49 AM, Sachin Kamat wrote: Hello Sachin, Thanks for the review. I put it into info message because this is rather hard for the user to figure out why the adjustment occurred, bearing in mind

Re: [PATCH 4/8] [media] s5p-jpeg: Fix build break when CONFIG_OF is undefined

2014-04-08 Thread Sachin Kamat
Hi Jacek, On 7 April 2014 18:46, Jacek Anaszewski j.anaszew...@samsung.com wrote: This patch fixes build break occurring when there is no support for Device Tree turned on in the kernel configuration. In such a case only the driver variant for S5PC210 SoC will be available. Signed-off-by:

Re: [PATCH 7/8] [media] s5p_jpeg: Prevent JPEG 4:2:0 YUV 4:2:0 decompression

2014-04-08 Thread Sachin Kamat
Hi Jacek, On 7 April 2014 18:46, Jacek Anaszewski j.anaszew...@samsung.com wrote: Prevent decompression of a JPEG 4:2:0 with odd width to the YUV 4:2:0 compliant formats for Exynos4x12 SoCs and adjust capture format to RGB565 in such a case. This is required because the configuration would

Re: [PATCH] [media] s5-mfc: remove meaningless memory bank assignment

2014-03-05 Thread Sachin Kamat
On 5 March 2014 16:38, Seung-Woo Kim sw0312@samsung.com wrote: There was assignment of memory bank with dma address converted from physical address. But allocation has been changed with dma function, so the assignment is not necessary. Signed-off-by: Seung-Woo Kim sw0312@samsung.com

Re: [PATCH] [media] s5-mfc: remove meaningless memory bank assignment

2014-03-05 Thread Sachin Kamat
Hi Seung-Woo, On 6 March 2014 07:43, Seung-Woo Kim sw0312@samsung.com wrote: Hello Sachin, On 2014년 03월 05일 20:42, Sachin Kamat wrote: On 5 March 2014 16:38, Seung-Woo Kim sw0312@samsung.com wrote: (...) - dev-bank1 = dev-bank1; Are you sure this isn't some kind of typo

Re: [PATCH v3] [media] s5p-mfc: remove meaningless memory bank assignment

2014-03-05 Thread Sachin Kamat
Hi Seung-Woo, On 6 March 2014 10:25, Seung-Woo Kim sw0312@samsung.com wrote: This patch removes meaningless assignment of memory bank to itself. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- Thanks for re-doing this. Acked-by: Sachin Kamat sachin.ka...@linaro.org

Re: exynos4 / g2d

2014-02-10 Thread Sachin Kamat
+cc Joonyoung Shim Hi, On 10 February 2014 13:58, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! Sachin Kamat wrote: +cc linux-media list and some related maintainers Hi, On 10 February 2014 00:22, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! I noticed while

Re: exynos4 / g2d

2014-02-10 Thread Sachin Kamat
On 10 February 2014 14:28, Inki Dae inki@samsung.com wrote: 2014-02-10 17:44 GMT+09:00 Sachin Kamat sachin.ka...@linaro.org: +cc Joonyoung Shim Hi, On 10 February 2014 13:58, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! Sachin Kamat wrote: +cc linux-media list

Re: exynos4 / g2d

2014-02-09 Thread Sachin Kamat
+cc linux-media list and some related maintainers Hi, On 10 February 2014 00:22, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! I noticed while here

Re: [PATCH v2 0/2] drivers/media: Add controls for Horizontal and Vertical MV Search Range

2014-01-29 Thread Sachin Kamat
Hi Amit, On 30 January 2014 11:12, Amit Grover amit.gro...@samsung.com wrote: Based on 'master' branch of Linux-next. Kamil's tree [1] would be more current most of the times for this driver. [1] git://linuxtv.org/kdebski/media.git This is v2 version for the patch: s5p-mfc: Add Horizontal

[PATCH 1/1] [media] radio-keene: Use module_usb_driver

2014-01-27 Thread Sachin Kamat
module_usb_driver eliminates the boilerplate and makes the code simpler. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/radio/radio-keene.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/media/radio/radio-keene.c b

Re: [media] Add driver for Samsung S5K5BAF camera sensor

2014-01-08 Thread Sachin Kamat
Hi Dan, On 8 January 2014 14:39, Dan Carpenter dan.carpen...@oracle.com wrote: Hello Andrzej Hajda, This is a semi-automatic email about new static checker warnings. The patch 7d459937dc09: [media] Add driver for Samsung S5K5BAF camera sensor from Dec 5, 2013, leads to the following Smatch

Re: [PATCH 1/3] [media] s5k5baf: Fix build warning

2014-01-08 Thread Sachin Kamat
Hi Andrzej, On 8 January 2014 16:30, Andrzej Hajda a.ha...@samsung.com wrote: On 01/06/2014 12:48 PM, Sachin Kamat wrote: Hi Sachin, Thanks for the fixes. Gentle ping on this series :) Sorry for late reply, but it seems Mauro has merged them already. No worries. Yes, Mauro has queued

Re: [PATCH 1/3] [media] s5k5baf: Fix build warning

2014-01-06 Thread Sachin Kamat
On 24 December 2013 17:12, Sachin Kamat sachin.ka...@linaro.org wrote: Fixes the following warnings: drivers/media/i2c/s5k5baf.c: In function 's5k5baf_fw_parse': drivers/media/i2c/s5k5baf.c:362:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat

[PATCH 1/3] [media] s5k5baf: Fix build warning

2013-12-24 Thread Sachin Kamat
of type 'int', but argument 4 has type 'size_t' [-Wformat=] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Reported-by: kbuild test robot fengguang...@intel.com --- drivers/media/i2c/s5k5baf.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c

[PATCH 3/3] [media] s5k5baf: Fix potential NULL pointer dereferencing

2013-12-24 Thread Sachin Kamat
Dereference 'fw' after the NULL check. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/s5k5baf.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/s5k5baf.c b/drivers/media/i2c/s5k5baf.c index 974b865c2ee1..4b838cbd 100644

[PATCH 2/3] [media] s5k5baf: Fix checkpatch error

2013-12-24 Thread Sachin Kamat
Fixes the following error: ERROR: return is not a function, parentheses are not required FILE: drivers/media/i2c/s5k5baf.c:1353: Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/s5k5baf.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

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

2013-12-09 Thread Sachin Kamat
Hi Arun, On 10 December 2013 10:15, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Pawel, On Tue, Dec 10, 2013 at 6:21 AM, Pawel Osciak posc...@chromium.org wrote: Hi Arun, Ok will make the change in next version. While at it also update the patch subject appropriately. -- With warm

Re: [PATCH 2/6] [media] mt9p031: Include linux/of.h header

2013-11-06 Thread Sachin Kamat
On 6 November 2013 06:58, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Sachin, Thank you for the patch, and sorry for the late reply. On Friday 18 October 2013 08:37:11 Sachin Kamat wrote: 'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage

Re: [PATCH 3/7] video: exynos_mipi_dsim: Use the generic PHY driver

2013-10-24 Thread Sachin Kamat
Hi Olof, On 24 October 2013 20:00, Olof Johansson o...@lixom.net wrote: Hi Kishon, On Wed, Oct 16, 2013 at 9:28 AM, Kishon Vijay Abraham I kis...@ti.com wrote: diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 32e5406..00b3a52 100644 ---

[PATCH 2/6] [media] mt9p031: Include linux/of.h header

2013-10-17 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/mt9p031.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/6] [media] adv7343: Include linux/of.h header

2013-10-17 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/adv7343.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7343.c b/drivers/media/i2c/adv7343

[PATCH 3/6] [media] ths8200: Include linux/of.h header

2013-10-17 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/ths8200.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200

[PATCH 4/6] [media] tvp514x: Include linux/of.h header

2013-10-17 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/tvp514x.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c

[PATCH 6/6] [media] gpio-ir-recv: Include linux/of.h header

2013-10-17 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/rc/gpio-ir-recv.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc

[PATCH 5/6] [media] tvp7002: Include linux/of.h header

2013-10-17 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/i2c/tvp7002.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tvp7002.c b/drivers/media/i2c/tvp7002

Re: [PATCH 00/10] [media] remove unnecessary pci_set_drvdata()

2013-09-30 Thread Sachin Kamat
Hi Hans, On 30 September 2013 17:52, Hans Verkuil hverk...@xs4all.nl wrote: On 09/23/2013 03:43 AM, Jingoo Han wrote: Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound), the driver core clears the driver data to NULL after

Re: [PATCH v5 0/4] media: s5p-tv: clean-up and fixes

2013-09-22 Thread Sachin Kamat
Hi Mateusz, On 21 September 2013 20:30, Mateusz Krawczuk m.krawc...@partner.samsung.com wrote: This patch series add restoring previous vpll rate after driver offs stream or recives error. It also replace mxr_info, mxr_dbg, mxr_warn and mxr_err macro by generic solution. It is a good

[PATCH 2/3] [media] pci: cx88-mpeg: Use module_pci_driver

2013-09-20 Thread Sachin Kamat
module_pci_driver removes some boilerplate and makes code simpler. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Jelle Foks je...@foks.us --- drivers/media/pci/cx88/cx88-mpeg.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/media/pci/cx88

[PATCH 3/3] [media] pci: cx88-video: Use module_pci_driver

2013-09-20 Thread Sachin Kamat
module_pci_driver removes some boilerplate and makes code simpler. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Gerd Knorr kra...@bytesex.org --- drivers/media/pci/cx88/cx88-video.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/media/pci

[PATCH 1/3] [media] pci: cx88-alsa: Use module_pci_driver

2013-09-20 Thread Sachin Kamat
module_pci_driver removes some boilerplate and makes code simpler. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/pci/cx88/cx88-alsa.c | 25 + 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/drivers/media/pci/cx88/cx88-alsa.c b

[PATCH 6/9] [media] pci: pt1: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Takahito HIRANO hiranot...@zng.info --- drivers/media/pci/pt1/pt1.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1

[PATCH 3/9] [media] pci: dm1105: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Igor M. Liplianin liplia...@me.by --- drivers/media/pci/dm1105/dm1105.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/dm1105/dm1105.c b/drivers/media

[PATCH 1/9] [media] pci: flexcop: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Patrick Boettcher patrick.boettc...@desy.de --- drivers/media/pci/b2c2/flexcop-pci.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/b2c2/flexcop-pci.c

[PATCH 5/9] [media] pci: pluto2: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Andreas Oberritter o...@linuxtv.org --- drivers/media/pci/pluto2/pluto2.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/pluto2/pluto2.c b/drivers

[PATCH 4/9] [media] pci: mantis: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Manu Abraham abraham.m...@gmail.com --- drivers/media/pci/mantis/mantis_pci.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/mantis/mantis_pci.c b

[PATCH 2/9] [media] pci: cx88: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/pci/cx88/cx88-alsa.c |2 -- drivers/media/pci/cx88/cx88-mpeg.c |1 - drivers/media/pci/cx88/cx88-video.c |1 - 3 files changed, 4 deletions(-) diff

[PATCH 8/9] [media] pci: bt878: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/pci/bt8xx/bt878.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/pci/bt8xx/bt878.c b/drivers/media/pci/bt8xx/bt878.c index 66eb0ba..2bd2483

[PATCH 9/9] [media] pci: ngene: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/pci/ngene/ngene-core.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/ngene/ngene-core.c b/drivers/media/pci/ngene/ngene-core.c index

[PATCH 7/9] [media] pci: saa7164: Remove redundant pci_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Steven Toth st...@kernellabs.com --- drivers/media/pci/saa7164/saa7164-core.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/pci/saa7164/saa7164-core.c b

[PATCH 1/1] [media] radio-sf16fmr2: Remove redundant dev_set_drvdata

2013-09-20 Thread Sachin Kamat
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/radio/radio-sf16fmr2.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index

[PATCH 1/1] [media] v4l2-ctrls: Remove duplicate const

2013-08-30 Thread Sachin Kamat
The function returns a pointer to a const array. Duplicate use of const led to the following warning. drivers/media/v4l2-core/v4l2-ctrls.c:574:32: warning: duplicate const Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/v4l2

Re: [PATCH 1/1] [media] v4l2-ctrls: Remove duplicate const

2013-08-30 Thread Sachin Kamat
On 30 August 2013 17:02, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Sachin, On 08/30/2013 01:11 PM, Sachin Kamat wrote: The function returns a pointer to a const array. Duplicate use of const led to the following warning. drivers/media/v4l2-core/v4l2-ctrls.c:574:32: warning

Re: [PATCH v5 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-13 Thread Sachin Kamat
Hi Arun, On 14 August 2013 10:16, Arun Kumar K arun...@samsung.com wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the following ips to connect through the media controller framework. *

Re: [PATCH 2/6] V4L2: mx3_camera: convert to managed resource allocation

2013-08-08 Thread Sachin Kamat
Hi Guennadi , On 8 August 2013 20:22, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Use devm_* resource allocators to simplify the driver's probe and clean up paths. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/mx3_camera.c | 47

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

2013-08-06 Thread Sachin Kamat
Hi Vikas, On 6 August 2013 10:53, Vikas Sajjan vikas.saj...@linaro.org 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

Re: [RFC v3 09/13] [media] exynos5-fimc-is: Add the hardware pipeline control

2013-08-06 Thread Sachin Kamat
Hi Arun, On 4 August 2013 20:30, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Arun, On 08/02/2013 05:02 PM, Arun Kumar K wrote: This patch adds the crucial hardware pipeline control for the fimc-is driver. All the subdev nodes will call this pipeline interfaces to reach the

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 s.nawro...@samsung.com wrote: Hi Sachin, On 08/05/2013 07:12 AM, Sachin Kamat wrote: On 2 August 2013 12:02, Sachin Kamat sachin.ka...@linaro.org wrote: __is_set_init_isp_aa and fimc_is_hw_set_tune currently do not have any callers

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

2013-08-04 Thread Sachin Kamat
Hi Sylwester, On 2 August 2013 12:02, Sachin Kamat sachin.ka...@linaro.org 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 annotate them with __maybe_unused

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

2013-08-04 Thread Sachin Kamat
On 2 August 2013 20:32, Arun Kumar K arun...@samsung.com wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the following ips to connect through the media controller framework. * MIPI-CSIS

[PATCH 1/3] [media] exynos4-is: Staticize local symbol

2013-08-02 Thread Sachin Kamat
__fimc_is_hw_update_param is used only in this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/exynos4-is/fimc-is-param.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-is-param.c

[PATCH 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-02 Thread Sachin Kamat
dev-of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/exynos4-is/fimc-lite.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media

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

2013-08-02 Thread Sachin Kamat
__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 annotate them with __maybe_unused flag to avoid compiler warnings. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org

Re: [PATCH 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-02 Thread Sachin Kamat
Hi Sylwester, On 2 August 2013 14:15, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Sachin, On 08/02/2013 08:32 AM, Sachin Kamat wrote: dev-of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat

[PATCH v2 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-02 Thread Sachin Kamat
dev-of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Changes since v1: Moved the NULL check to beginning of probe. --- drivers/media/platform/exynos4-is/fimc-lite.c | 13

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

2013-08-01 Thread Sachin Kamat
Hi Vikas, On 2 August 2013 09:23, Vikas Sajjan vikas.saj...@linaro.org wrote: Hi Tomasz, On 2 August 2013 04:50, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, On Thursday 01 of August 2013 16:49:32 Vikas Sajjan wrote: While trying to get boot-logo up on exynos5420 SMDK which has

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

2013-08-01 Thread Sachin Kamat
Hi Vikas, On 1 August 2013 16:49, Vikas Sajjan vikas.saj...@linaro.org 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

[PATCH 1/1] [media] s5p-g2d: Fix registration failure

2013-07-15 Thread Sachin Kamat
with error -22 Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/s5p-g2d/g2d.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c index 553d87e..fd6289d

[PATCH 1/1] dma-buf: Replace PTR_RET with PTR_ERR_OR_ZERO

2013-07-15 Thread Sachin Kamat
PTR_RET is now deprecated. Use PTR_ERR_OR_ZERO instead. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Compile tested and based on the following tree: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git (PTR_RET) Dependent on [1] [1] http://lkml.indiana.edu/hypermail/linux

[PATCH 1/1] [media] sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO

2013-07-15 Thread Sachin Kamat
PTR_RET is now deprecated. Use PTR_ERR_OR_ZERO instead. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Compile tested and based on the following tree: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git (PTR_RET) Dependent on [1] [1] http://lkml.indiana.edu/hypermail/linux

Re: [PATCH v3 4/8] [media] s5p-mfc: Core support for MFC v7

2013-06-26 Thread Sachin Kamat
Hi Arun, On 26 June 2013 12:18, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Sachin, On Tue, Jun 25, 2013 at 4:54 PM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Arun, @@ -684,5 +685,6 @@ void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx); (dev-variant

Re: [PATCH v3 4/8] [media] s5p-mfc: Core support for MFC v7

2013-06-25 Thread Sachin Kamat
Hi Arun, @@ -684,5 +685,6 @@ void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx); (dev-variant-port_num ? 1 : 0) : 0) : 0) #define IS_TWOPORT(dev)(dev-variant-port_num == 2 ? 1 : 0) #define IS_MFCV6_PLUS(dev) (dev-variant-version = 0x60 ? 1

Re: [PATCH 3/6] [media] s5p-mfc: Core support for MFC v7

2013-06-18 Thread Sachin Kamat
Hi Arun, On 18 June 2013 11:25, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Sachin, On Tue, Jun 18, 2013 at 10:56 AM, Sachin Kamat sachin.ka...@linaro.org wrote: On 18 June 2013 10:21, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Kamil, Thank you for the review. #define

Re: [PATCH] Documentation: Update driver's directory in video4linux/fimc.txt

2013-06-18 Thread Sachin Kamat
Hi Sylwester, On 19 June 2013 03:27, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Sachin, On 06/18/2013 05:45 AM, Sachin Kamat wrote: Hi Sylwester, -The machine code (plat-s5p and arch/arm/mach-*) must select following options +The machine code (arch/arm/plat-samsung

Re: [PATCH] MAINTAINERS: Update S5P/Exynos FIMC driver entry

2013-06-17 Thread Sachin Kamat
Hi Sylwester, Just a couple of nits inline. On 17 June 2013 22:12, Sylwester Nawrocki s.nawro...@samsung.com wrote: This change is mainly to update the driver's path changed from drivers/media/platform/s5p-fimc to drivers/media/platform/exynos4-is/. While at it, remove non-existent files

Re: [PATCH] Documentation: Update driver's directory in video4linux/fimc.txt

2013-06-17 Thread Sachin Kamat
Hi Sylwester, -The machine code (plat-s5p and arch/arm/mach-*) must select following options +The machine code (arch/arm/plat-samsung and arch/arm/mach-*) must select +following options: After the recent platform code cleanup the below entries are not found in arch/arm/mach-* (checked in

Re: [PATCH 3/6] [media] s5p-mfc: Core support for MFC v7

2013-06-17 Thread Sachin Kamat
On 18 June 2013 10:21, Arun Kumar K arunkk.sams...@gmail.com wrote: Hi Kamil, Thank you for the review. #define IS_MFCV6(dev)(dev-variant-version = 0x60 ? 1 : 0) +#define IS_MFCV7(dev)(dev-variant-version = 0x70 ? 1 : 0) According to this, MFC v7 is also

Re: [RFC v2 06/10] exynos5-fimc-is: Adds isp subdev

2013-06-06 Thread Sachin Kamat
On 31 May 2013 18:33, Arun Kumar K arun...@samsung.com wrote: fimc-is driver takes video data input from the ISP video node which is added in this patch. This node accepts Bayer input buffers which is given from the IS sensors. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by:

Re: [RFC v2 04/10] exynos5-fimc-is: Adds the register definition and context header

2013-06-06 Thread Sachin Kamat
On 31 May 2013 18:33, Arun Kumar K arun...@samsung.com wrote: This patch adds the register definition file for the fimc-is driver and also the header file containing the main context for the driver. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im

Re: [RFC v2 05/10] exynos5-fimc-is: Adds the sensor subdev

2013-06-06 Thread Sachin Kamat
On 31 May 2013 18:33, Arun Kumar K arun...@samsung.com wrote: FIMC-IS uses certain sensors which are exclusively controlled from the IS firmware. This patch adds the sensor subdev for the fimc-is sensors. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im

Re: [RFC v2 07/10] exynos5-fimc-is: Adds scaler subdev

2013-06-06 Thread Sachin Kamat
On 31 May 2013 18:33, Arun Kumar K arun...@samsung.com wrote: FIMC-IS has two hardware scalers named as scaler-codec and scaler-preview. This patch adds the common code handling the video nodes and subdevs of both the scalers. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by:

Re: [PATCH 1/2] [media] soc_camera: mt9t112: Remove empty function

2013-06-05 Thread Sachin Kamat
On 5 June 2013 15:32, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Sachin On Tue, 4 Jun 2013, Sachin Kamat wrote: On 24 May 2013 16:55, Sachin Kamat sachin.ka...@linaro.org wrote: After the switch to devm_* functions, the 'remove' function does not do anything. Delete

Re: [RFC v2 02/10] exynos5-fimc-is: Adds fimc-is driver core files

2013-06-05 Thread Sachin Kamat
Hi Arun, On 31 May 2013 18:33, Arun Kumar K arun...@samsung.com 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 arun...@samsung.com Signed-off-by: Kilyeon Im

Re: [PATCH 1/2] [media] soc_camera: mt9t112: Remove empty function

2013-06-04 Thread Sachin Kamat
On 24 May 2013 16:55, Sachin Kamat sachin.ka...@linaro.org wrote: After the switch to devm_* functions, the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Kuninori Morimoto morimoto.kunin...@renesas.com --- drivers/media/i2c

Re: [PATCH 1/3] s5p-mfc: separate encoder parameters for h264 and mpeg4

2013-05-28 Thread Sachin Kamat
Hi Andrzej, On 28 May 2013 12:56, Andrzej Hajda a.ha...@samsung.com wrote: This patch fixes a bug which caused overwriting h264 codec parameters by mpeg4 parameters during V4L2 control setting. Just curious, what was the use case that triggered this issue? -- With warm regards, Sachin -- To

Re: [PATCH 3/3] s5p-mfc: added missing end-of-lines in debug messages

2013-05-28 Thread Sachin Kamat
Hi Andrzej, On 28 May 2013 12:56, Andrzej Hajda a.ha...@samsung.com wrote: Many debug messages missed end-of-line. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc.c| 2 +-

[PATCH 1/1] [media] s5p-mfc: Add NULL check for allocated buffer

2013-05-28 Thread Sachin Kamat
In certain cases, dma_alloc_coherent returns NULL. Add check for NULL pointer. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc

[PATCH 1/2] [media] soc_camera: mt9t112: Remove empty function

2013-05-24 Thread Sachin Kamat
After the switch to devm_* functions, the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Kuninori Morimoto morimoto.kunin...@renesas.com --- drivers/media/i2c/soc_camera/mt9t112.c |6 -- 1 file changed, 6 deletions(-) diff

[PATCH 2/2] [media] soc_camera: tw9910: Remove empty function

2013-05-24 Thread Sachin Kamat
After the switch to devm_* functions, the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Kuninori Morimoto morimoto.kunin...@renesas.com --- drivers/media/i2c/soc_camera/tw9910.c |6 -- 1 file changed, 6 deletions(-) diff --git

Re: Warnings related to anonymous unions in s5p-tv driver

2013-05-22 Thread Sachin Kamat
On 21 May 2013 14:58, Hans Verkuil hverk...@xs4all.nl wrote: On Fri 17 May 2013 10:24:50 Sachin Kamat wrote: Hi Hans, I noticed the following sparse warnings with S5P HDMI driver which I think got introduced due to the following commit: 5efb54b2b7b ([media] s5p-tv: add dv_timings support

[PATCH 1/2] [media] exynos-gsc: Remove redundant use of of_match_ptr macro

2013-05-22 Thread Sachin Kamat
This is a DT only driver and exynos_gsc_match is always compiled in. Hence of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/exynos-gsc/gsc-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media

[PATCH 2/2] [media] s5p-mfc: Remove redundant use of of_match_ptr macro

2013-05-22 Thread Sachin Kamat
'exynos_mfc_match' is always compiled in. Hence of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Kamil Debski k.deb...@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media

Re: Warnings related to anonymous unions in s5p-tv driver

2013-05-21 Thread Sachin Kamat
On 17 May 2013 13:54, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Hans, I noticed the following sparse warnings with S5P HDMI driver which I think got introduced due to the following commit: 5efb54b2b7b ([media] s5p-tv: add dv_timings support for hdmi) Warnings: drivers/media/platform

Re: [PATCH 1/2] [media] soc_camera/sh_mobile_csi2: Remove redundant platform_set_drvdata()

2013-05-20 Thread Sachin Kamat
On 13 May 2013 14:49, Sachin Kamat sachin.ka...@linaro.org wrote: Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/soc_camera

Re: [PATCH 1/2] [media] soc_camera/sh_mobile_csi2: Remove redundant platform_set_drvdata()

2013-05-20 Thread Sachin Kamat
On 20 May 2013 17:30, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 20 May 2013, Sachin Kamat wrote: On 13 May 2013 14:49, Sachin Kamat sachin.ka...@linaro.org wrote: Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver

Warnings related to anonymous unions in s5p-tv driver

2013-05-17 Thread Sachin Kamat
Hi Hans, I noticed the following sparse warnings with S5P HDMI driver which I think got introduced due to the following commit: 5efb54b2b7b ([media] s5p-tv: add dv_timings support for hdmi) Warnings: drivers/media/platform/s5p-tv/hdmi_drv.c:483:18: error: unknown field name in initializer

[PATCH v4 1/2] s5p-tv: Fix incorrect usage of IS_ERR_OR_NULL in hdmi_drv.c

2013-05-16 Thread Sachin Kamat
NULL check on clocks obtained using common clock APIs should not be done. Use IS_ERR only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Based on for-next branch of git://linuxtv.org/snawrocki/samsung.git Changes since v3: Renamed the function and changed the prototype of {hdmi,mxr

[PATCH v4 2/2] s5p-tv: Fix incorrect usage of IS_ERR_OR_NULL in mixer_drv.c

2013-05-16 Thread Sachin Kamat
NULL check on clocks obtained using common clock APIs should not be done. Use IS_ERR only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/s5p-tv/mixer_drv.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH] [media] omap3isp: Remove redundant platform_set_drvdata()

2013-05-13 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Sakari Ailus sakari.ai...@iki.fi --- drivers/media

[PATCH 1/2] [media] soc_camera/sh_mobile_csi2: Remove redundant platform_set_drvdata()

2013-05-13 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/soc_camera/sh_mobile_csi2.c |8 +--- 1 file changed, 1 insertion(+), 7

[PATCH 2/2] [media] soc_camera_platform: Remove redundant platform_set_drvdata()

2013-05-13 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- .../platform/soc_camera/soc_camera_platform.c |7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 1/2] [media] timblogiw: Remove redundant platform_set_drvdata()

2013-05-13 Thread Sachin Kamat
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Pelagicore AB i...@pelagicore.com --- drivers/media/platform/timblogiw.c |4 1 file changed, 4

  1   2   3   4   >