[PATCH Resend 1/1] drm: gem_cma: Use ERR_CAST helper

2014-07-18 Thread Sachin Kamat
On Thu, Jul 3, 2014 at 5:33 PM, Sachin Kamat wrote: > From: Sachin Kamat > > Makes the code a bit more readable. > > Signed-off-by: Sachin Kamat > Signed-off-by: Sachin Kamat > Acked-by: Laurent Pinchart > --- > drivers/gpu/drm/drm_gem_cma_helper.c |2 +- >

[PATCH 1/1] drm/tilcdc: Fix build breakage

2014-07-09 Thread Sachin Kamat
ivers/gpu/drm/tilcdc/tilcdc.ko] undefined! Signed-off-by: Sachin Kamat CC: Thomas Wood CC: David Herrmann CC: Daniel Vetter --- Only compile tested. --- drivers/gpu/drm/tilcdc/tilcdc_panel.c |2 +- drivers/gpu/drm/tilcdc/tilcdc_slave.c |2 +- drivers/gpu/drm/tilcdc/tilcdc_tfp410.

[PATCH Resend 1/1] drm: gem_cma: Use ERR_CAST helper

2014-07-03 Thread Sachin Kamat
From: Sachin Kamat <sachin.ka...@linaro.org> Makes the code a bit more readable. Signed-off-by: Sachin Kamat Signed-off-by: Sachin Kamat Acked-by: Laurent Pinchart --- drivers/gpu/drm/drm_gem_cma_helper.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g

[PATCH 2/2] drm/exynos: Remove unused variable in exynos_drm_gem.c

2014-07-02 Thread Sachin Kamat
'exynos_gem_obj' is not used in the function. Remove it. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_gem.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 163a054..15db801

[PATCH 1/2] drm/exynos: Remove unused variable from exynos_hdmi.c

2014-07-02 Thread Sachin Kamat
'frame_size_code' is not used in the function. Remove it. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index aa259b0

[PATCH 1/1] drm/exynos: Fix de-registration ordering

2014-06-18 Thread Sachin Kamat
On Wed, Jun 18, 2014 at 10:53 AM, Inki Dae wrote: > On 2014? 06? 17? 20:38, Sachin Kamat wrote: >> 'exynos_drm_pdev' was not getting unregistered if platform_driver_register() >> failed. Fix the ordering to allow this. This also fixes the below warning by >> moving th

[PATCH 1/1] drm/exynos: Fix de-registration ordering

2014-06-17 Thread Sachin Kamat
of registration. drivers/gpu/drm/exynos/exynos_drm_drv.c:768:1: warning: label ?err_unregister_pd? defined but not used [-Wunused-label] Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_drv.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos

[PATCH 1/1] drm/exynos: Use PTR_ERR_OR_ZERO in exynos_dp_core.c

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_dp_core.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c b/drivers/gpu/drm/exynos/exynos_dp_core.c index ff63901..8b67f41

[PATCH 1/1] drm: gem_cma: Use ERR_CAST helper

2014-05-29 Thread Sachin Kamat
Makes the code a bit more readable. Signed-off-by: Sachin Kamat Cc: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com> --- drivers/gpu/drm/drm_gem_cma_helper.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drive

[PATCH] drm/exynos: remove redundant mutex_unlock

2014-05-23 Thread Sachin Kamat
Hi Andrzej, On 23 May 2014 16:27, Andrzej Hajda wrote: > The patch fixes unlocking in exynos_drm_component_del. This patch actually removes multiple unlocking issue. > > Signed-off-by: Andrzej Hajda > --- > Hi Inki, > > This patch is based on exynos_drm_next branch. > > Regards > Andrzej >

[PATCH] drm/exynos/fimd: allow multiplatform configuration

2014-05-23 Thread Sachin Kamat
On 23 May 2014 16:28, Andrzej Hajda wrote: > The patch removes dependency on !ARCH_MULTIPLATFORM. > This dependency seems to be not longer valid. > > Signed-off-by: Andrzej Hajda Reviewed-by: Sachin Kamat -- With warm regards, Sachin

[PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h

2014-05-23 Thread Sachin Kamat
Hi Andrzej, On 23 May 2014 13:17, Andrzej Hajda wrote: > Hi Sachin, > > On 05/22/2014 07:02 AM, Sachin Kamat wrote: >> i2c.h was included twice. >> >> Signed-off-by: Sachin Kamat >> --- >> drivers/gpu/drm/exynos/exynos_hdmi.c |1 - >> 1

[PATCH] drm/exynos: fix nested calls to lock mutex in drm resume

2014-05-23 Thread Sachin Kamat
Hi Rahul, On 22 May 2014 19:46, Rahul Sharma wrote: > Hi Inki, > > This is another one which has not got reviewed. Please review. Inki has applied a similar patch from Takashi [1]. [1] https://lkml.org/lkml/2014/5/9/24 -- With warm regards, Sachin

[PATCH v3] drm/exynos: enable fimd clocks in probe before accessing fimd registers

2014-05-23 Thread Sachin Kamat
Hi Rahul, On 22 May 2014 19:41, Rahul Sharma wrote: > Fimd probe is accessing fimd Registers without enabling the fimd > gate clocks. If FIMD clocks are kept disabled in Uboot or disbaled > during kernel boottime, the system hangs during boottime. > > This issue got surfaced when verifying with

[PATCH V2] drm/exynos: enable fimd clocks in probe before accessing fimd registers

2014-05-22 Thread Sachin Kamat
On 22 May 2014 12:06, Rahul Sharma wrote: > On 22 May 2014 11:51, Sachin Kamat wrote: >> Hi Rahul, > [snip] >>> >>> + clk_prepare_enable(ctx->bus_clk); >> >> Probably a check for its success? >> >>> + clk_prepare_enabl

[PATCH V2] drm/exynos: enable fimd clocks in probe before accessing fimd registers

2014-05-22 Thread Sachin Kamat
Hi Rahul, On 22 May 2014 10:46, Rahul Sharma wrote: > From: Rahul Sharma > > Fimd probe is accessing fimd Registers without enabling the fimd > gate clocks. If FIMD clocks are kept disabled in Uboot or disbaled > during kernel boottime, the system hangs during boottime. > > This issue got

[PATCH] drm/exynos: allocate non-contigous buffers when iommu is enabled

2014-05-22 Thread Sachin Kamat
gt; - if (IS_ERR(exynos_gem_obj)) > + if (IS_ERR(exynos_gem_obj)) { > + dev_warn(dev->dev, "FB allocation failed.\n"); > return PTR_ERR(exynos_gem_obj); > + } > > ret = exynos_drm_gem_handle_create(_gem_obj->base, file_priv, > >handle); > -- > 1.7.9.5 Otherwise looks good. Reviewed-by: Sachin Kamat -- With warm regards, Sachin

[PATCH 3/3] drm/exynos: Staticize local symbols in exynos_hdmi.c

2014-05-22 Thread Sachin Kamat
These symbols are local to this file. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index d3f9684..220f048 100644

[PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h

2014-05-22 Thread Sachin Kamat
i2c.h was included twice. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index ed6176e..d3f9684 100644 --- a/drivers/gpu/drm/exynos

[PATCH 1/3] drm/exynos: Staticize exynos_dpi_of_find_panel_node

2014-05-22 Thread Sachin Kamat
exynos_dpi_of_find_panel_node is local to this file. Signed-off-by: Sachin Kamat --- These patches are based on Inki Dae's tree (exynos-drm-next branch). --- drivers/gpu/drm/exynos/exynos_drm_dpi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos

[PATCH 1/1] drm/exynos: Fix checkpatch warning in exynos_dp_reg.c

2014-05-22 Thread Sachin Kamat
Silences the following warning: WARNING: space prohibited before semicolon Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_dp_reg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_dp_reg.c b/drivers/gpu/drm/exynos

[RFC v3 PATCH 08/16] drm/exynos: fimd: support I80 interface

2014-04-29 Thread Sachin Kamat
Hi YoungJun, On 27 April 2014 07:20, YoungJun Cho wrote: > To support MIPI DSI command mode interface, FIMD should do followings: > - Sets LCD block configuration for I80 interface. > - Uses "lcd_sys" as an IRQ resource and sets relevant IRQ configuration. > - Implements trigger feature which

[RFC v3 PATCH v2 10/16] drm/exynos: dsi: add driver data to support Exynos5420

2014-04-29 Thread Sachin Kamat
On 27 April 2014 07:20, YoungJun Cho wrote: > The offset of register DSIM_PLLTMR_REG in Exynos5420 is different > from the one in Exynos4 SoC. > > In case of Exynos5420 SoC, there is no frequency band bit in DSIM_PLLCTRL_REG, > and it uses DSIM_PHYCTRL_REG and DSIM_PHYTIMING*_REG instead. > So

[RFC PATCH 12/14] ARM: dts: exynos5: add system register support

2014-04-15 Thread Sachin Kamat
On 15 April 2014 14:48, Sylwester Nawrocki wrote: > On 15/04/14 10:41, Sachin Kamat wrote: >> On 15 April 2014 11:17, YoungJun Cho wrote: >>> This patch adds sysreg device node, and sysreg property to fimd device node >>> which is required to use I80 interface. >

[RFC PATCH 12/14] ARM: dts: exynos5: add system register support

2014-04-15 Thread Sachin Kamat
On 15 April 2014 11:17, YoungJun Cho wrote: > This patch adds sysreg device node, and sysreg property to fimd device node > which is required to use I80 interface. > > Signed-off-by: YoungJun Cho > Signed-off-by: Inki Dae > Signed-off-by: Kyungmin Park > --- > arch/arm/boot/dts/exynos5.dtsi |

[RFC PATCH 09/14] ARM: dts: s6e3fa0: add DT bindings

2014-04-15 Thread Sachin Kamat
On 15 April 2014 11:17, YoungJun Cho wrote: > This patch adds DT bindings for s6e3fa0 panel. > The bindings describes panel resources, display timings, delays > and physical size. > > Signed-off-by: YoungJun Cho > Signed-off-by: Inki Dae > Signed-off-by: Kyungmin Park > --- >

[RFC PATCH 07/14] ARM: dts: exynos_dsim: add exynos5420 Soc compatible

2014-04-15 Thread Sachin Kamat
On 15 April 2014 11:17, YoungJun Cho wrote: > This patch adds exynos5420 SoC support. This patch just updates binding documentation :) > Signed-off-by: YoungJun Cho > Signed-off-by: Inki Dae > Signed-off-by: Kyungmin Park > --- > .../devicetree/bindings/video/exynos_dsim.txt |4

[RFC PATCH 14/14] ARM: dts: exynos5420: add dsi node

2014-04-15 Thread Sachin Kamat
Hi YoungJun, On 15 April 2014 11:17, YoungJun Cho wrote: > This patch adds common part of dsi node. > > Signed-off-by: YoungJun Cho > Signed-off-by: Inki Dae > Signed-off-by: Kyungmin Park > --- > arch/arm/boot/dts/exynos5420.dtsi | 14 ++ > 1 file changed, 14 insertions(+) > >

[RFC PATCH 04/14] ARM: dts: add exynos5 compatible to sysreg

2014-04-15 Thread Sachin Kamat
Hi YoungJun, On 15 April 2014 11:17, YoungJun Cho wrote: > This patch adds sysreg support for exynos5 SoCs. The patch title and commit description seem a bit off here. This patch does not add support per se. It only updates the binding documentaion. -- With warm regards, Sachin

[RFC 3/4] drm: exynos: add IELCD post processor

2014-03-21 Thread Sachin Kamat
On 19 March 2014 19:52, Ajay Kumar wrote: > Add post processor ops for IELCD and their support functions. > Expose an interface for the FIMD to register IELCD PP. [snip] > + > +#define exynos_ielcd_readl(addr) readl(ielcd->exynos_ielcd_base + addr) > +#define exynos_ielcd_writel(addr, val)

[RFC 2/4] drm: exynos: add MDNIE post processor

2014-03-19 Thread Sachin Kamat
Hi Ajay, On 19 March 2014 19:52, Ajay Kumar wrote: > Add post processor ops for MDNIE and their support functions. > Expose an interface for the FIMD to register MDNIE PP. > > Signed-off-by: Ajay Kumar > Signed-off-by: Shirish S > Signed-off-by: Rahul Sharma > --- >

[PATCH] drm/exynos: Fix (more) freeing issues in exynos_drm_drv.c

2014-03-17 Thread Sachin Kamat
rv.c > > Signed-off-by: Daniel Kurtz Acked-by: Sachin Kamat -- With warm regards, Sachin

[RFC PATCH v2 02/21] drm/exynos: delay fbdev initialization until an output is connected

2014-02-12 Thread Sachin Kamat
+cc Inki Dae Looks like you missed CCing Exynos DRM maintainers. On 12 February 2014 17:01, Andrzej Hajda wrote: > In case fbdev is initialized before any output is connected, > fb resolution defaults to 1024x768. After that any output with > bigger resolution is ignored and fbdev is not

[RFC PATCH v2 16/21] ARM: dts: exynos5250: add display power domain node

2014-02-12 Thread Sachin Kamat
Hi Andrzej, On 12 February 2014 17:01, Andrzej Hajda wrote: > The patch adds power domain for display subsystem. > > Signed-off-by: Andrzej Hajda > --- > arch/arm/boot/dts/exynos5250.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5250.dtsi >

[PATCH 1/1] drm/exynos: Fix build error in exynos_hdmi.c

2014-02-04 Thread Sachin Kamat
On 4 February 2014 05:05, Sean Paul wrote: > On Mon, Feb 3, 2014 at 7:14 AM, Inki Dae wrote: >> 2014-01-31 Josh Boyer : >>> On Fri, Jan 31, 2014 at 1:09 AM, Sachin Kamat >>> wrote: >>>> 'hdmi_infoframe' is already defined in include/linux/hdmi.h.

[PATCH 1/1] drm/exynos: Convert to use the standard hdmi.h header

2014-02-04 Thread Sachin Kamat
Remove local definitions and use the ones provided by hdmi.h. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 66 ++ 1 file changed, 26 insertions(+), 40 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm

exynos_hdmi.c fails to build with v3.13-10094-g9b0cd30

2014-01-31 Thread Sachin Kamat
Hi Josh, On 30 January 2014 22:17, Josh Boyer wrote: > Hi All, > > After the DRM merge, the exynos_hdmi.c file fails to build with our > ARM config. The error is: > > drivers/gpu/drm/exynos/exynos_hdmi.c:382:8: error: 'hdmi_infoframe' > defined as wrong kind of tag > struct hdmi_infoframe { >

[PATCH 1/1] drm/exynos: Fix build error in exynos_hdmi.c

2014-01-31 Thread Sachin Kamat
?hdmi_infoframe? is already defined in include/linux/hdmi.h. Rename the local variable to avoid the following build error: drivers/gpu/drm/exynos/exynos_hdmi.c:382:8: error: ?hdmi_infoframe? defined as wrong kind of tag struct hdmi_infoframe { Signed-off-by: Sachin Kamat Reported-by: Josh

[PATCH v2 1/1] drm/exynos: Fix freeing issues in exynos_drm_drv.c

2014-01-21 Thread Sachin Kamat
Hi Inki, Does this patch look good now? On 16 January 2014 11:31, Sachin Kamat wrote: > Fixes the following errors: > drivers/gpu/drm/exynos/exynos_drm_drv.c:182 exynos_drm_open() > error: double free of 'file_priv' > drivers/gpu/drm/exynos/exynos_drm_drv.c:188 exynos_drm_op

[PATCH v2 1/1] drm/exynos: Fix freeing issues in exynos_drm_drv.c

2014-01-16 Thread Sachin Kamat
Fixes the following errors: drivers/gpu/drm/exynos/exynos_drm_drv.c:182 exynos_drm_open() error: double free of 'file_priv' drivers/gpu/drm/exynos/exynos_drm_drv.c:188 exynos_drm_open() error: dereferencing freed memory 'file_priv' Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos

[PATCH 1/1] drm/exynos: Fix freeing issues in exynos_drm_drv.c

2014-01-16 Thread Sachin Kamat
On 16 January 2014 10:51, Inki Dae wrote: > > >> -Original Message----- >> From: Sachin Kamat [mailto:sachin.kamat at linaro.org] >> Sent: Thursday, January 16, 2014 12:32 PM >> To: dri-devel at lists.freedesktop.org >> Cc: inki.dae at samsung.com; jy

[PATCH] drm/exynos: Fix multiplatform breakage for ipp

2014-01-16 Thread Sachin Kamat
Hi Tushar, On 15 January 2014 17:27, Tushar Behera wrote: > There is no need to include "plat/map-base.h" in ipp driver. Remove > this and enable this driver for multi-platform. > > Signed-off-by: Tushar Behera drivers/gpu/drm/exynos/exynos_drm_gsc.c also has this header file included. If this

[PATCH 2/2] drm/exynos: Fix trivial typo

2014-01-16 Thread Sachin Kamat
Changed quf -> qbuf. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_ipp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index 824e070..6665f5f 100644 --- a/drivers/

[PATCH 1/2] drm/exynos: Remove unnecessary semicolon

2014-01-16 Thread Sachin Kamat
Semicolon after a switch statement is not needed. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index 7bccedc

[PATCH 1/1] drm/exynos: Fix freeing issues in exynos_drm_drv.c

2014-01-16 Thread Sachin Kamat
'file_priv' Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_drv.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 9d096a0..ee84a7b6 100644 --- a/drivers/gpu/drm/exynos

Re: [drm/exynos-fimd] Display regression in v3.12-rc1

2013-09-23 Thread Sachin Kamat
Hi, On 18 September 2013 14:01, Andrzej Hajda a.ha...@samsung.com wrote: Hi, You can just set this property to zero. of_parse_display_timing will not complain and you will have default settings. Yes, that works fine. Thanks. -- With warm regards, Sachin

[PATCH 1/1] drm/exynos: Fix trivial typo in exynos_drm_fimd.c

2013-09-19 Thread Sachin Kamat
Fixed a trivial typo. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 868a14d

Re: [drm/exynos-fimd] Display regression in v3.12-rc1

2013-09-19 Thread Sachin Kamat
of_get_fb_videomode calculated refresh rate from display-timings and with clock 5, the result was 0(due to rounding down in some division), so fimd assumed he should use default refresh rate of 60Hz. Regards Andrzej On 09/18/2013 07:22 AM, Sachin Kamat wrote: Hi Andrzej , I was testing

[drm/exynos-fimd] Display regression in v3.12-rc1

2013-09-18 Thread Sachin Kamat
Hi Andrzej , I was testing the latest Linux kernel release (v3.12-rc1) on Exynos4210 based Origen board. I found a display regression with that. I do not get any display on the LCD (other than backlight) with the latest kernel. Git bisect pointed me to the following commit:

[PATCH 1/1] drm/exynos: Remove redundant OF dependency

2013-09-06 Thread Sachin Kamat
Now that DRM_EXYNOS depends on OF, we do not need individual drivers to depend on it. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm

[PATCH 1/2] drm/exynos: Fix address space warning in exynos_drm_buf.c

2013-09-06 Thread Sachin Kamat
-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_buf.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_buf.c b/drivers/gpu/drm/exynos/exynos_drm_buf.c index 3445a0f..d20a7af 100644 --- a/drivers/gpu/drm/exynos

[PATCH 2/2] drm/exynos: Fix address space warnings in exynos_drm_fbdev.c

2013-09-06 Thread Sachin Kamat
* drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48: warning: incorrect type in assignment (different address spaces) drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48: expected void [noderef] asn:2*kvaddr drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48:got void * Signed-off-by: Sachin Kamat

[PATCH 1/1] drm/exynos: Fix build error with exynos_drm_connector.c

2013-09-01 Thread Sachin Kamat
with videomode): drivers/built-in.o: In function `exynos_drm_connector_get_modes': drivers/gpu/drm/exynos/exynos_drm_connector.c:86: undefined reference to `drm_display_mode_from_videomode' Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos

[PATCH Resend 6/6] drm/exynos: Remove non-DT support in exynos_drm_fimd

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 74 +--

[PATCH Resend 5/6] drm/exynos: Remove non-DT support in exynos_hdmi

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 70 ++-

[PATCH Resend 4/6] drm/exynos: Remove non-DT support in exynos_drm_g2d

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |4 +--- 1 file changed, 1

[PATCH Resend 3/6] drm/exynos: Remove non-DT support in exynos_hdmiphy

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 11 +-- 1 file

[PATCH Resend 2/6] drm/exynos: Remove non-DT support in exynos_ddc

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_ddc.c | 11 +-- 1 file changed, 1

[PATCH Resend 1/6] drm/exynos: Make Exynos DRM drivers depend on OF

2013-08-28 Thread Sachin Kamat
Exynos is a DT-only platform. Add this info to Kconfig. Signed-off-by: Sachin Kamat --- Rebased this series on the latest Inki Dae's tree. --- drivers/gpu/drm/exynos/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu

[PATCH Resend 1/6] drm/exynos: Make Exynos DRM drivers depend on OF

2013-08-28 Thread Sachin Kamat
Exynos is a DT-only platform. Add this info to Kconfig. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Rebased this series on the latest Inki Dae's tree. --- drivers/gpu/drm/exynos/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos

[PATCH Resend 2/6] drm/exynos: Remove non-DT support in exynos_ddc

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_ddc.c | 11 +-- 1 file

[PATCH Resend 4/6] drm/exynos: Remove non-DT support in exynos_drm_g2d

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |4 +--- 1 file

[PATCH Resend 3/6] drm/exynos: Remove non-DT support in exynos_hdmiphy

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 11 +-- 1

[PATCH Resend 5/6] drm/exynos: Remove non-DT support in exynos_hdmi

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_hdmi.c | 70

[PATCH Resend 6/6] drm/exynos: Remove non-DT support in exynos_drm_fimd

2013-08-28 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 74

[PATCH 1/6] drm/exynos: Remove non-DT support in exynos_drm_fimd

2013-08-27 Thread Sachin Kamat
set is conflicted. > > Thanks, > Inki Dae > >> -Original Message- >> From: Sachin Kamat [mailto:sachin.kamat at linaro.org] >> Sent: Thursday, August 22, 2013 2:45 PM >> To: dri-devel at lists.freedesktop.org >> Cc: inki.dae at samsung.com; jy0922.shim at

Re: [PATCH 1/6] drm/exynos: Remove non-DT support in exynos_drm_fimd

2013-08-26 Thread Sachin Kamat
is conflicted. Thanks, Inki Dae -Original Message- From: Sachin Kamat [mailto:sachin.ka...@linaro.org] Sent: Thursday, August 22, 2013 2:45 PM To: dri-devel@lists.freedesktop.org Cc: inki@samsung.com; jy0922.s...@samsung.com; sw0312@samsung.com; sachin.ka...@linaro.org; patc

[PATCH 6/6] drm/exynos: Make Exynos DRM drivers depend on OF

2013-08-22 Thread Sachin Kamat
Hi Tomasz, On 22 August 2013 13:57, Tomasz Figa wrote: > Hi Sachin, > > On Thursday 22 of August 2013 11:15:23 Sachin Kamat wrote: >> Exynos is a DT-only platform. Add this info to Kconfig. >> >> Signed-off-by: Sachin Kamat >> --- >> drivers/gpu/dr

[PATCH 6/6] drm/exynos: Make Exynos DRM drivers depend on OF

2013-08-22 Thread Sachin Kamat
Exynos is a DT-only platform. Add this info to Kconfig. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 772c62a..80a251a 100644

[PATCH 5/6] drm/exynos: Remove non-DT support in exynos_hdmi

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 70 ++-

[PATCH 4/6] drm/exynos: Remove non-DT support in exynos_drm_g2d

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |4 +--- 1 file changed, 1

[PATCH 3/6] drm/exynos: Remove non-DT support in exynos_hdmiphy

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 11 +-- 1 file

[PATCH 2/6] drm/exynos: Remove non-DT support in exynos_ddc

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_ddc.c | 11 +-- 1 file changed, 1

[PATCH 1/6] drm/exynos: Remove non-DT support in exynos_drm_fimd

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 54 +++

[PATCH 1/6] drm/exynos: Remove non-DT support in exynos_drm_fimd

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 54

[PATCH 2/6] drm/exynos: Remove non-DT support in exynos_ddc

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_ddc.c | 11 +-- 1 file

[PATCH 3/6] drm/exynos: Remove non-DT support in exynos_hdmiphy

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 11 +-- 1

[PATCH 4/6] drm/exynos: Remove non-DT support in exynos_drm_g2d

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |4 +--- 1 file

[PATCH 5/6] drm/exynos: Remove non-DT support in exynos_hdmi

2013-08-22 Thread Sachin Kamat
Since commit 383ffda2fa (ARM: EXYNOS: no more support non-DT for EXYNOS SoCs), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_hdmi.c | 70

[PATCH 6/6] drm/exynos: Make Exynos DRM drivers depend on OF

2013-08-22 Thread Sachin Kamat
Exynos is a DT-only platform. Add this info to Kconfig. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 772c62a

Re: [PATCH 6/6] drm/exynos: Make Exynos DRM drivers depend on OF

2013-08-22 Thread Sachin Kamat
Hi Tomasz, On 22 August 2013 13:57, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Sachin, On Thursday 22 of August 2013 11:15:23 Sachin Kamat wrote: Exynos is a DT-only platform. Add this info to Kconfig. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos

[PATCH 4/4] drm/exynos: Add NULL pointer check

2013-08-14 Thread Sachin Kamat
devm_kzalloc can fail. Hence check the pointer to avoid NULL pointer dereferencing. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_iommu.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_iommu.c b/drivers/gpu/drm/exynos

[PATCH 3/4] drm/exynos: Remove redundant error messages

2013-08-14 Thread Sachin Kamat
kzalloc already has built-in error messages. Hence remove additional ones. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_buf.c |4 +--- drivers/gpu/drm/exynos/exynos_drm_connector.c |4 +--- drivers/gpu/drm/exynos/exynos_drm_crtc.c |4 +--- drivers/gpu

[PATCH 2/4] drm/exynos: Add missing of.h header include

2013-08-14 Thread Sachin Kamat
Add of.h explicitly for of_* APIs. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_ddc.c |2 +- drivers/gpu/drm/exynos/exynos_drm_fimc.c |1 + drivers/gpu/drm/exynos/exynos_drm_fimd.c |1 + drivers/gpu/drm/exynos/exynos_hdmi.c |1 + drivers/gpu/drm/exynos

[PATCH 1/4] drm/exynos: Remove redundant NULL check in exynos_drm_buf

2013-08-14 Thread Sachin Kamat
kfree handles null pointers. Hence this check is not necessary. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_buf.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_buf.c b/drivers/gpu/drm/exynos/exynos_drm_buf.c index b8ac06d

[PATCH 1/4] drm/exynos: Remove redundant NULL check in exynos_drm_buf

2013-08-14 Thread Sachin Kamat
kfree handles null pointers. Hence this check is not necessary. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_buf.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_buf.c b/drivers/gpu/drm/exynos

[PATCH 2/4] drm/exynos: Add missing of.h header include

2013-08-14 Thread Sachin Kamat
Add of.h explicitly for of_* APIs. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_ddc.c |2 +- drivers/gpu/drm/exynos/exynos_drm_fimc.c |1 + drivers/gpu/drm/exynos/exynos_drm_fimd.c |1 + drivers/gpu/drm/exynos/exynos_hdmi.c |1

[PATCH 3/4] drm/exynos: Remove redundant error messages

2013-08-14 Thread Sachin Kamat
kzalloc already has built-in error messages. Hence remove additional ones. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_buf.c |4 +--- drivers/gpu/drm/exynos/exynos_drm_connector.c |4 +--- drivers/gpu/drm/exynos/exynos_drm_crtc.c

[PATCH 4/4] drm/exynos: Add NULL pointer check

2013-08-14 Thread Sachin Kamat
devm_kzalloc can fail. Hence check the pointer to avoid NULL pointer dereferencing. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_iommu.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_iommu.c b

Re: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-10 Thread Sachin Kamat
Hi Chanho, On 9 August 2013 13:10, Chanho Park chanho61.p...@samsung.com wrote: This patch describes each nodes of rotator and specifies a example how to bind it. Signed-off-by: Chanho Park chanho61.p...@samsung.com Cc: Thomas Abraham thomas.abra...@linaro.org Cc: Kukjin Kim

Re: [PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-10 Thread Sachin Kamat
Hi Chanho, On 9 August 2013 13:10, Chanho Park chanho61.p...@samsung.com wrote: The exynos4 platform is only dt-based since 3.10, we should convert driver data and ids to dt-based parsing methods. The rotator driver has a limit table to get size limit of input picture. Each SoCs has

[PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-09 Thread Sachin Kamat
Hi Chanho, On 9 August 2013 13:10, Chanho Park wrote: > The exynos4 platform is only dt-based since 3.10, we should convert driver > data > and ids to dt-based parsing methods. The rotator driver has a limit table to > get > size limit of input picture. Each SoCs has slightly different limit

[PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-09 Thread Sachin Kamat
Hi Chanho, On 9 August 2013 13:10, Chanho Park wrote: > This patch describes each nodes of rotator and specifies a example how to bind > it. > > Signed-off-by: Chanho Park > Cc: Thomas Abraham > Cc: Kukjin Kim > Cc: Inki Dae > Signed-off-by: Kyungmin Park > --- >

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

2013-08-06 Thread Sachin Kamat
cation fails > and if IOMMU is supported. > > Signed-off-by: Vikas Sajjan > Signed-off-by: Arun Kumar > Reviewed-by: Rob Clark > --- > changes since v3: > - addressed nits pointed out by Sylwester Nawrocki samsung.com> > and Sachin Kamat . > > c

[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 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: [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: [PATCH v4] drm/exynos: Add fallback option to get non physically contiguous memory for fb

2013-08-06 Thread Sachin Kamat
and if IOMMU is supported. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org Signed-off-by: Arun Kumar arun...@samsung.com Reviewed-by: Rob Clark robdcl...@gmail.com --- changes since v3: - addressed nits pointed out by Sylwester Nawrocki s.nawro...@samsung.com and Sachin

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

2013-08-02 Thread Sachin Kamat
Hi Vikas, On 1 August 2013 16:49, 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.

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

2013-08-02 Thread Sachin Kamat
Hi Vikas, On 2 August 2013 09:23, Vikas Sajjan wrote: > Hi Tomasz, > > > On 2 August 2013 04:50, Tomasz Figa 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 eDP panel >> > connected with

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

2013-08-02 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

  1   2   3   4   >