[v4] drm/panel: add s6e3ha2 AMOLED panel driver

2015-05-29 Thread Hyungwon Hwang
This patch adds MIPI-DSI based S6E3HA2 panel driver. This panel has 1440x2560 resolution in 5.7-inch physical panel. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Cc: Inki Dae --- As Thierry Reding said in https://patchwork.kernel.org/patch/5714111/, it can be confusing to check the

[PATCH 06/13] tests/exynos: add fimg2d event test

2015-11-02 Thread Hyungwon Hwang
On Fri, 30 Oct 2015 12:16:47 +0100 Tobias Jakobi wrote: > Hello Hyungwon, > > first of all thanks for reviewing the series! > > > > Hyungwon Hwang wrote: > > On Tue, 22 Sep 2015 17:54:55 +0200 > > Tobias Jakobi wrote: > > > >> This tests as

[PATCH 07/13] tests/exynos: use XRGB8888 for framebuffer

2015-11-02 Thread Hyungwon Hwang
On Fri, 30 Oct 2015 12:17:02 +0100 Tobias Jakobi wrote: > Hello Hyungwon, > > > Hyungwon Hwang wrote: > > On Tue, 22 Sep 2015 17:54:56 +0200 > > Tobias Jakobi wrote: > > > >> This matches the G2D color mode that is used in the entire code. > >&

[PATCH 08/13] exynos: fimg2d: add g2d_set_direction

2015-11-02 Thread Hyungwon Hwang
On Fri, 30 Oct 2015 18:14:23 +0100 Tobias Jakobi wrote: > Tobias Jakobi wrote: > > Hello Hyungwon, > > > > > > Hyungwon Hwang wrote: > >> On Tue, 22 Sep 2015 17:54:57 +0200 > >> Tobias Jakobi wrote: > >> > >>> This allows setti

[PATCH 09/13] exynos/fimg2d: add g2d_move

2015-11-09 Thread Hyungwon Hwang
src buffer and dst buffer being same. If it is possible, I think it would be better way to do that. If it is not, at least chaning the function name is needed. I tested it on my Odroid U3 board. Best regards, Hyungwon Hwang On Tue, 22 Sep 2015 17:54:58 +0200 Tobias Jakobi wrote: > We already h

[PATCH 10/13] tests/exynos: add test for g2d_move

2015-11-09 Thread Hyungwon Hwang
Hello, I think this patch should update .gitignore, not for adding the built binary to untracked file list. But without it, it looks good to me, and I tested it on my Odroid U3 board. Tested-by: Hyungwon Hwang Reviewed-by: Hyungwon Hwang Best regards, Hyungwon Hwang On Tue, 22 Sep 2015 17

[PATCH v4] tests/exynos: add fimg2d performance analysis

2015-11-09 Thread Hyungwon Hwang
regards, Hyungwon Hwang On Mon, 02 Nov 2015 10:52:09 +0100 Tobias Jakobi wrote: > Currently only fast solid color clear performance is measured. > A large buffer is allocated and solid color clear operations > are executed on it with randomly chosen properties (position > and size o

[PATCH v4] tests/exynos: add fimg2d performance analysis

2015-11-10 Thread Hyungwon Hwang
Hello Tobias, On Mon, 09 Nov 2015 10:47:13 +0100 Tobias Jakobi wrote: > Hello Hyungwon, > > > Hyungwon Hwang wrote: > > Hello, > > > > I think this patch should update .gitignore, not for adding the > > built binary to untracked file list. > Thanks! >

[PATCH 09/13] exynos/fimg2d: add g2d_move

2015-11-10 Thread Hyungwon Hwang
Hello Tobias, On Mon, 09 Nov 2015 10:47:02 +0100 Tobias Jakobi wrote: > Hello Hyungwon, > > > Hyungwon Hwang wrote: > > Hello Tobias, > > > > I was in vacation last week, so I could run your code today. I found > > that what g2d_move() does is actually

[PATCH v4] tests/exynos: add fimg2d performance analysis

2015-11-11 Thread Hyungwon Hwang
On Tue, 10 Nov 2015 14:23:51 +0100 Tobias Jakobi wrote: > Hello Hyungwon, > > > Hyungwon Hwang wrote: > > Hello Tobias, > > > > On Mon, 09 Nov 2015 10:47:13 +0100 > > Tobias Jakobi wrote: > > > >> Hello Hyungwon, > >> > >

[PATCH 09/13] exynos/fimg2d: add g2d_move

2015-11-11 Thread Hyungwon Hwang
Hello Tobias, On Tue, 10 Nov 2015 14:24:11 +0100 Tobias Jakobi wrote: > Hello Hyungwon, > > > Hyungwon Hwang wrote: > > Hello Tobias, > > > > On Mon, 09 Nov 2015 10:47:02 +0100 > > Tobias Jakobi wrote: > > > >> Hello Hyungwon, >

[PATCH 2/6] xf86drmMode: separate drmModeAtomicCommit() and drmModeAtomicCleanup()

2015-08-19 Thread Hyungwon Hwang
: Hyungwon Hwang --- xf86drmMode.c | 72 +-- xf86drmMode.h | 1 + 2 files changed, 41 insertions(+), 32 deletions(-) diff --git a/xf86drmMode.c b/xf86drmMode.c index d4ed5c1..82c4c91 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -1303,10

[PATCH 1/6] xf86drmMode: remove the trailing white spaces

2015-08-19 Thread Hyungwon Hwang
This patch removes the trailing white spaces. Signed-off-by: Hyungwon Hwang --- xf86drmMode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xf86drmMode.c b/xf86drmMode.c index fc19504..d4ed5c1 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -879,7 +879,7 @@ int

[PATCH 4/6] modetest: remove the trailing white spaces

2015-08-19 Thread Hyungwon Hwang
This patch removes the trailing white spaces. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 4eb9eac..43bd06f 100644 --- a/tests/modetest/modetest.c

[PATCH 5/6] modetest: add atomic modeset support

2015-08-19 Thread Hyungwon Hwang
This patch adds support for atomic modeset. Using -a option, user can make modeset to use DRM_IOCTL_MODE_ATOMIC instead of legacy IOCTLs. Also, by using -W option, user can set the value of each object's property. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c

[PATCH 6/6] modetest: add atomic page flip support

2015-08-19 Thread Hyungwon Hwang
This patch adds support for atomic page flip. User can specify -W option with the plane id for testing atomic page flipping. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 150 +- 1 file changed, 147 insertions(+), 3 deletions(-) diff

[PATCH 3/6] xf86drmMode: Make atomic request structures visible

2015-08-19 Thread Hyungwon Hwang
This patch makes 'struct _drmModeAtomicReqItem' and 'struct _drmModeAtomicReq' visible from outside. This is needed for userspace applications to use those structures when calling drmModeAtomicCommit(). Signed-off-by: Hyungwon Hwang --- xf86drmMode.c | 14 --

[PATCH 1/2] drm/exynos: implement exynos_crtc_atomic_{begin/flush}

2015-08-20 Thread Hyungwon Hwang
atomic_{begin/flush}. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 7 +++ drivers/gpu/drm/exynos/exynos_drm_drv.h | 6 ++ 2 files changed, 13 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c index

[PATCH 2/2] drm/exynos: implement atomic_{begin/flush} of FIMD and DECON

2015-08-20 Thread Hyungwon Hwang
Each CRTC's atomic_{begin/flush} must stop/start the update of shadow registers to active register in the functions. This patch achieves these purpose by moving the setting of protection bits to those functions from {fimd/decon}_update_plane. Signed-off-by: Hyungwon Hwang --- drivers/gp

[PATCH 2/6] xf86drmMode: separate drmModeAtomicCommit() and drmModeAtomicCleanup()

2015-08-21 Thread Hyungwon Hwang
Hi Emil, On Thu, 20 Aug 2015 17:17:27 +0100 Emil Velikov wrote: > Hi Hyungwon, > > On 19 August 2015 at 01:58, Hyungwon Hwang > wrote: > > This patch seprates the code, which sorts proprty sets and > > eliminates duplicate properties, from drmModeAtomicCommit(). Now

[PATCH 3/6] xf86drmMode: Make atomic request structures visible

2015-08-21 Thread Hyungwon Hwang
Hi Emil, On Thu, 20 Aug 2015 17:23:09 +0100 Emil Velikov wrote: > On 19 August 2015 at 01:58, Hyungwon Hwang > wrote: > > This patch makes 'struct _drmModeAtomicReqItem' and 'struct > > _drmModeAtomicReq' visible from outside. This is needed for &

[PATCH 2/6] xf86drmMode: separate drmModeAtomicCommit() and drmModeAtomicCleanup()

2015-08-21 Thread Hyungwon Hwang
Hi Pekka, On Fri, 21 Aug 2015 09:42:26 +0300 Pekka Paalanen wrote: > On Fri, 21 Aug 2015 13:54:49 +0900 > Hyungwon Hwang wrote: > > > Hi Emil, > > > > On Thu, 20 Aug 2015 17:17:27 +0100 > > Emil Velikov wrote: > > > > > Hi Hyungwon, > &g

[PATCH 3/6] xf86drmMode: Make atomic request structures visible

2015-08-21 Thread Hyungwon Hwang
Dear, On Fri, 21 Aug 2015 09:44:42 +0300 Pekka Paalanen wrote: > On Fri, 21 Aug 2015 15:06:58 +0900 > Hyungwon Hwang wrote: > > > Hi Emil, > > > > On Thu, 20 Aug 2015 17:23:09 +0100 > > Emil Velikov wrote: > > > > > On 19 August 2015 at

[PATCH 3/3] modetest: add atomic page flip support

2015-08-26 Thread Hyungwon Hwang
This patch adds support for atomic page flip. User can specify -V option with the plane id for testing atomic page flipping. --- tests/modetest/modetest.c | 153 -- 1 file changed, 149 insertions(+), 4 deletions(-) diff --git a/tests/modetest/modetest.c

[PATCH 1/3] modetest: introduce get_prop_info() for getting property id and type

2015-08-26 Thread Hyungwon Hwang
. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 43bd06f..b7f6d32 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest

[PATCH 2/3] modetest: add atomic modeset support

2015-08-26 Thread Hyungwon Hwang
This patch adds support for atomic modeset. Using -a option, user can make modeset to use DRM_IOCTL_MODE_ATOMIC instead of legacy IOCTLs. Also, by using -w option, user can set the property as before. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 221

[PATCH] drm/exynos: implement {prepare/cleanup}_plane of DECON

2015-08-27 Thread Hyungwon Hwang
Each CRTC's {prepare/cleanup}_plane must stop/start the update of shadow registers to active register in the functions. This patch achieves these purpose by moving the setting of protection bits to those functions from decon_update_plane. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/e

[PATCH v2] drm/exynos: implement atomic_{begin/flush} of DECON

2015-08-27 Thread Hyungwon Hwang
ff-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 34 +-- drivers/gpu/drm/exynos/exynos7_drm_decon.c| 30 ++- 2 files changed, 51 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/driver

[PATCH 2/2] exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2014-10-31 Thread Hyungwon Hwang
This patch removes the ioctls which are removed from the linux kernel. Signed-off-by: Hyungwon Hwang --- exynos/exynos_drm.h | 40 1 file changed, 40 deletions(-) diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h index c3c6579..256c02f 100644 --- a

[PATCH 1/2] exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2014-10-31 Thread Hyungwon Hwang
The ioctl DRM_EXYNOS_GEM_MAP_OFFSET and DRM_EXYNOS_GEM_MMAP are removed from the linux kernel. This patch modifies libdrm and libkms to use drm generic ioctls instead of the removed ioctls. Signed-off-by: Hyungwon Hwang --- exynos/exynos_drm.c | 24 +--- libkms/exynos.c

[PATCH] drm/exynos: dsi: remove the empty mode_valid callback

2015-04-02 Thread Hyungwon Hwang
Because the helper function which calls this callback checks whether it is registered or not. It is not necessary if it does nothing. So it would be better to remove the function for clarity. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 --- 1 file changed

[PATCH 3/3] modetest: add atomic page flip support

2015-09-23 Thread Hyungwon Hwang
Dear Emil, On Wed, 02 Sep 2015 01:43:41 +0100 Emil Velikov wrote: > On 26 August 2015 at 07:21, Hyungwon Hwang > wrote: > > This patch adds support for atomic page flip. User can specify -V > > option with the plane id for testing atomic page flipping. > > --- > &

[PATCH v3 1/3] modetest: introduce get_prop_info() for getting property id and type

2015-09-23 Thread Hyungwon Hwang
. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 3b01918..08ecf58 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest

[PATCH v3 2/3] modetest: add atomic modeset support

2015-09-23 Thread Hyungwon Hwang
This patch adds support for atomic modeset. Using -a option, user can make modeset to use DRM_IOCTL_MODE_ATOMIC instead of legacy IOCTLs. Also, by using -w option, user can set the property as before. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 273

[PATCH v3 3/3] modetest: add atomic page flip support

2015-09-23 Thread Hyungwon Hwang
This patch adds support for atomic page flip. User can specify -V option with the plane id for testing atomic page flipping. Signed-off-by: Hyungwon Hwang --- tests/modetest/modetest.c | 195 -- 1 file changed, 187 insertions(+), 8 deletions(-) diff

radeon_connector->audio is set by RADEON_AUDIO_DISABLE as default.

2016-04-14 Thread Hyungwon Hwang
river, and can't see the big picture. Can you review this code? Thanks, Hyungwon Hwang diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index cfcc099..cf52ea5 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon

radeon_connector->audio is set by RADEON_AUDIO_DISABLE as default.

2016-04-14 Thread Hyungwon Hwang
2016. 4. 14. 오전 1:12에 "Deucher, Alexander" 님이 작성: > > > -Original Message- > > From: Hyungwon Hwang [mailto:hyungwon.hwang7 at gmail.com] > > Sent: Wednesday, April 13, 2016 11:55 AM > > To: Deucher, Alexander; Koenig, Christian; dri-devel

radeon_connector->audio is set by RADEON_AUDIO_DISABLE as default.

2016-04-14 Thread Hyungwon Hwang
2016. 4. 14. 오전 11:59에 "Hyungwon Hwang" 님이 작성: > > > 2016. 4. 14. 오전 1:12에 "Deucher, Alexander" amd.com>님이 작성: > > > > > > -----Original Message- > > > From: Hyungwon Hwang [mailto:hyungwon.hwang7 a

radeon_connector->audio is set by RADEON_AUDIO_DISABLE as default.

2016-04-14 Thread Hyungwon Hwang
2016년 04월 14일 01:12에 Deucher, Alexander 이(가) 쓴 글: >> -Original Message- >> From: Hyungwon Hwang [mailto:hyungwon.hwang7 at gmail.com] >> Sent: Wednesday, April 13, 2016 11:55 AM >> To: Deucher, Alexander; Koenig, Christian; dri-devel at lists.fr

[PATCH v2 1/3] ARM: dts: add fimd device support for exynos3250-rinato

2014-12-09 Thread Hyungwon Hwang
From: Inki Dae This patch adds fimd device node which is a display controller for Exynos3250 Rinato board. Signed-off-by: Inki Dae Signed-off-by: Hyungwon Hwang Acked-by: Kyungmin Park --- Changes for v2: - None arch/arm/boot/dts/exynos3250-rinato.dts | 11 +++ 1 file changed, 11

[PATCH v2 0/3] add display support for exynos3250 rinato board

2014-12-09 Thread Hyungwon Hwang
This is v2 of the patchset adding support for s6e63j0x03 lcd panel. Inki Dae sent this patchset before. Because of his busy work at company, I modifies some point according to the review by Thierry Reding on behalf of him. This patch series adds Display support for exynos3250 Rinato board. For th

[PATCH v2 3/3] ARM: dts: add Panel device support for exynos3250-rinato

2014-12-09 Thread Hyungwon Hwang
From: Inki Dae This patch adds MIPI-DSI and MIPI-DSI based S6E63J0X03 AMOLED panel device nodes for Exynos3250 Rinato board. Signed-off-by: Inki Dae Signed-off-by: Hyungwon Hwang Acked-by: Kyungmin Park --- Changes for v2: - None arch/arm/boot/dts/exynos3250-rinato.dts | 60

[PATCH v2 2/3] drm/panel: add s6e63j0x03 LCD panel driver

2014-12-09 Thread Hyungwon Hwang
From: Inki Dae This patch adds MIPI-DSI based S6E63J0X03 AMOLED LCD panel driver which uses mipi_dsi bus to communicate with panel. The panel has 320×320 resolution in 1.63-inch physical panel. This panel is used in Samsung Galaxy Gear 2. Signed-off-by: Inki Dae Signed-off-by: Hyungwon Hwang

[PATCH RESEND 1/2] exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2014-12-12 Thread Hyungwon Hwang
The ioctl DRM_EXYNOS_GEM_MAP_OFFSET and DRM_EXYNOS_GEM_MMAP are removed from the linux kernel. This patch modifies libdrm and libkms to use drm generic ioctls instead of the removed ioctls. Signed-off-by: Hyungwon Hwang Signed-off-by: Inki Dae --- exynos/exynos_drm.c | 24

[PATCH RESEND 2/2] exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls

2014-12-12 Thread Hyungwon Hwang
This patch removes the ioctls which are removed from the linux kernel. Signed-off-by: Hyungwon Hwang Signed-off-by: Inki Dae --- exynos/exynos_drm.h | 40 1 file changed, 40 deletions(-) diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h index

[patch] tests/kmstest: support exynos

2014-01-07 Thread Hyungwon Hwang
tests/kmstest: support exynos Add exynos to list of kmstest supported modules. Signed-off-by: Hyungwon Hwang --- libkms/internal.h|2 ++ libkms/linux.c |4 tests/kmstest/main.c |1 + 3 files changed, 7 insertions(+) diff --git a/libkms/internal.h b/libkms/internal.h

[patch] tests/kmstest: support exynos

2014-01-09 Thread Hyungwon Hwang
Hello Rob, On Wed, 08 Jan 2014 11:28:19 -0500 Rob Clark wrote: > On Tue, Jan 7, 2014 at 1:40 AM, Hyungwon Hwang > wrote: > > tests/kmstest: support exynos > > > > Add exynos to list of kmstest supported modules. > > > > Signed-off-by: Hyungwon Hwang >

[PATCH RESEND] tests/kmstest: support exynos

2014-01-10 Thread Hyungwon Hwang
In this patch, to support exynos for KMS, Exynos KMS driver is newly added. Also, Exynos is added to the list of kmstest supported modules. Signed-off-by: Hyungwon Hwang --- libkms/exynos.c | 207 ++ libkms/internal.h|2 + libkms

[PATCH 1/2] drm/exynos: add more condition to check iommu support

2015-03-12 Thread Hyungwon Hwang
-off-by: Hyungwon Hwang Cc: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_iommu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_iommu.h b/drivers/gpu/drm/exynos/exynos_drm_iommu.h index 35d2588..597bf70 100644 --- a/drivers/gpu/drm/exynos

[PATCH 2/2] drm/exynos: fix the initialization order in FIMD

2015-03-12 Thread Hyungwon Hwang
- not syncing: Attempted to kill init! exitcode=0x000b Signed-off-by: Hyungwon Hwang Cc: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd

[PATCH] arm: dts: set panel clock properly for trats2 board

2015-03-12 Thread Hyungwon Hwang
Since commit abc0b1447d4974963548777a5ba4a4457c82c426 ("drm: Perform basic sanity checks on probed modes"), it became mandatory to set the pixel clock of the panel. This patch sets the pixel clock properly. Signed-off-by: Hyungwon Hwang --- arch/arm/boot/dts/exynos4412-trats2.dts | 2

[PATCH] drm/exynos: fix the number of overlay planes

2015-03-12 Thread Hyungwon Hwang
The number of overlay planes is one less than the maximum number of planes, because the one is used for primary plane. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos

[PATCH 0/6] Add drivers for Exynos5433 display

2015-03-12 Thread Hyungwon Hwang
Exynos5433 board, decon(display controller), MIC(Mobile image compressor), mipi dsi, and panel have to be turned on. This patchset contains support for 3 drivers for SoC level devices. Donghwa Lee (1): drm/exynos: dsi: add support for Exynos5433 SoC Hyungwon Hwang (4): of: add helper for

[PATCH 1/6] drm/exynos: add Exynos5433 decon driver

2015-03-12 Thread Hyungwon Hwang
From: Joonyoung Shim DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim Signed-off-by: Hyungwon Hwang --- .../devicetree/bindings/video/exynos-decon.txt | 65 +++ drivers/gpu/drm/exynos

[PATCH 6/6] drm/exynos: dsi: do not set TE GPIO direction by input

2015-03-12 Thread Hyungwon Hwang
On some board, TE GPIO should be configured properly thoughout pinctrl driver as an wakeup interrupt. So this gpio should be configurable in the board's DT, not being requested as a input pin. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 ++-- 1 file chang

[PATCH 5/6] drm/exynos: dsi: add support for MIC driver as a bridge

2015-03-12 Thread Hyungwon Hwang
MIC must be initilized by MIPI DSI when it is being bound. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c

[PATCH 2/6] of: add helper for getting endpoint node of specific identifiers

2015-03-12 Thread Hyungwon Hwang
order of dt nodes to get the right node. Signed-off-by: Hyungwon Hwang Acked-by: Rob Herring --- drivers/of/base.c| 33 + include/linux/of_graph.h | 8 2 files changed, 41 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index

[PATCH 3/6] drm/exynos: mic: add MIC driver

2015-03-12 Thread Hyungwon Hwang
to err; + } + } + + DRM_INFO("MIC has been probed\n"); + +err: + return ret; +} + +static int exynos_mic_remove(struct platform_device *pdev) +{ + struct exynos_mic *mic = platform_get_drvdata(pdev); + int i; + + drm_bridge_remove(&mic->bridge); + + for (i = NUM_CLKS - 1; i > -1; i--) + clk_put(mic->clks[i]); + + return 0; +} + +static const struct of_device_id exynos_mic_of_match[] = { + { .compatible = "samsung,exynos5433-mic" }, + { } +}; + +static struct platform_driver mic_driver = { + .probe = exynos_mic_probe, + .remove = exynos_mic_remove, + .driver = { + .name = "exynos-mic", + .owner = THIS_MODULE, + .of_match_table = exynos_mic_of_match, + }, +}; +module_platform_driver(mic_driver); + +MODULE_AUTHOR("Hyungwon Hwang "); +MODULE_DESCRIPTION("Exynos MIC(Mobile Image Compressor) driver"); +MODULE_LICENSE("GPL v2"); -- 1.9.1

[PATCH 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-12 Thread Hyungwon Hwang
driver data Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang --- .../devicetree/bindings/video/exynos_dsim.txt | 24 +- drivers/gpu/drm/exynos/Kconfig | 2 +- drivers/gpu/drm/exynos/exynos_drm_dsi.c| 431 ++--- 3 files changed, 313

[PATCH v2 2/6] of: add helper for getting endpoint node of specific identifiers

2015-03-18 Thread Hyungwon Hwang
order of dt nodes to get the right node. Signed-off-by: Hyungwon Hwang Acked-by: Rob Herring --- drivers/of/base.c| 33 + include/linux/of_graph.h | 8 2 files changed, 41 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index

[PATCH v2 0/6] Add drivers for Exynos5433 display

2015-03-18 Thread Hyungwon Hwang
the top of the source file removing MODULE_OWNER, MODULE_DESCRIPTION, MODULE_LICENSE - change the author of "drm/exynos: dsi: add support for Exynos5433 SoC" to Hyungwon Hwang by the previous author's will Hyungwon Hwang (5): of: add helper for getting endpoint node of specific id

[PATCH v2 5/6] drm/exynos: dsi: add support for MIC driver as a bridge

2015-03-18 Thread Hyungwon Hwang
MIC must be initilized by MIPI DSI when it is being bound. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c

[PATCH v2 6/6] drm/exynos: dsi: do not set TE GPIO direction by input

2015-03-18 Thread Hyungwon Hwang
On some board, TE GPIO should be configured properly thoughout pinctrl driver as an wakeup interrupt. So this gpio should be configurable in the board's DT, not being requested as a input pin. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 ++-- 1 file chang

[PATCH v2 1/6] drm/exynos: add Exynos5433 decon driver

2015-03-18 Thread Hyungwon Hwang
From: Joonyoung Shim DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim Signed-off-by: Hyungwon Hwang --- Changes for v2: change file names and variable names of decon to represnt exynos5433

[PATCH v2 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-18 Thread Hyungwon Hwang
-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang --- Changes for v2: - change the author of "drm/exynos: dsi: add support for Exynos5433 SoC" to Hyungwon Hwang by the previous author's will .../devicetree/bindings/video/exynos_dsim.txt | 24 +- drivers/gpu/drm

[PATCH v2 3/6] drm/exynos: mic: add MIC driver

2015-03-18 Thread Hyungwon Hwang
_driver mic_driver; #endif diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c new file mode 100644 index 000..b898a2a --- /dev/null +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -0,0 +1,481 @@ +/* + * Copyright (C) 2015 Samsung Electronics C

[PATCH v2 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-19 Thread Hyungwon Hwang
Dear Daniel, On Wed, 18 Mar 2015 09:52:33 + Daniel Stone wrote: > Hi, > > On 18 March 2015 at 08:16, Hyungwon Hwang > wrote: > > +#define REG(dsi, reg) ((dsi)->reg_base + > > dsi->driver_data->regs[(reg)]) > > This seems like a good change in gene

[PATCH v2 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-19 Thread Hyungwon Hwang
Dear Daniel, On Thu, 19 Mar 2015 01:13:21 + Daniel Stone wrote: > Hi Hyungwon, > > On 19 March 2015 at 01:02, Hyungwon Hwang > wrote: > >> > + /* > >> > +* The input PLL clock for MIPI DSI in Exynos5433 seems > >&g

[PATCH v2 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-20 Thread Hyungwon Hwang
Dear Andrej, On Thu, 19 Mar 2015 10:32:10 +0100 Andrzej Hajda wrote: > On 03/19/2015 02:18 AM, Hyungwon Hwang wrote: > > Dear Daniel, > > > > On Thu, 19 Mar 2015 01:13:21 + > > Daniel Stone wrote: > > > >> Hi Hyungwon, > >> > &g

[PATCH v2 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-23 Thread Hyungwon Hwang
Dear Andrej, On Mon, 23 Mar 2015 10:31:58 +0100 Andrzej Hajda wrote: > On 03/20/2015 06:15 AM, Hyungwon Hwang wrote: > > Dear Andrej, > > > > On Thu, 19 Mar 2015 10:32:10 +0100 > > Andrzej Hajda wrote: > > > >> On 03/19/2015 02:18 AM, Hyungwon Hwang wr

[PATCH v2 1/6] drm/exynos: add Exynos5433 decon driver

2015-03-26 Thread Hyungwon Hwang
18 March 2015 at 08:16, Hyungwon Hwang > wrote: > > +static void decon_dpms_on(struct exynos_decon *decon) > > +{ > > + int ret; > > + int i; > > + > > + for (i = 0; i < ARRAY_SIZE(decon_clks_name); i++) { > > + re

[PATCH v2 3/6] drm/exynos: mic: add MIC driver

2015-03-26 Thread Hyungwon Hwang
Dear Inki dae, On Tue, 24 Mar 2015 14:51:31 +0900 Inki Dae wrote: > On 2015년 03월 18일 17:16, Hyungwon Hwang wrote: > > MIC(Mobile image compressor) is newly added IP in Exynos5433. MIC > > resides between decon and mipi dsim, and compresses frame data by > > 50%. With

[PATCH v2 3/6] drm/exynos: mic: add MIC driver

2015-03-26 Thread Hyungwon Hwang
Dear Inki dae, Sorry for the previous mail which is not completed. I typed something and it was the shortcut for maybe. On Tue, 24 Mar 2015 14:51:31 +0900 Inki Dae wrote: > On 2015년 03월 18일 17:16, Hyungwon Hwang wrote: > > MIC(Mobile image compressor) is newly added IP in Exynos

[PATCH v2 4/6] drm/exynos: dsi: add support for Exynos5433 SoC

2015-03-26 Thread Hyungwon Hwang
Dear Daniel, On Wed, 18 Mar 2015 09:52:33 + Daniel Stone wrote: > Hi, > > On 18 March 2015 at 08:16, Hyungwon Hwang > wrote: > > +#define REG(dsi, reg) ((dsi)->reg_base + > > dsi->driver_data->regs[(reg)]) > > This seems like a good change in gene

[PATCH v3 0/8] Add drivers for Exynos5433 display

2015-03-26 Thread Hyungwon Hwang
file removing MODULE_OWNER, MODULE_DESCRIPTION, MODULE_LICENSE - change the author of "drm/exynos: dsi: add support for Exynos5433 SoC" to Hyungwon Hwang by the previous author's will Changes for v3: < Decon > - fail fast when the proper image format is not set - remove unne

[PATCH v3 1/8] drm/exynos: add Exynos5433 decon driver

2015-03-26 Thread Hyungwon Hwang
From: Joonyoung Shim DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim Signed-off-by: Hyungwon Hwang --- Changes for v2: - change file names and variable names of decon to represnt

[PATCH v3 2/8] of: add helper for getting endpoint node of specific identifiers

2015-03-26 Thread Hyungwon Hwang
order of dt nodes to get the right node. Signed-off-by: Hyungwon Hwang Acked-by: Rob Herring --- Changes for v2: - None Changes for v3: - None drivers/of/base.c| 33 + include/linux/of_graph.h | 8 2 files changed, 41 insertions(+) diff

[PATCH v3 4/8] drm/exynos: dsi: rename pll_clk to sclk_clk

2015-03-26 Thread Hyungwon Hwang
This patch renames pll_clk to sclk_clk. The clock referenced by pll_clk is actually not the pll input clock for dsi. The pll input clock comes from the board's oscillator directly. Signed-off-by: Hyungwon Hwang --- Changes for v3: - Newly added .../devicetree/bindings/video/exynos_dsi

[PATCH v3 8/8] drm/exynos: dsi: do not set TE GPIO direction by input

2015-03-26 Thread Hyungwon Hwang
On some board, TE GPIO should be configured properly thoughout pinctrl driver as an wakeup interrupt. So this gpio should be configurable in the board's DT, not being requested as a input pin. Signed-off-by: Hyungwon Hwang --- Changes for v2: - None Changes for v3: - None drivers/gp

[PATCH v3 5/8] drm/exynos: dsi: generalize register setting and clock control

2015-03-26 Thread Hyungwon Hwang
This patch makes the driver use arrays for clocks, register address, and values. By doing this, it becomes easier to add support for another SoC. Signed-off-by: Hyungwon Hwang --- Changes for v3: - Separated from the patch "drm/exynos: dsi: add support for Exynos5433 SoC" in

[PATCH v3 6/8] drm/exynos: dsi: add support for Exynos5433

2015-03-26 Thread Hyungwon Hwang
This patch adds support for Exynos5433 mipi dsi. Signed-off-by: Hyungwon Hwang --- Changes for v2: - change the author of "drm/exynos: dsi: add support for Exynos5433 SoC" to Hyungwon Hwang by the previous author's will Changes for v3: - Separated from the patch "drm/exyn

[PATCH v3 7/8] drm/exynos: dsi: add support for MIC driver as a bridge

2015-03-26 Thread Hyungwon Hwang
MIC must be initilized by MIPI DSI when it is being bound. Signed-off-by: Hyungwon Hwang --- Changes for v2: - None Changes for v3: - None .../devicetree/bindings/video/exynos_dsim.txt | 23 ++--- drivers/gpu/drm/exynos/exynos_drm_dsi.c| 24

[PATCH v3 3/8] drm/exynos: mic: add MIC driver

2015-03-26 Thread Hyungwon Hwang
u/drm/exynos/exynos_drm_mic.c new file mode 100644 index 000..8994eab --- /dev/null +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -0,0 +1,490 @@ +/* + * Copyright (C) 2015 Samsung Electronics Co.Ltd + * Authors: + * Hyungwon Hwang + * + * This program is free software; you can redistribu

[PATCH 2/2] drm/exynos: fix the initialization order in FIMD

2015-04-01 Thread Hyungwon Hwang
Dear Joonyoung Shim, On Tue, 31 Mar 2015 17:05:47 +0900 Joonyoung Shim wrote: > Hi, > > Sorry for late comments. > > On 03/13/2015 07:32 PM, Inki Dae wrote: > > On 2015년 03월 12일 13:36, Hyungwon Hwang wrote: > >> Since commit 0f04cf8df0b20a97369cb63

[PATCH] drm/exynos: fimd: check whether exynos_drm_crtc_create succeed or not

2015-04-01 Thread Hyungwon Hwang
>From the commit "drm/exynos: fix the execution order in FIMD initialization" (598285bfdce46d7c47632a2ba4b980f60be4a677), the error checking code is removed improperly. This patch fix the regression. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |

[PATCH v2 00/13] drm/exynos: async G2D and g2d_move()

2015-11-23 Thread Hyungwon Hwang
Hello Tobias, I reviewed this whole patchset, and it looks good to me. Also I tested it on my odroid u3, and all works fine. Thanks you for your effort. Tested-by: Hyungwon Hwang Reviewed-by: Hyungwon Hwang BRs, Hyungwon Hwang On Sun, 22 Nov 2015 19:48:30 +0100 Tobias Jakobi wrote: > He

[PATCH v2 08/13] exynos: fimg2d: add g2d_set_direction

2015-11-27 Thread Hyungwon Hwang
Dear all, Yes. I can pick it on behalf of Tobias, if there is no one who can do that. BRs, Hyungwon Hwang On Thu, 26 Nov 2015 16:48:10 + Emil Velikov wrote: > On 26 November 2015 at 16:41, Tobias Jakobi > wrote: > > Hello Emil, > > > > my main system which I also

[PATCH v2 00/13] drm/exynos: async G2D and g2d_move()

2015-11-27 Thread Hyungwon Hwang
atibility was broken a few times already so I'm > wondering if we really want this one. I guess that with the lack of > any (outside of tizen) user space things cannot go that wrong :-P > Yes. I agree that adding them at this time is not needed and it would be OK to add them, when the userspace using them comes. BRs, Hyungwon Hwang > Thanks > Emil >

[PATCH v3 1/3] modetest: introduce get_prop_info() for getting property id and type

2015-11-27 Thread Hyungwon Hwang
Last time you've respun them > I've pinged you to send them over for inclusion. There was a trivial > fix needed here or there but they were in pretty good shape. Yes. I checked it now. It would be more clear concise, if they comes. Would it be better to wait Thierry for sending the

[PATCH v3 3/9] exynos/fimg2d: add g2d_config_event

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi This enables us to pass command buffers to the kernel which trigger an event on the DRM fd upon completion. The final goal is to enable asynchronous operation of the G2D engine, similar to async page flips. Passing the event userdata pointer through the G2D context was chosen

[PATCH v3 1/9] exynos: Introduce exynos_handle_event()

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi Used to handle kernel events specific to the Exynos platform. Currently only G2D events are handled. Signed-off-by: Tobias Jakobi Signed-off-by: Hyungwon Hwang --- Changes for v2: Adapt to container approach. v3: Add exynos_handle_event() to Exynos symbol test. v4

[PATCH v3 4/9] tests/exynos: add fimg2d event test

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi This tests async processing of G2D jobs. A separate thread is spawned to monitor the DRM fd for events and check whether a G2D job was completed. Signed-off-by: Tobias Jakobi Signed-off-by: Hyungwon Hwang --- Changes for v2: Add GPLv2 header, argument handling and

[PATCH v3 7/9] exynos/fimg2d: add g2d_move

2015-11-30 Thread Hyungwon Hwang
obias Jakobi --- Changes for v2: Change wording in the description of g2d_move() as suggested by Hyungwon Hwang. exynos/exynos_fimg2d.c | 95 ++ exynos/exynos_fimg2d.h | 3 ++ 2 files changed, 98 insertions(+) diff --git a/exynos/exynos_fimg2

[PATCH v3 5/9] tests/exynos: use XRGB8888 for framebuffer

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi This matches the G2D color mode that is used in the entire code. The previous (incorrect) RGBA would only work since the Exynos mixer did its configuration based on the bpp, and not based on the actual pixelformat. Reviewed-by: Hyungwon Hwang Signed-off-by: Tobias

[PATCH v3 2/9] tests/exynos: add fimg2d performance analysis

2015-11-30 Thread Hyungwon Hwang
ow respectively, the test quickly reveals this. Tested-by: Hyungwon Hwang Reviewed-by: Hyungwon Hwang Signed-off-by: Tobias Jakobi --- Changes for v2: Add GPLv2 header, argument handling and documentation. Tool is only installed when requested. v3: Free images array in fimg2d_perf_multi() a

[PATCH v3 6/9] exynos: fimg2d: add g2d_set_direction

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi This allows setting the two direction registers, which specify how the engine blits pixels. This can be used for overlapping blits, which happen e.g. when 'moving' a rectangular region inside a fixed buffer. Reviewed-by: Hyungwon Hwang Signed-off-by: Tobias Jako

[PATCH v3 9/9] exynos: bump version number

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi The Exynos API was extended quite a bit, so reflect this in the version number. Signed-off-by: Tobias Jakobi --- exynos/libdrm_exynos.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exynos/libdrm_exynos.pc.in b/exynos/libdrm_exynos.pc.in index 5ce9

[PATCH v3 8/9] tests/exynos: add test for g2d_move

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi To check if g2d_move() works properly we create a small checkerboard pattern in the center of the screen and then shift this pattern around with g2d_move(). The pattern should be properly preserved by the operation (but not the surrounding area). Tested-by: Hyungwon Hwang

[PATCH] drm: Implement drmHandleEvent2()

2015-11-30 Thread Hyungwon Hwang
From: Tobias Jakobi Basically this is an extended version of drmHandleEvent(). drmHandleEvent() only handles core events (like e.g. page flips), but since kernel DRM drivers might use vendor-specific events to signal userspace the completion of pending jobs, etc., its desirable to provide a way

[PATCH v3 0/9] drm/exynos: new G2D test programs and improvement

2015-11-30 Thread Hyungwon Hwang
. (4) Last but not least a small bump of the Exynos version number. Please review and let me know what I should change/improve. With best wishes on behalf of Tobias, Hyungwon Hwang Changes since v1: - Added wording changes suggested by Hyungwon Hwang. - Added binaries for new test applications

  1   2   >