Re: [PATCH/RFC v3 08/19] video: display: Add MIPI DBI bus support

2013-09-19 Thread Vikas Sajjan
Hi Laurent, On 6 September 2013 20:07, Laurent Pinchart wrote: > Hi Vikas, > > On Wednesday 04 September 2013 16:20:59 Vikas Sajjan wrote: >> On 9 August 2013 22:44, Laurent Pinchart wrote: >> > MIPI DBI is a configurable-width parallel display bus that transmit

Re: [PATCH/RFC v3 08/19] video: display: Add MIPI DBI bus support

2013-09-05 Thread Vikas Sajjan
truct mipi_dbi_device *); > + int(*remove)(struct mipi_dbi_device *); > + struct device_driver driver; > + const struct mipi_dbi_device_id *id_table; > +}; > + > +#define to_mipi_dbi_driver(d) container_of(d, struct mipi_dbi_driver, > driver) > + > +int mipi_dbi_driver_register(struct mipi_dbi_driver *drv); > +void mipi_dbi_driver_unregister(struct mipi_dbi_driver *drv); > + > +static inline void *mipi_dbi_get_drvdata(const struct mipi_dbi_device *dev) > +{ > + return dev_get_drvdata(&dev->dev); > +} > + > +static inline void mipi_dbi_set_drvdata(struct mipi_dbi_device *dev, > + void *data) > +{ > + dev_set_drvdata(&dev->dev, data); > +} > + > +/* module_mipi_dbi_driver() - Helper macro for drivers that don't do > + * anything special in module init/exit. This eliminates a lot of > + * boilerplate. Each module may only use this macro once, and > + * calling it replaces module_init() and module_exit() > + */ > +#define module_mipi_dbi_driver(__mipi_dbi_driver) \ > + module_driver(__mipi_dbi_driver, mipi_dbi_driver_register, \ > + mipi_dbi_driver_unregister) > + > +int mipi_dbi_set_data_width(struct mipi_dbi_device *dev, unsigned int width); > + > +int mipi_dbi_write_command(struct mipi_dbi_device *dev, u16 cmd); > +int mipi_dbi_read_data(struct mipi_dbi_device *dev, u8 *data, size_t len); > +int mipi_dbi_write_data(struct mipi_dbi_device *dev, const u8 *data, > + size_t len); > + > +#endif /* __MIPI_DBI_BUS__ */ > -- > 1.8.1.5 > -- Thanks and Regards Vikas Sajjan ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH/RFC v3 08/19] video: display: Add MIPI DBI bus support

2013-09-05 Thread Vikas Sajjan
; +struct mipi_dbi_bus *bus); > +void mipi_dbi_device_unregister(struct mipi_dbi_device *dev); > + > +struct mipi_dbi_driver { > + int(*probe)(struct mipi_dbi_device *); > + int(*remove)(struct mipi_dbi_device *); > + struct device_driv

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

2013-08-27 Thread Vikas Sajjan
owner at vger.kernel.org [mailto:linux-samsung-soc- >> owner at vger.kernel.org] On Behalf Of Vikas Sajjan >> Sent: Tuesday, August 27, 2013 12:05 PM >> To: Inki Dae >> Cc: DRI mailing list; kgene.kim; Sylwester Nawrocki; Rob Clark; Tomasz >> Figa; Laurent Pinchart; Patch

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

2013-08-27 Thread Vikas Sajjan
Thanks. On 27 August 2013 08:14, Inki Dae wrote: > Applied. > > Thanks, > Inki Dae > >> -Original Message- >> From: Vikas Sajjan [mailto:vikas.sajjan at linaro.org] >> Sent: Friday, August 23, 2013 3:35 PM >> To: dri-devel at lists.freedes

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

2013-08-26 Thread Vikas Sajjan
w...@vger.kernel.org [mailto:linux-samsung-soc- >> ow...@vger.kernel.org] On Behalf Of Vikas Sajjan >> Sent: Tuesday, August 27, 2013 12:05 PM >> To: Inki Dae >> Cc: DRI mailing list; kgene.kim; Sylwester Nawrocki; Rob Clark; Tomasz >> Figa; Laurent Pinchart

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

2013-08-26 Thread Vikas Sajjan
Thanks. On 27 August 2013 08:14, Inki Dae wrote: > Applied. > > Thanks, > Inki Dae > >> -Original Message- >> From: Vikas Sajjan [mailto:vikas.saj...@linaro.org] >> Sent: Friday, August 23, 2013 3:35 PM >> To: dri-devel@lists.freedesktop

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

2013-08-26 Thread Vikas Sajjan
adding linux-samsung-soc mailing list and Dave Airlie. On Fri, Aug 23, 2013 at 12:05 PM, Vikas Sajjan wrote: > To address the case where physically contiguous memory MAY NOT be a mandatory > requirement for framebuffer for the application calling > exynos_drm_gem_dumb_create, > th

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

2013-08-26 Thread Vikas Sajjan
adding linux-samsung-soc mailing list and Dave Airlie. On Fri, Aug 23, 2013 at 12:05 PM, Vikas Sajjan wrote: > To address the case where physically contiguous memory MAY NOT be a mandatory > requirement for framebuffer for the application calling > exynos_drm_gem_dumb_create, > the

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

2013-08-23 Thread Vikas Sajjan
if IOMMU is supported. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 2eabe1a..66d1b40

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

2013-08-23 Thread Vikas Sajjan
if IOMMU is supported. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 2eabe1a..66d1b40

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

2013-08-07 Thread Vikas Sajjan
Hi Inki Dae, On 7 August 2013 10:18, Inki Dae wrote: > > >> -Original Message- >> From: linux-samsung-soc-owner at vger.kernel.org [mailto:linux-samsung-soc- >> owner at vger.kernel.org] On Behalf Of Vikas Sajjan >> Sent: Wednesday, August 07, 2013 1:1

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

2013-08-07 Thread Vikas Sajjan
Hi Inki, On Tue, Aug 6, 2013 at 5:27 PM, Sachin Kamat wrote: > On 6 August 2013 17:22, 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

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

2013-08-06 Thread Vikas Sajjan
Hi Inki Dae, On 7 August 2013 10:18, Inki Dae wrote: > > >> -Original Message- >> From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- >> ow...@vger.kernel.org] On Behalf Of Vikas Sajjan >> Sent: Wednesday, August 07, 2013 1:11 PM &g

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

2013-08-06 Thread Vikas Sajjan
To address the cases where physically contiguous memory MAY NOT be a mandatory requirement for fb, the patch adds a feature to get non physically contiguous memory for fb if physically contiguous memory allocation fails and if IOMMU is supported. Signed-off-by: Vikas Sajjan Signed-off-by: Arun

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

2013-08-06 Thread Vikas Sajjan
Hi Inki, On Tue, Aug 6, 2013 at 5:27 PM, Sachin Kamat wrote: > On 6 August 2013 17:22, 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

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

2013-08-06 Thread Vikas Sajjan
To address the cases where physically contiguous memory MAY NOT be a mandatory requirement for fb, the patch adds a feature to get non physically contiguous memory for fb if physically contiguous memory allocation fails and if IOMMU is supported. Signed-off-by: Vikas Sajjan Signed-off-by: Arun

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

2013-08-06 Thread Vikas Sajjan
To address the cases where physically continous memory MAY NOT be a mandatory requirement for fb, the patch adds a feature to get non physically continous memory for fb if IOMMU is supported and if CONTIG memory allocation fails. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar Reviewed-by

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

2013-08-05 Thread Vikas Sajjan
To address the cases where physically continous memory MAY NOT be a mandatory requirement for fb, the patch adds a feature to get non physically continous memory for fb if IOMMU is supported and if CONTIG memory allocation fails. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar Reviewed-by

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

2013-08-05 Thread Vikas Sajjan
To address the case where physically continous memory MAY NOT be a mandatory requirement for fb, the patch adds a feature to get non physically continous memory for fb if IOMMU is supported and if CONTIG memory allocation fails. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar --- changes

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

2013-08-05 Thread Vikas Sajjan
Hi Sylwester, On 2 August 2013 16:28, Sylwester Nawrocki wrote: > Hi Vikas, > > On 08/02/2013 12:10 PM, Vikas Sajjan wrote: >> yeah, we could not allocate CMA region for FIMD, because the function >> dma_declare_contiguous() needs "dev" as the first argument and

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

2013-08-05 Thread Vikas Sajjan
To address the case where physically continous memory MAY NOT be a mandatory requirement for fb, the patch adds a feature to get non physically continous memory for fb if IOMMU is supported and if CONTIG memory allocation fails. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar --- changes

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

2013-08-05 Thread Vikas Sajjan
Hi Sylwester, On 2 August 2013 16:28, Sylwester Nawrocki wrote: > Hi Vikas, > > On 08/02/2013 12:10 PM, Vikas Sajjan wrote: >> yeah, we could not allocate CMA region for FIMD, because the function >> dma_declare_contiguous() needs "dev" as the first argument and

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

2013-08-02 Thread Vikas Sajjan
Hi Inki Dae, On 2 August 2013 12:58, Inki Dae wrote: > > > 2013/8/2 Vikas Sajjan >> >> Hi Rob, >> >> On 2 August 2013 06:03, Rob Clark wrote: >> > On Thu, Aug 1, 2013 at 7:20 PM, Tomasz Figa >> > wrote: >> >> Hi Vikas, >&g

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

2013-08-02 Thread Vikas Sajjan
Hi Rob, On 2 August 2013 06:03, Rob Clark wrote: > On Thu, Aug 1, 2013 at 7:20 PM, 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 >>&

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

2013-08-02 Thread Vikas Sajjan
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 resolution 2560x1600, following error occ

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

2013-08-02 Thread Vikas Sajjan
Hi Inki Dae, On 2 August 2013 12:58, Inki Dae wrote: > > > 2013/8/2 Vikas Sajjan >> >> Hi Rob, >> >> On 2 August 2013 06:03, Rob Clark wrote: >> > On Thu, Aug 1, 2013 at 7:20 PM, Tomasz Figa >> > wrote: >> >> Hi Vikas, >&g

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

2013-08-02 Thread Vikas Sajjan
Hi Rob, On 2 August 2013 06:03, Rob Clark wrote: > On Thu, Aug 1, 2013 at 7:20 PM, 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 >>&

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

2013-08-01 Thread Vikas Sajjan
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 resolution 2560x1600, following error occ

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

2013-08-01 Thread Vikas Sajjan
This patch fixes the issue by adding a check for IOMMU. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm

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

2013-08-01 Thread Vikas Sajjan
This patch fixes the issue by adding a check for IOMMU. Signed-off-by: Vikas Sajjan Signed-off-by: Arun Kumar --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm

[PATCH 3/3] ARM: dts: Add display timing node to exynos5250-arndale.dts

2013-05-10 Thread Vikas Sajjan
Hi Tomasz, On 10 May 2013 08:25, Vikas Sajjan wrote: > Hi Tomasz, > > > On 10 May 2013 05:35, Tomasz Figa wrote: > >> Hi Vikas, >> >> On Wednesday 08 of May 2013 11:31:34 Vikas Sajjan wrote: >> > Adds display timing node for a DP panel to Arndale Boa

Re: [PATCH 3/3] ARM: dts: Add display timing node to exynos5250-arndale.dts

2013-05-10 Thread Vikas Sajjan
Hi Tomasz, On 10 May 2013 08:25, Vikas Sajjan wrote: > Hi Tomasz, > > > On 10 May 2013 05:35, Tomasz Figa wrote: > >> Hi Vikas, >> >> On Wednesday 08 of May 2013 11:31:34 Vikas Sajjan wrote: >> > Adds display timing node for a DP panel to Arndale Boa

[PATCH v3] drm/exynos: enable FIMD clocks

2013-04-22 Thread Vikas Sajjan
Hi Mr Dae, On 22 April 2013 11:19, Inki Dae wrote: > Hi, Mr. Vikas > > Please fix the below typos Viresh pointed out and my comments. > > > -Original Message- > > From: Viresh Kumar [mailto:viresh.kumar at linaro.org] > > Sent: Monday, April 01, 2013 5:51

Re: [PATCH v3] drm/exynos: enable FIMD clocks

2013-04-22 Thread Vikas Sajjan
Hi Mr Dae, On 22 April 2013 11:19, Inki Dae wrote: > Hi, Mr. Vikas > > Please fix the below typos Viresh pointed out and my comments. > > > -Original Message- > > From: Viresh Kumar [mailto:viresh.ku...@linaro.org] > > Sent: Monday, April 01, 2013 5:51

[PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-21 Thread Vikas Sajjan
On Apr 20, 2013 8:56 PM, "Inki Dae" wrote: > > > > > 2013/4/19 Vikas Sajjan >> >> Hi Inki Dae and Viresh, >> >> On 8 April 2013 16:41, Viresh Kumar wrote: >>> >>> On 8 April 2013 16:37, Vikas Sajjan wrote: >>> >

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-21 Thread Vikas Sajjan
On Apr 20, 2013 8:56 PM, "Inki Dae" wrote: > > > > > 2013/4/19 Vikas Sajjan >> >> Hi Inki Dae and Viresh, >> >> On 8 April 2013 16:41, Viresh Kumar wrote: >>> >>> On 8 April 2013 16:37, Vikas Sajjan wrote: >>> >

[PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-19 Thread Vikas Sajjan
Hi Inki Dae and Viresh, On 8 April 2013 16:41, Viresh Kumar wrote: > On 8 April 2013 16:37, Vikas Sajjan wrote: > > While migrating to common clock framework (CCF), I found that the FIMD > clocks > > were pulled down by the CCF. > > If CCF finds any clock(s) which has

Re: [PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-19 Thread Vikas Sajjan
Hi Inki Dae and Viresh, On 8 April 2013 16:41, Viresh Kumar wrote: > On 8 April 2013 16:37, Vikas Sajjan wrote: > > While migrating to common clock framework (CCF), I found that the FIMD > clocks > > were pulled down by the CCF. > > If CCF finds any clock(s) which has

[PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-08 Thread Vikas Sajjan
replaces clk_disable() with clk_unprepare() during exit, since clk_prepare() is called in fimd_probe(). Signed-off-by: Vikas Sajjan --- Changes since v3: - added clk_prepare() in fimd_probe() and clk_unprepare() in fimd_remove() as suggested by Viresh Kumar Changes since v2

[PATCH v4] drm/exynos: prepare FIMD clocks

2013-04-08 Thread Vikas Sajjan
replaces clk_disable() with clk_unprepare() during exit, since clk_prepare() is called in fimd_probe(). Signed-off-by: Vikas Sajjan --- Changes since v3: - added clk_prepare() in fimd_probe() and clk_unprepare() in fimd_remove() as suggested by Viresh Kumar Changes since v2

[PATCH] drm/exynos: change the method for getting the interrupt resource of FIMD

2013-04-02 Thread Vikas Sajjan
Hi Mr. Inki Dae, Can you please review this patch.? On Wed, Mar 13, 2013 at 4:22 PM, Vikas Sajjan wrote: > Replaces the "platform_get_resource() for IORESOURCE_IRQ" with > platform_get_resource_byname(). > Both in exynos4 and exynos5, FIMD IP has 3 interrupts in the orde

Re: [PATCH] drm/exynos: change the method for getting the interrupt resource of FIMD

2013-04-01 Thread Vikas Sajjan
Hi Mr. Inki Dae, Can you please review this patch.? On Wed, Mar 13, 2013 at 4:22 PM, Vikas Sajjan wrote: > Replaces the "platform_get_resource() for IORESOURCE_IRQ" with > platform_get_resource_byname(). > Both in exynos4 and exynos5, FIMD IP has 3 interrupts in the orde

[PATCH v3] drm/exynos: enable FIMD clocks

2013-04-01 Thread Vikas Sajjan
patch also replaces clk_disable() with clk_disable_unprepare() during exit. Signed-off-by: Vikas Sajjan --- Changes since v2: - moved clk_prepare_enable() and clk_disable_unprepare() from fimd_probe() to fimd_clock() as suggested by Inki Dae Changes since v1: - added error

[PATCH v3] drm/exynos: enable FIMD clocks

2013-04-01 Thread Vikas Sajjan
patch also replaces clk_disable() with clk_disable_unprepare() during exit. Signed-off-by: Vikas Sajjan --- Changes since v2: - moved clk_prepare_enable() and clk_disable_unprepare() from fimd_probe() to fimd_clock() as suggested by Inki Dae Changes since v1: - added error

[PATCH v2] drm/exynos: enable FIMD clocks

2013-03-27 Thread Vikas Sajjan
Hi, On 27 March 2013 15:53, Inki Dae wrote: > 2013/3/20 Vikas Sajjan : >> While migrating to common clock framework (CCF), found that the FIMD clocks >> were pulled down by the CCF. >> If CCF finds any clock(s) which has NOT been claimed by any of the >> drivers, th

Re: [PATCH v2] drm/exynos: enable FIMD clocks

2013-03-27 Thread Vikas Sajjan
Hi, On 27 March 2013 15:53, Inki Dae wrote: > 2013/3/20 Vikas Sajjan : >> While migrating to common clock framework (CCF), found that the FIMD clocks >> were pulled down by the CCF. >> If CCF finds any clock(s) which has NOT been claimed by any of the >> drivers, th

[PATCH v2] drm/exynos: enable FIMD clocks

2013-03-20 Thread Vikas Sajjan
patch also replaces clk_disable() with clk_disable_unprepare() during exit. Signed-off-by: Vikas Sajjan --- Changes since v1: - added error checking for clk_prepare_enable() and also replaced clk_disable() with clk_disable_unprepare() during exit. --- drivers/gpu/drm/exynos

[PATCH v2] drm/exynos: enable FIMD clocks

2013-03-20 Thread Vikas Sajjan
patch also replaces clk_disable() with clk_disable_unprepare() during exit. Signed-off-by: Vikas Sajjan --- Changes since v1: - added error checking for clk_prepare_enable() and also replaced clk_disable() with clk_disable_unprepare() during exit. --- drivers/gpu/drm/exynos

[PATCH] drm/exynos: enable FIMD clocks

2013-03-19 Thread Vikas Sajjan
-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 9537761..d93dd8a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers

[PATCH] drm/exynos: enable FIMD clocks

2013-03-19 Thread Vikas Sajjan
-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 9537761..d93dd8a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers

[PATCH] drm/exynos: change the method for getting the interrupt resource of FIMD

2013-03-14 Thread Vikas Sajjan
<11, 2> keeping "vsync" as the 1st paramter. This patch fixes the above mentioned "hack" of re-ordering of the FIMD interrupt numbers by getting interrupt resource of FIMD by using platform_get_resource_byname(). Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos

[PATCH] drm/exynos: change the method for getting the interrupt resource of FIMD

2013-03-13 Thread Vikas Sajjan
<11, 2> keeping "vsync" as the 1st paramter. This patch fixes the above mentioned "hack" of re-ordering of the FIMD interrupt numbers by getting interrupt resource of FIMD by using platform_get_resource_byname(). Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos

[PATCH v13 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-09 Thread Vikas Sajjan
patch adds "select OF_VIDEOMODE" and "select FB_MODE_HELPERS" when EXYNOS_DRM_FIMD config is selected. Also adds the "OF" dependency. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/Kconfig |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v13 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-09 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v13 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-09 Thread Vikas Sajjan
Paul , to modify the return values and print messages. changes since v2: - moved 'devm_pinctrl_get_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since

[PATCH v13 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-08 Thread Vikas Sajjan
patch adds "select OF_VIDEOMODE" and "select FB_MODE_HELPERS" when EXYNOS_DRM_FIMD config is selected. Also adds the "OF" dependency. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/Kconfig |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v13 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-08 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v13 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-08 Thread Vikas Sajjan
l , to modify the return values and print messages. changes since v2: - moved 'devm_pinctrl_get_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since

[PATCH v12 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-08 Thread Vikas Sajjan
Hi Mr. Dae, On 7 March 2013 13:34, Inki Dae wrote: > > >> -Original Message- >> From: linux-media-owner at vger.kernel.org [mailto:linux-media- >> owner at vger.kernel.org] On Behalf Of Vikas Sajjan >> Sent: Thursday, March 07, 2013 4:40 PM >> To: dri-

Re: [PATCH v12 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-07 Thread Vikas Sajjan
Hi Mr. Dae, On 7 March 2013 13:34, Inki Dae wrote: > > >> -Original Message- >> From: linux-media-ow...@vger.kernel.org [mailto:linux-media- >> ow...@vger.kernel.org] On Behalf Of Vikas Sajjan >> Sent: Thursday, March 07, 2013 4:40 PM >> To: dri-deve

[PATCH v12 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-07 Thread Vikas Sajjan
patch adds "select OF_VIDEOMODE" and "select FB_MODE_HELPERS" when EXYNOS_DRM_FIMD config is selected. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/

[PATCH v12 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-07 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v12 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-07 Thread Vikas Sajjan
et_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from Sean Paul Vikas Sajjan (2): video: drm: exynos: Add display-timing node pars

[PATCH] drm/exynos: modify the compatible string for exynos fimd

2013-03-07 Thread Vikas Sajjan
Thanks. On 7 March 2013 12:47, Inki Dae wrote: > Already merged. :) > >> -Original Message----- >> From: Vikas Sajjan [mailto:vikas.sajjan at linaro.org] >> Sent: Thursday, March 07, 2013 4:09 PM >> To: InKi Dae >> Cc: dri-devel at lists.freedesktop

[PATCH] drm/exynos: modify the compatible string for exynos fimd

2013-03-07 Thread Vikas Sajjan
Hi Mr Inki Dae, On 28 February 2013 08:12, Joonyoung Shim wrote: > On 02/27/2013 07:32 PM, Vikas Sajjan wrote: >> >> modified compatible string for exynos4 fimd as "exynos4210-fimd" and >> exynos5 fimd as "exynos5250-fimd" to stick to the rule that compat

[PATCH v11 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-07 Thread Vikas Sajjan
patch adds "select OF_VIDEOMODE" and "select FB_MODE_HELPERS" when EXYNOS_DRM_FIMD config is selected. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/

[PATCH v11 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-07 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v11 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-07 Thread Vikas Sajjan
>dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from Sean Paul Vikas Sajjan (2): video: drm: exynos: Add display-timing node parsing using video helper function drm/exynos: enable OF_VIDEOMODE and F

[PATCH v12 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-07 Thread Vikas Sajjan
patch adds "select OF_VIDEOMODE" and "select FB_MODE_HELPERS" when EXYNOS_DRM_FIMD config is selected. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/

[PATCH v12 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-07 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v12 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-07 Thread Vikas Sajjan
et_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from Sean Paul Vikas Sajjan (2): video: drm: exynos: Add display-timing node pars

Re: [PATCH] drm/exynos: modify the compatible string for exynos fimd

2013-03-07 Thread Vikas Sajjan
Thanks. On 7 March 2013 12:47, Inki Dae wrote: > Already merged. :) > >> -Original Message----- >> From: Vikas Sajjan [mailto:vikas.saj...@linaro.org] >> Sent: Thursday, March 07, 2013 4:09 PM >> To: InKi Dae >> Cc: dri-devel@lists.freedesktop.org; l

Re: [PATCH] drm/exynos: modify the compatible string for exynos fimd

2013-03-07 Thread Vikas Sajjan
Hi Mr Inki Dae, On 28 February 2013 08:12, Joonyoung Shim wrote: > On 02/27/2013 07:32 PM, Vikas Sajjan wrote: >> >> modified compatible string for exynos4 fimd as "exynos4210-fimd" and >> exynos5 fimd as "exynos5250-fimd" to stick to the rule that compat

[PATCH v11 2/2] drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm fimd

2013-03-07 Thread Vikas Sajjan
patch adds "select OF_VIDEOMODE" and "select FB_MODE_HELPERS" when EXYNOS_DRM_FIMD config is selected. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/

[PATCH v11 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-07 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v11 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-07 Thread Vikas Sajjan
>dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from Sean Paul Vikas Sajjan (2): video: drm: exynos: Add display-timing node parsing using video helper function drm/exynos: enable OF_VIDEOMODE and FB_MODE_

[PATCH v10 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-06 Thread Vikas Sajjan
Hi, On 6 March 2013 14:12, Inki Dae wrote: > 2013/3/1 Vikas Sajjan : >> Add support for parsing the display-timing node using video helper >> function. >> >> The DT node parsing is done only if 'dev.of_node' >> exists and the NON-DT logic is still mai

Re: [PATCH v10 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-06 Thread Vikas Sajjan
Hi, On 6 March 2013 14:12, Inki Dae wrote: > 2013/3/1 Vikas Sajjan : >> Add support for parsing the display-timing node using video helper >> function. >> >> The DT node parsing is done only if 'dev.of_node' >> exists and the NON-DT logic is still mai

[PATCH v10 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Vikas Sajjan
Hi All, On Fri, Mar 1, 2013 at 11:04 AM, Vikas Sajjan wrote: > Adds support for pinctrl to drm fimd > > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Vikas Sajjan > --- > drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 + > 1 file changed, 9 insertion

[PATCH v9 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Vikas Sajjan
Hi Linus, On Fri, Mar 1, 2013 at 2:49 PM, Linus Walleij wrote: > On Thu, Feb 28, 2013 at 5:12 AM, Vikas Sajjan > wrote: > >> Adds support for pinctrl to drm fimd >> >> Signed-off-by: Leela Krishna Amudala >> Signed-off-by: Vikas Sajjan

[PATCH v10 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Vikas Sajjan
Adds support for pinctrl to drm fimd Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos

[PATCH v10 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-01 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v10 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-01 Thread Vikas Sajjan
nd print messages. changes since v2: - moved 'devm_pinctrl_get_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments

[PATCH v10 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Vikas Sajjan
Adds support for pinctrl to drm fimd Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos

[PATCH v10 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-01 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v10 0/2] Add display-timing node parsing to exynos drm fimd

2013-03-01 Thread Vikas Sajjan
print messages. changes since v2: - moved 'devm_pinctrl_get_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from

Re: [PATCH v10 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Vikas Sajjan
Hi All, On Fri, Mar 1, 2013 at 11:04 AM, Vikas Sajjan wrote: > Adds support for pinctrl to drm fimd > > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Vikas Sajjan > --- > drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 + > 1 file changed, 9 insertion

Re: [PATCH v9 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Vikas Sajjan
Hi Linus, On Fri, Mar 1, 2013 at 2:49 PM, Linus Walleij wrote: > On Thu, Feb 28, 2013 at 5:12 AM, Vikas Sajjan wrote: > >> Adds support for pinctrl to drm fimd >> >> Signed-off-by: Leela Krishna Amudala >> Signed-off-by: Vikas Sajjan &g

[PATCH v9 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-02-28 Thread Vikas Sajjan
Adds support for pinctrl to drm fimd Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos

[PATCH v9 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-02-28 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v9 0/2] Add display-timing node parsing to exynos drm fimd

2013-02-28 Thread Vikas Sajjan
print messages. changes since v2: - moved 'devm_pinctrl_get_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from

[PATCH v8 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-02-28 Thread Vikas Sajjan
On Thu, Feb 28, 2013 at 8:21 AM, Joonyoung Shim wrote: > On 02/28/2013 11:45 AM, Vikas Sajjan wrote: >> >> Hi, >> >> On 28 February 2013 08:07, Joonyoung Shim wrote: >>> >>> On 02/27/2013 08:49 PM, Vikas Sajjan wrote: >>>> >>>&g

[PATCH v8 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-02-28 Thread Vikas Sajjan
Hi, On 28 February 2013 08:07, Joonyoung Shim wrote: > On 02/27/2013 08:49 PM, Vikas Sajjan wrote: >> >> Add support for parsing the display-timing node using video helper >> function. >> >> The DT node parsing and pinctrl selection is done only if 'dev.of_n

[PATCH] drm/exynos: modify the compatible string for exynos fimd

2013-02-28 Thread Vikas Sajjan
Thanks Mr. Shim. On 28 February 2013 08:12, Joonyoung Shim wrote: > On 02/27/2013 07:32 PM, Vikas Sajjan wrote: >> >> modified compatible string for exynos4 fimd as "exynos4210-fimd" and >> exynos5 fimd as "exynos5250-fimd" to stick to the rule that

[PATCH v9 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-02-28 Thread Vikas Sajjan
Adds support for pinctrl to drm fimd Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos

[PATCH v9 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-02-28 Thread Vikas Sajjan
Add support for parsing the display-timing node using video helper function. The DT node parsing is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan Acke

[PATCH v9 0/2] Add display-timing node parsing to exynos drm fimd

2013-02-28 Thread Vikas Sajjan
print messages. changes since v2: - moved 'devm_pinctrl_get_select_default' function call under 'if (pdev->dev.of_node)', this makes NON-DT code unchanged. (reported by: Rahul Sharma ) changes since v1: - addressed comments from

Re: [PATCH v8 1/2] video: drm: exynos: Add display-timing node parsing using video helper function

2013-02-28 Thread Vikas Sajjan
Hi, On 28 February 2013 08:07, Joonyoung Shim wrote: > On 02/27/2013 08:49 PM, Vikas Sajjan wrote: >> >> Add support for parsing the display-timing node using video helper >> function. >> >> The DT node parsing and pinctrl selection is done only if 'dev.of_n

Re: [PATCH] drm/exynos: modify the compatible string for exynos fimd

2013-02-28 Thread Vikas Sajjan
Thanks Mr. Shim. On 28 February 2013 08:12, Joonyoung Shim wrote: > On 02/27/2013 07:32 PM, Vikas Sajjan wrote: >> >> modified compatible string for exynos4 fimd as "exynos4210-fimd" and >> exynos5 fimd as "exynos5250-fimd" to stick to the rule that

  1   2   >