[PATCH v2 10/18] drm/exynos: fimd: support I80 interface

2014-05-29 Thread YoungJun Cho
n the panel would show it well without problem except current fb overwritten issue. But the dpms off case before the panel recovers well, there is no way to resolving pending event. Thank you. Best regards YJ > > Thanks, > -djk > > > > > On Wed, May 21, 2014 at 12:43 P

[PATCH v2 13/18] ARM: dts: s6e3fa0: add DT bindings

2014-05-30 Thread YoungJun Cho
t;>> On Tue, May 27, 2014 at 08:28:52AM +0200, Andrzej Hajda wrote: >>>>>> Hi Thierry, >>>>>> >>>>>> On 05/26/2014 03:41 PM, Thierry Reding wrote: >>>>>>> On Wed, May 21, 2014 at 01:43:05PM +0900, YoungJun Cho wrote: >

[PATCH 0/4] drm/exynos: support Exynos4415 SoC

2014-11-07 Thread YoungJun Cho
t;[1]. [1] http://www.spinics.net/lists/dri-devel/msg71092.html YoungJun Cho (4): drm/exynos: dsi: support Exynos4415 SoC drm/exynos: fimd: support Exynos4415 SoC ARM: dts: add fimd device node to exynos4415.dtsi ARM: dts: add mipi dsi device node to exynos4415.dtsi .../devicetree/bind

[PATCH 1/4] drm/exynos: dsi: support Exynos4415 SoC

2014-11-07 Thread YoungJun Cho
This patch supports Exynos4415 SoC. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- Documentation/devicetree/bindings/video/exynos_dsim.txt | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 +++ 2 files changed, 8 insertions(+) diff --git a/Documentation

[PATCH 2/4] drm/exynos: fimd: support Exynos4415 SoC

2014-11-07 Thread YoungJun Cho
This patch supports Exynos4415 SoC. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- Documentation/devicetree/bindings/video/samsung-fimd.txt | 1 + drivers/gpu/drm/exynos/exynos_drm_fimd.c | 11 +++ 2 files changed, 12 insertions(+) diff --git a/Documentation

[PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi

2014-11-07 Thread YoungJun Cho
This patch adds fimd device node to exynos4415.dtsi. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos4415.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi index c1c9b37

[PATCH 4/4] ARM: dts: add mipi dsi device node to exynos4415.dtsi

2014-11-07 Thread YoungJun Cho
This patch adds mipi dsi device node to exynos4415.dtsi. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos4415.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi index

[PATCH 3/7] drm/exynos: fimd: modify vclk calculation for I80 i/f

2014-11-13 Thread YoungJun Cho
Hi Inki, On 11/13/2014 06:12 PM, Inki Dae wrote: > On 2014년 10월 01일 15:19, YoungJun Cho wrote: >> The I80 interface uses SYS_WE and SYS_CS to process >> 1 pixel data, so it requires the twice faster clock >> than the pixel clock. >> And the frame done interrupt sh

[PATCH 6/7] drm/exynos: dsi: move TE irq handler registration position

2014-11-14 Thread YoungJun Cho
Hi Inki, On 11/14/2014 10:49 AM, Inki Dae wrote: > On 2014년 10월 01일 15:19, YoungJun Cho wrote: >> The drm_helper_hpd_irq_event() does dpms control and panel is >> initialized and displayed on by it. >> So should register TE irq handler(exynos_dsi_te_irq_handler()) &g

[PATCH 2/2] drm/exynos: use irq_flags instead of triggering

2014-11-14 Thread YoungJun Cho
Hi JoonYoung, On 11/14/2014 11:36 AM, Joonyoung Shim wrote: > The drm_handle_vblank should be called whenever be vsync, te interrupt > means vsync on i80 interface. That's right. > > Signed-off-by: Joonyoung Shim > --- > Based on lastest exynos-drm-next branch and patch

[PATCH 2/2] drm/exynos: use irq_flags instead of triggering

2014-11-14 Thread YoungJun Cho
Hi JoonYoung, On 11/14/2014 02:12 PM, Joonyoung Shim wrote: > Hi, > > On 11/14/2014 02:01 PM, YoungJun Cho wrote: >> Hi JoonYoung, >> >> On 11/14/2014 11:36 AM, Joonyoung Shim wrote: >>> The drm_handle_vblank should be called whenever be vsync, te interr

[PATCH 5/7] drm/exynos: fimd: modify I80 i/f interrupt relevant routine

2014-11-16 Thread YoungJun Cho
Hi Inki, On 11/14/2014 10:36 AM, Inki Dae wrote: > On 2014년 10월 01일 15:19, YoungJun Cho wrote: >> For the I80 interface, the video interrupt pending register(VIDINTCON1) >> should be handled in fimd_irq_handler() and the video interrupt control >> register(VIDINTCON0)

[PATCH 4/9] drm/exynos: fimd: add fimd_enable_shadow_channel_path() to cleanup

2014-11-17 Thread YoungJun Cho
This function is valid only the SoC has SHADOWCON register and it should be used together with fimd_enable_video_output() to match the ENWIN_F bit in WINCON# and C#_EN_F bit in SHADOWCON. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos

[PATCH v2 0/9] drm/exynos: modify LCD I80 interface display

2014-11-17 Thread YoungJun Cho
xynos: use irq_flags instead of triggering YoungJun Cho (7): drm/exynos: fimd: move shadow unprotection position drm/exynos: fimd: add fimd_enable_video_output() to cleanup drm/exynos: fimd: add fimd_enable_shadow_channel_path() to cleanup drm/exynos: fimd: modify I80 i/f irq relevant routine

[PATCH 1/9] drm/exynos: move triggering checking

2014-11-17 Thread YoungJun Cho
From: Joonyoung Shim It's better to be checking whether triggerring in fimd_trigger function. Also it will return if in triggerring on fimd_te_handler, then it can't execute remain codes. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 14 +++--- 1 file cha

[PATCH 2/9] drm/exynos: fimd: move shadow unprotection position

2014-11-17 Thread YoungJun Cho
The C#_EN_F in SHADOWCON register is updated per frame. So it should be protected by fimd_shadow_protect_win(). Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 3/9] drm/exynos: fimd: add fimd_enable_video_output() to cleanup

2014-11-17 Thread YoungJun Cho
This bit is used for video output and logic signal control. So it is better for readability. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions

[PATCH 5/9] drm/exynos: fimd: modify I80 i/f irq relevant routine

2014-11-17 Thread YoungJun Cho
into proper positions. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 53 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers

[PATCH 6/9] drm/exynos: fimd: add triggering unset routine in fimd_trigger()

2014-11-17 Thread YoungJun Cho
There is a case like set config which requires triggering but vblank is not enabled yet. So triggering unset routine is required to exit from triggering mode. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 7 +++ 1

[PATCH 7/9] drm/exynos: use irq_flags instead of triggering

2014-11-17 Thread YoungJun Cho
From: Joonyoung Shim The drm_handle_vblank should be called whenever be vsync, te interrupt means vsync on i80 interface. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/ex

[PATCH 8/9] drm/exynos: dsi: move TE irq handler registration position

2014-11-17 Thread YoungJun Cho
The drm_helper_hpd_irq_event() does dpms control and the panel is initialized and displayed on by it. So the exynos_dsi_te_irq_handler() should be registered beforehand. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 6

[PATCH 9/9] drm/exynos: dsi: set TE GPIO IRQ status as IRQ_NOAUTOEN

2014-11-17 Thread YoungJun Cho
The exynos_dsi_te_irq_handler() works only dsi(DPMS) is on. So it is enough to enable and disable TE GPIO IRQ in exynos_dsi_enable(disable)_irq() like DSI IRQ. Signed-off-by: YoungJun Cho Acked-by: Inki Dae a Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 13

[RFC PATCH v2] drm/exynos: make non kms drivers to be indenpendent modules

2014-11-19 Thread YoungJun Cho
Hi Inki, There are 3 comments below. On 11/19/2014 12:19 PM, Inki Dae wrote: > This patch makes non kms drivers to be independent modules. > For this, it removes all register codes to non kms drivers > from exynos_drm_drv module and adds module_init/exit > for each non kms driver so that each non

[PATCH 1/7] drm/exynos: fimd: remove unnecessary waiting vblank routine

2014-10-01 Thread YoungJun Cho
nd vblank is already off when it is called. So addtional waiting vblank is not necessary any more. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_d

[PATCH 5/7] drm/exynos: fimd: modify I80 i/f interrupt relevant routine

2014-10-01 Thread YoungJun Cho
into proper positions. And adds triggering unset routine in fimd_trigger() to exit from it because there is a case like set config which requires triggering but vblank is not enabled. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos

[PATCH 2/7] drm/exynos: fimd: add fimd_channel_win() to clean up code

2014-10-01 Thread YoungJun Cho
The ENWIN_F in WINCON# register and C#_EN_Fs in SHADOWCON register should be always matched together, so adds fimd_channel_win() to clean up code. And this fimd_channel_win() should be called before unprotecting window in fimd_win_commit(). Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked

[PATCH 0/7] drm/exynos: modify LCD I80 interface display

2014-10-01 Thread YoungJun Cho
information. Patch 5 arranges I80 interface interrupt configuration like RGB interface. Patches 6 and 7 prevent showing the command mode panel garbage GRAM screen data. I welcome any comments. Thank you. Best regards YJ YoungJun Cho (7): drm/exynos: fimd: remove unnecessary waiting vblank routine

[PATCH 4/7] drm/exynos: fimd: move handle vblank position in TE handler

2014-10-01 Thread YoungJun Cho
For providing VBLANK information, drm_handle_vblank() should be called properly, but it is blocked by wait_vsync_event condition which is set by manager_ops->wait_for_vblank(). So moves it out from wait_vsync_event routine. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin P

[PATCH 3/7] drm/exynos: fimd: modify vclk calculation for I80 i/f

2014-10-01 Thread YoungJun Cho
The I80 interface uses SYS_WE and SYS_CS to process 1 pixel data, so it requires the twice faster clock than the pixel clock. And the frame done interrupt should occurr prior to the next TE signal, H/W guy recommends to use as 1.73 times faster clock frequency. Signed-off-by: YoungJun Cho Acked

[PATCH 7/7] drm/exynos: dsi: move DSIM_STATE_ENABLED set position

2014-10-01 Thread YoungJun Cho
lay on command. And moves the display on command execution routine from prepare() to enable() in drm_panel_funcs also. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) d

[PATCH 6/7] drm/exynos: dsi: move TE irq handler registration position

2014-10-01 Thread YoungJun Cho
The drm_helper_hpd_irq_event() does dpms control and panel is initialized and displayed on by it. So should register TE irq handler(exynos_dsi_te_irq_handler()) beforehand. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 19

Re: [bug report] drm/prime: replace NULL with error value in drm_prime_pages_to_sg

2018-06-14 Thread YoungJun Cho
regards YJ On Thu, 14 Jun 2018, 23:42 Dan Carpenter, wrote: > Hello YoungJun Cho, > > The patch 7e3d88f9cce3: "drm/prime: replace NULL with error value in > drm_prime_pages_to_sg" from Jun 24, 2013, leads to the following > static checker warning: > >

RE: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread YoungJun Cho
esktop.org; > > kyungmin.p...@samsung.com; sw0312@samsung.com; 'YoungJun Cho' > > Subject: Re: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue > > > > On 03/13/2013 07:53 PM, Inki Dae wrote: > > >> -Original Message- > > &g

Re: [PATCH 0/7] Consider G2D hardware restrictions.

2013-03-18 Thread YoungJun Cho
id or not according to G2D hardware restrictions. For now, > > G2D driver wasn't considered for them properly. > > > > For this, this patch set includes relevant code cleaups, fixups > > and adds a new function to get buffer size to the gem to be > > accessed by

Re: [PATCH 0/7] Consider G2D hardware restrictions.

2013-03-18 Thread YoungJun Cho
On Mar 19, 2013 9:55 AM, "Rob Clark" wrote: > > On Mon, Mar 18, 2013 at 8:00 PM, YoungJun Cho wrote: > > > > On Mar 19, 2013 3:01 AM, "Rob Clark" wrote: > >> > >> Btw, what is the hw response to invalid input (ie. bottom>top, invalid

Re: [PATCH] drm/gem: add mutex lock when using drm_gem_mmap_obj

2013-06-26 Thread YoungJun Cho
On Jun 26, 2013 4:13 PM, "Maarten Lankhorst" < maarten.lankho...@canonical.com> wrote: > > Op 26-06-13 04:14, Seung-Woo Kim schreef: > > From: YoungJun Cho > > > > The drm_gem_mmap_obj() has to be protected with dev->struct_mutex, > > but some

Re: [PATCH] drm/gem: fix not to assign error value to gem name

2013-06-26 Thread YoungJun Cho
On Jun 26, 2013 5:56 PM, "Chris Wilson" wrote: > > On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote: > > From: YoungJun Cho > > > > If idr_alloc() is failed, obj->name can be error value. Also > > it cleans up duplicated flink processin

Re: [PATCH v2 3/3] drm: fix error routines in drm_open_helper

2013-07-01 Thread YoungJun Cho
Hello Chris, On Jul 1, 2013 8:53 PM, "Chris Wilson" wrote: > > On Mon, Jul 01, 2013 at 08:14:42PM +0900, Seung-Woo Kim wrote: > > Hello Chris, > > > > On 2013년 07월 01일 19:57, Chris Wilson wrote: > > > On Mon, Jul 01, 2013 at 07:49:10PM +0900, Seung-Woo Kim wrote: > > >> + > > >> +out_close: > > >

Re: [PATCH] drm/prime: fix up handle_to_fd ioctl return value

2013-07-02 Thread YoungJun Cho
Dear Daniel, On Jul 2, 2013 4:19 PM, "Daniel Vetter" wrote: > > In > > commit da34242e5e0638312130f5bd5d2d277afbc6f806 > Author: YoungJun Cho > Date: Wed Jun 26 10:21:42 2013 +0900 > > drm/prime: add return check for dma_buf_fd > > the failure cas

Re: [PATCH] drm/prime: fix up handle_to_fd ioctl return value

2013-07-02 Thread YoungJun Cho
Dear Daniel, On Jul 2, 2013 5:14 PM, "Daniel Vetter" wrote: > > On Tue, Jul 02, 2013 at 04:55:16PM +0900, YoungJun Cho wrote: > > Dear Daniel, > > > > On Jul 2, 2013 4:19 PM, "Daniel Vetter" wrote: > > > > > > In > > > >

Re: [PATCH] drm/exynos: fix pages allocation in lowlevel_buffer_allocate

2013-07-02 Thread YoungJun Cho
Dear Ville On Jul 2, 2013 8:42 PM, "Ville Syrjälä" wrote: > > On Tue, Jul 02, 2013 at 07:59:22PM +0900, Seung-Woo Kim wrote: > > From: YoungJun Cho > > > > When drm iommu is not supported, buf->pages has to be allocated > > and assigned to phys_

Re: [PATCH] drm/exynos: fix pages allocation in lowlevel_buffer_allocate

2013-07-02 Thread YoungJun Cho
Dear Mr.Dae, On Jul 2, 2013 9:42 PM, "Inki Dae" wrote: > > 2013/7/2 YoungJun Cho : > > Dear Ville > > > > On Jul 2, 2013 8:42 PM, "Ville Syrjälä" > > wrote: > >> > >> On Tue, Jul 02, 2013 at 07:59:22PM +0900, Seung-Woo Kim w

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

2014-05-07 Thread YoungJun Cho
Hi Andrzej, Thank you for comments. On 05/05/2014 08:27 PM, Andrzej Hajda wrote: > On 04/27/2014 03:50 AM, 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

[RFC v3 PATCH v6 11/16] ARM: dts: s6e3fa0: add DT bindings

2014-05-07 Thread YoungJun Cho
Hi Andrzej Thank you for comments. On 05/05/2014 07:35 PM, Andrzej Hajda wrote: > On 04/27/2014 03:50 AM, YoungJun Cho wrote: >> This patch adds DT bindings for s6e3fa0 panel. >> The bindings describes panel resources, display timings and cpu mode timings. >> >> C

[RFC v4 PATCH 00/18] drm/exynos: support MIPI DSI command mode display

2014-05-07 Thread YoungJun Cho
YoungJun Cho (18): drm/exynos: dsi: move the EoT packets configuration point drm/exynos: use wait_event_timeout() for safety usage ARM: dts: video: add command mode display timing DT bindings video: add command mode and command mode display timing drm_modes: add command mode helpers ARM: dts

[RFC v4 PATCH 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-07 Thread YoungJun Cho
There could be the case that the page flip operation isn't finished correctly with some abnormal condition such as panel reset. So this patch replaces wait_event() with wait_event_timeout() to avoid waiting for page flip completion infinitely. Signed-off-by: YoungJun Cho Acked-by: Ink

[RFC v4 PATCH 01/18] drm/exynos: dsi: move the EoT packets configuration point

2014-05-07 Thread YoungJun Cho
This configuration could be used in MIPI DSI command mode also. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos

[RFC v4 PATCH v2 06/18] ARM: dts: sysreg: add exynos5 compatible to DT bindings

2014-05-07 Thread YoungJun Cho
This patch adds relevant to exynos5 compatible for exynos5 SoCs. Changelog v2: - Changes title and description (commented by Sachin Kamat) Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/arm/samsung/sysreg.txt |1 + 1 file changed, 1

[RFC v4 PATCH 09/18] drm/exynos: dsi: add TE handler to support command mode interface

2014-05-07 Thread YoungJun Cho
To support command mode interface, the DSI host calls this handler to notify the panel tearing effect synchronization signal to the CRTC device manager to trigger to transfer video image. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos

[RFC v4 PATCH v3 07/18] ARM: dts: samsung-fimd: add I80 specific properties

2014-05-07 Thread YoungJun Cho
commented by Laurent Pinchart, Andrzej Hajda) Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/video/samsung-fimd.txt |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation

[RFC v4 PATCH 04/18] video: add command mode and command mode display timing

2014-05-07 Thread YoungJun Cho
, cmdmode_display_timing struct and the according helper functions to convert cmdmode_display_timing to a generic cmdmode. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/video/Kconfig |3 + drivers/video/Makefile|2

[RFC v4 PATCH 17/18] ARM: dts: exynos5420: add mipi-phy node

2014-05-07 Thread YoungJun Cho
This patch adds mipi-phy node for MIPI-DSI device. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi

[RFC v4 PATCH 03/18] ARM: dts: video: add command mode display timing DT bindings

2014-05-07 Thread YoungJun Cho
This patch adds DT bindings for command mode display timing. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../bindings/video/cmdmode-display-timing.txt | 64 1 file changed, 64 insertions(+) create mode 100644 Documentation

[RFC v4 PATCH v2 11/18] ARM: dts: exynos_dsim: add exynos5420 compatible to DT bindings

2014-05-07 Thread YoungJun Cho
This patch adds relevant to exynos5420 compatible for exynos5420 SoC support. Changelog v2: - Changes title, description and fixes typo (commented by Sachin Kamat) Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/video/exynos_dsim.txt

[RFC v4 PATCH v2 18/18] ARM: dts: exynos5420: add dsi node

2014-05-07 Thread YoungJun Cho
This patch adds common part of dsi node. Changelog v2: - Uses clock macros instead of numbers (commented by Sachin Kamat) Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi | 15 +++ 1 file changed, 15 insertions

[RFC v4 PATCH v3 10/18] drm/exynos: fimd: support I80 interface

2014-05-07 Thread YoungJun Cho
by Sachin) Changelog v3: - Removes using mode->private routine Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/Kconfig |1 + drivers/gpu/drm/exynos/exynos_drm_fimd.c | 277 +- include/video/s

[RFC v4 PATCH 16/18] ARM: dts: exynos5: add system register support

2014-05-07 Thread YoungJun Cho
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 Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm

[RFC v4 PATCH 15/18] ARM: dts: exynos4: add system register node

2014-05-07 Thread YoungJun Cho
This patch adds sysreg property to fimd device node which is required to use I80 interface. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch

[RFC v4 PATCH v5 14/18] drm/panel: add S6E3FA0 driver

2014-05-07 Thread YoungJun Cho
: - Enhances readability, vddm readi failure case and removes duplicated power off (commented by Andrzej Hajda) Changelog v5: - Uses command mode helper functions instead of videomode one Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/panel/Kconfig

[RFC v4 PATCH 05/18] drm_modes: add command mode helpers

2014-05-07 Thread YoungJun Cho
This patch adds helper functions to convert cmdmode to drm_display_mode Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/drm_modes.c | 59 +++ include/drm/drm_modes.h | 12 + 2 files changed, 71

[RFC v4 PATCH v7 13/18] ARM: dts: s6e3fa0: add DT bindings

2014-05-07 Thread YoungJun Cho
properties relevant things (commented by Laurent Pinchart, Andrzej Hajda) Changelog v7: - Uses cmdmode-display-timings only Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/panel/samsung,s6e3fa0.txt | 45 1 file changed

[RFC v4 PATCH 08/18] drm/exynos: add TE handler to support MIPI DSI command mode interface

2014-05-07 Thread YoungJun Cho
chains to notify it to the display controller. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 11 +++ drivers/gpu/drm/exynos/exynos_drm_crtc.h |7 +++ drivers/gpu/drm/exynos/exynos_drm_drv.h |3 +++ include

[RFC v4 PATCH v3 12/18] drm/exynos: dsi: add driver data to support Exynos5420

2014-05-07 Thread YoungJun Cho
v2: - Moves exynos_dsi_enable_clocks() after exynos_dsi_reset() (commented by Andrzej Hajda) - Splits D-PHY control setting routines from PLL setting one (commented by Andrzej Hajda) Changelog v3: - Uses macro for DSIM_PHYCTRL register (commented by Sachin) Signed-off-by: YoungJun Cho Acked-by

[RFC v3 PATCH v6 11/16] ARM: dts: s6e3fa0: add DT bindings

2014-05-08 Thread YoungJun Cho
Hi Laurent, Thank you for comments. On 05/08/2014 01:00 AM, Laurent Pinchart wrote: > On Wednesday 07 May 2014 10:05:46 YoungJun Cho wrote: >> Hi Andrzej >> >> Thank you for comments. >> >> On 05/05/2014 07:35 PM, Andrzej Hajda wrote: >>> On 04/27/20

[PATCH 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-14 Thread YoungJun Cho
There could be the case that the page flip operation isn't finished correctly with some abnormal condition such as panel reset. So this patch replaces wait_event() with wait_event_timeout() to avoid waiting for page flip completion infinitely. Signed-off-by: YoungJun Cho Acked-by: Ink

[PATCH 01/18] drm/exynos: dsi: move the EoT packets configuration point

2014-05-14 Thread YoungJun Cho
This configuration could be used in MIPI DSI command mode also. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos

[PATCH 03/18] ARM: dts: video: add command mode display timing DT bindings

2014-05-14 Thread YoungJun Cho
This patch adds DT bindings for command mode display timing. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../bindings/video/cmdmode-display-timing.txt | 64 1 file changed, 64 insertions(+) create mode 100644 Documentation

[PATCH 08/18] drm/exynos: add TE handler to support MIPI DSI command mode interface

2014-05-14 Thread YoungJun Cho
chains to notify it to the display controller. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 11 +++ drivers/gpu/drm/exynos/exynos_drm_crtc.h |7 +++ drivers/gpu/drm/exynos/exynos_drm_drv.h |3 +++ include

[PATCH 11/18] ARM: dts: exynos_dsim: add exynos5420 compatible to DT bindings

2014-05-14 Thread YoungJun Cho
This patch adds relevant to exynos5420 compatible for exynos5420 SoC support. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/video/exynos_dsim.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation

[PATCH 06/18] ARM: dts: sysreg: add exynos5 compatible to DT bindings

2014-05-14 Thread YoungJun Cho
This patch adds relevant to exynos5 compatible for exynos5 SoCs. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/arm/samsung/sysreg.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/samsung

[PATCH 12/18] drm/exynos: dsi: add driver data to support Exynos5420

2014-05-14 Thread YoungJun Cho
-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 157 ++- 1 file changed, 135 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c

[PATCH 15/18] ARM: dts: exynos4: add system register node

2014-05-14 Thread YoungJun Cho
This patch adds sysreg property to fimd device node which is required to use I80 interface. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch

[PATCH 14/18] drm/panel: add S6E3FA0 driver

2014-05-14 Thread YoungJun Cho
This patch adds MIPI-DSI command mode based S6E3FA0 AMOLED LCD Panel driver. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/panel/Kconfig |7 + drivers/gpu/drm/panel/Makefile|1 + drivers/gpu/drm/panel/panel-s6e3fa0.c | 570

[PATCH 00/18] drm/exynos: support MIPI DSI command mode display

2014-05-14 Thread YoungJun Cho
gards YJ YoungJun Cho (18): drm/exynos: dsi: move the EoT packets configuration point drm/exynos: use wait_event_timeout() for safety usage ARM: dts: video: add command mode display timing DT bindings video: add command mode and command mode display timing drm_modes: add command mode he

[PATCH 18/18] ARM: dts: exynos5420: add dsi node

2014-05-14 Thread YoungJun Cho
This patch adds common part of dsi node. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi

[PATCH 04/18] video: add command mode and command mode display timing

2014-05-14 Thread YoungJun Cho
, cmdmode_display_timing struct and the according helper functions to convert cmdmode_display_timing to a generic cmdmode. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/video/Kconfig |3 + drivers/video/Makefile|2

[PATCH 05/18] drm_modes: add command mode helpers

2014-05-14 Thread YoungJun Cho
This patch adds helper functions to convert cmdmode to drm_display_mode Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/drm_modes.c | 59 +++ include/drm/drm_modes.h | 12 + 2 files changed, 71

[PATCH 10/18] drm/exynos: fimd: support I80 interface

2014-05-14 Thread YoungJun Cho
implements TE handler to call trigger function. - Sets command mode timings configuration. - Sets ideal(pixel) clock is 2 times faster than the original one to generate frame done IRQ prior to the next TE signal. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drive

[PATCH 13/18] ARM: dts: s6e3fa0: add DT bindings

2014-05-14 Thread YoungJun Cho
This patch adds DT bindings for s6e3fa0 panel. The bindings describes panel resources, display timings and cpu mode timings. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/panel/samsung,s6e3fa0.txt | 45 1 file

[PATCH 07/18] ARM: dts: samsung-fimd: add I80 specific properties

2014-05-14 Thread YoungJun Cho
In case of using MIPI command mode interface panel, the relevant registers should be set. So this patch adds relevant DT bindings. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/video/samsung-fimd.txt |2 ++ 1 file changed, 2

[PATCH 16/18] ARM: dts: exynos5: add system register support

2014-05-14 Thread YoungJun Cho
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 Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm

[PATCH 17/18] ARM: dts: exynos5420: add mipi-phy node

2014-05-14 Thread YoungJun Cho
This patch adds mipi-phy node for MIPI-DSI device. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi

[PATCH 09/18] drm/exynos: dsi: add TE handler to support command mode interface

2014-05-14 Thread YoungJun Cho
To support command mode interface, the DSI host calls this handler to notify the panel tearing effect synchronization signal to the CRTC device manager to trigger to transfer video image. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos

[RFC v2 PATCH 02/14] drm/exynos: dsi: delay setting clocks after reset

2014-04-23 Thread YoungJun Cho
Hi Andrzej Thank you for comments. On 04/22/2014 09:15 PM, Andrzej Hajda wrote: > Hi YoungJun, > > On 04/21/2014 02:28 PM, YoungJun Cho wrote: >> Some phy control registers are not kept after software reset. >> So this patch makes the clocks containing phy control to be

[RFC v2 PATCH v2 06/14] drm/exynos: support MIPI DSI command mode

2014-04-23 Thread YoungJun Cho
Hi Thierry Thank you for the comments. On 04/22/2014 04:34 PM, Thierry Reding wrote: > On Mon, Apr 21, 2014 at 09:28:33PM +0900, YoungJun Cho wrote: > [...] >> diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h >> index 7209df1..244d197 100644 &g

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

2014-04-23 Thread YoungJun Cho
Hi Andrzej Thank you for comment. On 04/22/2014 11:02 PM, Andrzej Hajda wrote: > On 04/21/2014 02:28 PM, YoungJun Cho wrote: >> This patch adds DT bindings for s6e3fa0 panel. >> The bindings describes panel resources, display timings and cpu timings. >> >> Changelog

[RFC v2 PATCH 02/14] drm/exynos: dsi: delay setting clocks after reset

2014-04-23 Thread YoungJun Cho
Hi again Andrzej, On 04/23/2014 10:01 AM, YoungJun Cho wrote: > Hi Andrzej > > Thank you for comments. > > On 04/22/2014 09:15 PM, Andrzej Hajda wrote: >> Hi YoungJun, >> >> On 04/21/2014 02:28 PM, YoungJun Cho wrote: >>> Some phy control registers are

[RFC v2 PATCH 02/14] drm/exynos: dsi: delay setting clocks after reset

2014-04-24 Thread YoungJun Cho
Hi Andrzej, Thank you for the comments. On 04/23/2014 04:37 PM, Andrzej Hajda wrote: > On 04/23/2014 05:45 AM, YoungJun Cho wrote: >> Hi again Andrzej, >> >> On 04/23/2014 10:01 AM, YoungJun Cho wrote: >>> Hi Andrzej >>> >>> Thank you for comment

[RFC v2 PATCH 08/14] drm/exynos: dsi: add driver data to support Exynos5420

2014-04-24 Thread YoungJun Cho
Hi Andrzej, Thank you for comments. On 04/23/2014 05:29 PM, Andrzej Hajda wrote: > On 04/21/2014 02:28 PM, 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

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

2014-04-24 Thread YoungJun Cho
Hi Andrzej, Thank you for comments. On 04/23/2014 06:02 PM, Andrzej Hajda wrote: > On 04/21/2014 02:28 PM, YoungJun Cho wrote: >> This patch adds DT bindings for s6e3fa0 panel. >> The bindings describes panel resources, display timings and cpu timings. >> >> Changelog

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

2014-04-24 Thread YoungJun Cho
Hi Laurent, Thank you for comments. On 04/23/2014 08:34 PM, Laurent Pinchart wrote: > Hi Andrzej, > > On Wednesday 23 April 2014 11:02:21 Andrzej Hajda wrote: >> On 04/21/2014 02:28 PM, YoungJun Cho wrote: >>> This patch adds DT bindings for s6e3fa0 panel. >>

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

2014-04-24 Thread YoungJun Cho
23 April 2014 11:02:21 Andrzej Hajda wrote: >>>>> On 04/21/2014 02:28 PM, YoungJun Cho wrote: >>>>>> This patch adds DT bindings for s6e3fa0 panel. >>>>>> The bindings describes panel resources, display timings and cpu timings. >>&

[RFC v2 PATCH v3 10/14] drm/panel: add S6E3FA0 driver

2014-04-24 Thread YoungJun Cho
Hi Andrzej, Thank you for kind comments. On 04/23/2014 07:16 PM, Andrzej Hajda wrote: > Hi YoungJun, > > > On 04/21/2014 02:28 PM, YoungJun Cho wrote: >> This patch adds MIPI-DSI command mode based S6E3FA0 AMOLED LCD Panel driver. >> >> Changelog v2: >> - Decl

[RFC v3 PATCH 02/16] drm/exynos: use wait_event_timeout() for safety usage

2014-04-27 Thread YoungJun Cho
There could be the case that the page flip operation isn't finished correctly with some abnormal condition such as panel reset. So this patch replaces wait_event() with wait_event_timeout() to avoid waiting for page flip completion infinitely. Signed-off-by: YoungJun Cho Acked-by: Ink

[RFC v3 PATCH 07/16] drm/exynos: dsi: add TE handler to support command mode interface

2014-04-27 Thread YoungJun Cho
To support command mode interface, the DSI host calls this handler to notify the panel tearing effect synchronization signal to the CRTC device manager to trigger to transfer video image. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- drivers/gpu/drm/exynos

[RFC v3 PATCH v2 03/16] ARM: dts: sysreg: add exynos5 compatible to DT bindings

2014-04-27 Thread YoungJun Cho
This patch adds relevant to exynos5 compatible for exynos5 SoCs. Changelog v2: - Changes title and description (commented by Sachin Kamat) Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- .../devicetree/bindings/arm/samsung/sysreg.txt |1 + 1 file changed, 1

[RFC v3 PATCH 05/16] drm/panel: add CPU mode timings structure

2014-04-27 Thread YoungJun Cho
To support MIPI DSI command mode interface, the display controller requires the CPU mode timings which is the panel specific data. Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- include/drm/drm_panel.h | 18 ++ 1 file changed, 18 insertions

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

2014-04-27 Thread YoungJun Cho
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 Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm

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

2014-04-27 Thread YoungJun Cho
This patch adds common part of dsi node. Changelog v2: - Uses clock macros instead of numbers (commented by Sachin Kamat) Signed-off-by: YoungJun Cho Acked-by: Inki Dae Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi | 15 +++ 1 file changed, 15 insertions

[RFC v3 PATCH 00/16] drm/exynos: support MIPI DSI command mode display

2014-04-27 Thread YoungJun Cho
. - Enhances panel code readability. Thank you. Best regards YJ YoungJun Cho (16): drm/exynos: dsi: move the Eot packets configuration point drm/exynos: use wait_event_timeout() for safety usage ARM: dts: sysreg: add exynos5 compatible to DT bindings ARM: dts: samsung-fimd: add I80 specific

<    1   2   3   >