Re: [PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-07 Thread Inki Dae
2012/11/7 Rahul Sharma > On Wed, Nov 7, 2012 at 3:11 PM, Inki Dae wrote: > > > > > > 2012/11/7 Leela Krishna Amudala > >> > >> Hello Rahul, > >> > >> On Mon, Nov 5, 2012 at 2:32 PM, Rahul Sharma > >> wrote: > >

Re: [PATCH v2 0/4] drm/exynos, intel: fix locking for flip/vbl event list

2012-11-07 Thread Inki Dae
2012/11/7 Imre Deak > On Wed, 2012-11-07 at 18:31 +0900, Inki Dae wrote: > > 2012/11/2 Imre Deak > > The patchset adds the missing event_lock when accessing the > > vblank_event_list in drm_vblank_off() and as preparation for > > this > &g

Re: [PATCH 2/3] drm/exynos: remove unnecessary sg_alloc_table call

2012-11-07 Thread Inki Dae
2012/11/7 Prathyush K > The function dma_get_sgtable will allocate a sg table internally so > it is not necessary to allocate a sg table before it. The unnecessary > 'sg_alloc_table' call is removed. > > Signed-off-by: Prathyush K > --- > drivers/gpu/drm/exynos/exynos_drm_dmabuf.c |8 +-

Re: [PATCH 3/3] drm/exynos: clone new sgt instead of creating from pages

2012-11-07 Thread Inki Dae
a_get_sgtable(drm_dev->dev, sgt, buf->kvaddr, > - buf->dma_addr, buf->size); > + if (!buf->sgt) { > + DRM_ERROR("sgt is null.\n"); > + goto err_free_sgt; > + } > + > + r

Re: [PATCH v2 0/4] drm/exynos, intel: fix locking for flip/vbl event list

2012-11-07 Thread Inki Dae
2012/11/8 Rob Clark > On Wed, Nov 7, 2012 at 10:25 AM, Inki Dae wrote: > > > > > > 2012/11/7 Imre Deak > >> > >> On Wed, 2012-11-07 at 18:31 +0900, Inki Dae wrote: > >> > 2012/11/2 Imre Deak > >> >

Re: [PATCH 2/3] drm/exynos: remove unnecessary sg_alloc_table call

2012-11-08 Thread Inki Dae
Applied. And it seems like that another one needs some review So will let me pick it up later after review. Thanks, Inki Dae 2012/11/8 Inki Dae > > > 2012/11/7 Prathyush K > >> The function dma_get_sgtable will allocate a sg table internally so >> it is not necessar

[PATCH] drm: fix drm_framebuffer cleanup.

2012-11-08 Thread Inki Dae
ction check if fb->crtc is same as desired fb. And also when setcrtc and pageflip are requested, it makes each drm_framebuffer point to current crtc. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/drm_crtc.c |7 --- include/drm/drm_crtc.h |1 + 2 files

[PATCH] drm/exynos: fix linux framebuffer address setting.

2012-11-08 Thread Inki Dae
With iommu, buffer->dma_addr has device addres so this patch fixes for physical address to be set to fix.smem_start always. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) d

[PATCH] drm/exynos: add vm_ops to specific gem mmaper

2012-11-09 Thread Inki Dae
ed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 50d73f1..b7ce8b6 100

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012/11/9 Prathyush K > > On Fri, Nov 9, 2012 at 1:09 PM, Inki Dae wrote: > >> This patch fixes access issue to invalid memory region. >> >> crtc had only one drm_framebuffer object so when framebuffer >> cleanup was requested after page flip, it'd try to

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012/11/9 Ville Syrjälä > On Fri, Nov 09, 2012 at 04:39:30PM +0900, Inki Dae wrote: > > This patch fixes access issue to invalid memory region. > > > > crtc had only one drm_framebuffer object so when framebuffer > > cleanup was requested after page flip, it'd try

Re: [PATCH] drm/exynos: Add exynos drm specific fb_mmap function

2012-11-09 Thread Inki Dae
al address. Please see the below comment of framebuffer header, struct fb_fix_screeninfo { ... unsigned long smem_start;/* Start of frame buffer mem */ /* (physical address) */ F

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012/11/9 Ville Syrjälä > On Fri, Nov 09, 2012 at 09:41:19PM +0900, Inki Dae wrote: > > 2012/11/9 Ville Syrjälä > > > > > On Fri, Nov 09, 2012 at 04:39:30PM +0900, Inki Dae wrote: > > > > This patch fixes access issue to invalid memory region. > > >

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012/11/9 Ville Syrjälä > On Fri, Nov 09, 2012 at 11:04:58PM +0900, Inki Dae wrote: > > 2012/11/9 Ville Syrjälä > > > > > On Fri, Nov 09, 2012 at 09:41:19PM +0900, Inki Dae wrote: > > > > 2012/11/9 Ville Syrjälä > > > > > > > >

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012/11/9 Rob Clark > On Fri, Nov 9, 2012 at 1:39 AM, Inki Dae wrote: > > This patch fixes access issue to invalid memory region. > > > > crtc had only one drm_framebuffer object so when framebuffer > > cleanup was requested after page flip, it'd try to disable

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012. 11. 10. 오전 2:10 Rob Clark 작성: > On Fri, Nov 9, 2012 at 1:39 AM, Inki Dae wrote: >> diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h >> index 3fa18b7..92889be 100644 >> --- a/include/drm/drm_crtc.h >> +++ b/include/drm/drm_crtc.h &g

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-09 Thread Inki Dae
2012/11/10 Ville Syrjälä > On Sat, Nov 10, 2012 at 01:50:53AM +0900, Inki Dae wrote: > > 2012/11/9 Ville Syrjälä > > > > > On Fri, Nov 09, 2012 at 11:04:58PM +0900, Inki Dae wrote: > > > > 2012/11/9 Ville Syrjälä > > > > > > > >

Re: [PATCH] drm: fix drm_framebuffer cleanup.

2012-11-12 Thread Inki Dae
2012/11/12 Ville Syrjälä > On Sat, Nov 10, 2012 at 10:09:02AM +0900, Inki Dae wrote: > > 2012/11/10 Ville Syrjälä > > > > > On Sat, Nov 10, 2012 at 01:50:53AM +0900, Inki Dae wrote: > > > > 2012/11/9 Ville Syrjälä > > > > > > > >

[PATCH 0/2] drm/exynos: fix invalid memory access

2012-11-14 Thread Inki Dae
nly if dma is going to access memory region to fb and decreases old fb's because the old fb isn't accessed by dma anymore. This could guarantee releasing gem buffer to the fb after dma access to the gem buffer has been completed. Inki Dae (2): drm/exynos: remove unnecessary code. dr

[PATCH 1/2] drm/exynos: remove unnecessary code.

2012-11-14 Thread Inki Dae
plane->fb will be set to new fb after update_plane callback is called by drm_mode_set_plane() Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_plane.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exy

[PATCH 2/2] drm/exynos: release fb pended by page flip

2012-11-14 Thread Inki Dae
nly if dma is going to access memory region to fb and decreases old fb's because the old fb isn't accessed by dma anymore. This could guarantee releasing gem buffer to the fb after dma access to the gem buffer has been completed. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park

Re: [PATCH] drm: exynos: fix for loosing display mode header during mode adjustment

2012-11-14 Thread Inki Dae
uct list_head head; > Remove base and head, > int index; > > DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__); > @@ -2002,7 +2004,13 @@ static void hdmi_mode_fixup(void *ctx, struct > drm_connector *connector, > if (index >= 0) { > And dec

[PATCH] drm/exynos: fix overlay updating issue

2012-11-14 Thread Inki Dae
This patch fixes a issue that overlay data aren't applied to real hardware when dpms off goes to on after setcrtc was requested like below, dpms off -> setcrtc -> dpms off -> dpms on For this, it makes encoder's dpms to be updated when setcrtc is requested. Signed-off-b

[no subject]

2011-09-30 Thread Inki Dae
driver be applied to mainline. Thanks, Inki Dae. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

An inquiry about DRM Driver for Samsung SoC Exynos4.

2011-09-30 Thread Inki Dae
I am sorry for missed title. From: Inki Dae [mailto:inki@samsung.com] Sent: Friday, September 30, 2011 6:39 PM To: 'airl...@linux.ie'; 'Dave Airlie' Cc: 'dri-devel@lists.freedesktop.org'; 'kyungmin.p...@samsung.com' Subject: Hi, Dave. I am

[RESEND] An inquiry about DRM Driver for Samsung SoC Exynos4.

2011-09-30 Thread Inki Dae
tch; otherwise we wish our driver be applied to mainline. Thanks, Inki Dae. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

RE: [RESEND] An inquiry about DRM Driver for Samsung SoC Exynos4.

2011-09-30 Thread Inki Dae
Hi, Dave. > -Original Message- > From: Dave Airlie [mailto:airl...@gmail.com] > Sent: Saturday, October 01, 2011 3:07 PM > To: Inki Dae > Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; > kyungmin.p...@samsung.com > Subject: Re: [RESEND] An inquiry about DRM D

RE: [RESEND] An inquiry about DRM Driver for Samsung SoC Exynos4.

2011-10-03 Thread Inki Dae
Hi, Dave. > -Original Message- > From: Dave Airlie [mailto:airl...@gmail.com] > Sent: Monday, October 03, 2011 7:17 PM > To: Inki Dae > Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; > kyungmin.p...@samsung.com > Subject: Re: [RESEND] An inquiry about DRM D

RE: [PATCH v5] DRM: add DRM Driver for Samsung SoC EXYNOS4210.

2011-10-03 Thread Inki Dae
Hi, Konrad Rzeszutek Wilk. > -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Tuesday, October 04, 2011 12:46 AM > To: Inki Dae > Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; > kyungmin.p...@samsung.com; sw0312@sam

[PATCH 0/7] drm/exynos: add two devices support.

2011-10-13 Thread Inki Dae
://people.freedesktop.org/~airlied/linux.git branch name: drm-next commit-id: b07759bf41d52aaecd5de92c7d725d6834b23349 Inki Dae (5): drm/exynos: fixed overlay data updating. drm/exynos: added device object as argument of subdrv_probe(). drm/exynos: fixed bug to exynos_drm_fb_dev_reinit(). drm/exynos

[PATCH 1/7] drm/exynos: fixed overlay data updating.

2011-10-13 Thread Inki Dae
this patch adds common members to overlay structure and makes each driver such as fimd or hdmi driver set them to its own structure. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_buf.h |3 + drivers/gpu/drm/exynos/exynos_drm_crtc.c | 101

[PATCH 2/7] drm/exynos: fixed overlay updating time at page flip.

2011-10-13 Thread Inki Dae
buffer addess is set to shadow register and then applied to real register at vsync front porch time. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c |4 +++- drivers/gpu/drm/exynos/exynos_drm_crtc.h |1 - drivers/gpu/drm/exynos/exy

[PATCH 3/7] drm/exynos: added device object as argument of subdrv_probe().

2011-10-13 Thread Inki Dae
sub drivers should refer to its own device object to access its own context. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_core.c |2 +- drivers/gpu/drm/exynos/exynos_drm_drv.h |2 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- 3

[PATCH 5/7] drm/exynos: added comments and code clean.

2011-10-13 Thread Inki Dae
exynos_drm_overlay because this member isn't used anymore. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c |6 ++ drivers/gpu/drm/exynos/exynos_drm_drv.h |2 -- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |6 +- 3 files change

[PATCH 7/7] drm/exynos: fixed build warnings and comments.

2011-10-13 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.h |2 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 13 + 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm

[PATCH 4/7] drm/exynos: fixed bug to exynos_drm_fb_dev_reinit().

2011-10-13 Thread Inki Dae
this patch solves the problem that fb_helper is released when exynos_drm_fbdev_reinit() was called. if this function call is ok then just return. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH 6/7] drm/exynos: fixed page flip bug.

2011-10-13 Thread Inki Dae
in case of using two drivers such as fimd and hdmi controller that they have their own hardware interrupt, drm framework doesn't provide pipe number corresponding to it. so the pipe should be set to event's from specific crtc. Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Sig

[RESEND][PATCH 0/7] drm/exynos: add two devices support.

2011-10-13 Thread Inki Dae
and code clean. this patch is based on git repository below: git://people.freedesktop.org/~airlied/linux.git branch name: drm-next commit-id: b07759bf41d52aaecd5de92c7d725d6834b23349 Inki Dae (5): drm/exynos: fixed overlay data updating. drm/exynos: added device object as argument of

[RESEND][PATCH 1/7] drm/exynos: fixed overlay data updating.

2011-10-13 Thread Inki Dae
this patch adds common members to overlay structure and makes each driver such as fimd or hdmi driver set them to its own structure. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_buf.h |3 + drivers/gpu/drm/exynos/exynos_drm_crtc.c | 101

[RESEND][PATCH 2/7] drm/exynos: fixed overlay updating time at page flip.

2011-10-13 Thread Inki Dae
buffer addess is set to shadow register and then applied to real register at vsync front porch time. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c |4 +++- drivers/gpu/drm/exynos/exynos_drm_crtc.h |1 - drivers/gpu/drm/exynos/exy

[RESEND][PATCH 4/7] drm/exynos: fixed bug to exynos_drm_fb_dev_reinit().

2011-10-13 Thread Inki Dae
this patch solves the problem that fb_helper is released when exynos_drm_fbdev_reinit() was called. if this function call is ok then just return. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |2 ++ 1 files changed, 2 insertions(+), 0

[RESEND][PATCH 3/7] drm/exynos: added device object as argument of subdrv_probe().

2011-10-13 Thread Inki Dae
sub drivers should refer to its own device object to access its own context. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_core.c |2 +- drivers/gpu/drm/exynos/exynos_drm_drv.h |2 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- 3

[RESEND][PATCH 5/7] drm/exynos: added comments and code clean.

2011-10-13 Thread Inki Dae
exynos_drm_overlay because this member isn't used anymore. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c |6 ++ drivers/gpu/drm/exynos/exynos_drm_drv.h |2 -- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |6 +- 3 files change

[RESEND][PATCH 6/7] drm/exynos: fixed page flip bug.

2011-10-13 Thread Inki Dae
in case of using two drivers such as fimd and hdmi controller that they have their own hardware interrupt, drm framework doesn't provide pipe number corresponding to it. so the pipe should be set to event's from specific crtc. Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Sig

[RESEND][PATCH 7/7] drm/exynos: fixed build warnings and comments.

2011-10-13 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.h |2 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 13 + 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm

Re: [PATCH 2/2] drm: add an fb creation ioctl that takes a pixel format

2011-11-09 Thread InKi Dae
y mapped to the user space address. this way makes different applications to be possible to share the memory between v4l2 based driver and drm based driver. and also this feature is considered for IOMMU so it would support non continuous memory also. I will introduce this feature soon. Thank you,

Re: [PATCH 2/2] drm: add an fb creation ioctl that takes a pixel format

2011-11-10 Thread InKi Dae
2011/11/9 Rob Clark : > On Wed, Nov 9, 2011 at 7:25 AM, InKi Dae wrote: >> Hello, all. >> >> I am trying to implement multi planer using your plane patch and I >> think it's good but I am still warried about that drm_mode_fb_cmd2 >> structure has only one

[PATCH 00/14] update exynos drm driver.

2011-11-12 Thread Inki Dae
org/~airlied/linux.git branch name: drm-fixes commit-id: 8f3f1c9a22a6420e28c2d3eff59b832893bc8efc Inki Dae (7): drm/exynos: added manager object to connector drm/exynos: changed exynos_drm_display to exynos_drm_display_ops drm/exynos: use gem create function generically drm/exynos: remo

[PATCH 01/14] drm/exynos: added kms poll for handling hpd event

2011-11-12 Thread Inki Dae
From: Seung-Woo Kim this patch adds kms poll infrastructure to handle hotplug detection event Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.c |5 + drivers/gpu/drm/exynos/exynos_drm_fb.c | 12

[PATCH 02/14] drm/exynos: fixed connector flag with hpd and interlace scan for hdmi

2011-11-12 Thread Inki Dae
From: Seung-Woo Kim hdmi display in exynos supports hotplug event and interlace scan mode Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_connector.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH 03/14] drm/exynos: fixed converting between display mode and timing

2011-11-12 Thread Inki Dae
From: Seung-Woo Kim missing members are added into converting function between timing and display mode and refresh rate of display mode is calculated by drm mode function. Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos

[PATCH 04/14] drm/exynos: added manager object to connector

2011-11-12 Thread Inki Dae
connector contains some contents for display controller so the connector also should be able to access controller through manager. Signed-off-by: Inki Dae Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 38

[PATCH 05/14] drm/exynos: changed exynos_drm_display to exynos_drm_display_ops

2011-11-12 Thread Inki Dae
exynos_drm_display has function pointes so exynos_drm_display_ops is better to describe. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 29 + drivers/gpu/drm/exynos/exynos_drm_drv.h |4 +- drivers/gpu

[PATCH 06/14] drm/exynos: restored kernel_fb_list when reiniting fb_helper

2011-11-12 Thread Inki Dae
From: Joonyoung Shim during recreating exynos_drm_fbdev as a new display device probes, fb_helper is reinitialized but kernel fb is not changed so kernel_fb_list should be restored after fb_helper is reinitialized. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin

[PATCH 07/14] drm/exynos: removed meaningless parameter from fbdev update

2011-11-12 Thread Inki Dae
From: Seung-Woo Kim drm_framebuffer already has width and height so they are meaningless as parameters when updating fb_info. Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 14 +- 1 files

[PATCH 08/14] drm/exynos: added crtc dpms for disable crtc

2011-11-12 Thread Inki Dae
Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c| 29 -- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 54 +++--- drivers/gpu/drm/exynos/exynos_drm_encoder.h |1 + 3 files changed, 73 insertions

[PATCH 09/14] drm/exynos: checked for null pointer

2011-11-12 Thread Inki Dae
From: Seung-Woo Kim Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_encoder.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_encoder.c b/drivers/gpu/drm

[PATCH 12/14] drm/exynos: changed buffer structure.

2011-11-12 Thread Inki Dae
the purpose of this patch is to consider IOMMU support in the future. EXYNOS4 SoC supports IOMMU also so the address for DMA could be physical address with IOMMU or device address with IOMMU. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_buf.c

[PATCH 10/14] drm/exynos: use gem create function generically

2011-11-12 Thread Inki Dae
this patch addes exynos_drm_gem_init() creating and initialzing a gem. allocation functions could use this function to create new gem and it changes size type of exynos_drm_gem_create structure to 64bit and also corrects comments to exynos_drm_gem_create structure. Signed-off-by: Inki Dae Signed

[PATCH 11/14] drm/exynos: removed unnecessary variable.

2011-11-12 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_buf.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_buf.c b/drivers/gpu/drm/exynos/exynos_drm_buf.c index 6f8afea..303189c 100644 --- a

[PATCH 14/14] drm/exynos: include linux/module.h

2011-11-12 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 38a6f1d..2d74f85 100644 --- a

[PATCH 13/14] drm/exynos: fix vblank bug.

2011-11-12 Thread Inki Dae
In case that vblank_disable_allowed is 1, the problem that manager->pipe could be -1 at vsync interrupt handler could be induced so this patch fixes that. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 46 +++--

Re: [PATCH 2/2] drm: add an fb creation ioctl that takes a pixel format

2011-11-12 Thread InKi Dae
2011/11/11 Rob Clark : > On Thu, Nov 10, 2011 at 8:54 AM, InKi Dae wrote: >> 2011/11/9 Rob Clark : >>> On Wed, Nov 9, 2011 at 7:25 AM, InKi Dae wrote: >>>> Hello, all. >>>> >>>> I am trying to implement multi planer using your plane patch a

Re: [PATCH 00/14] update exynos drm driver.

2011-11-22 Thread InKi Dae
atches at git > http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/heads/samsung-drm > > To Mr. Dae. > Can you rebase the latest drm-next tree or mainline to merge easily? > > Thank you, > Kyungmin Park > > On 11/12/11, Inki Dae wrote: >> Hello, Dave. s

Re: [PATCH 00/14] update exynos drm driver.

2011-11-22 Thread InKi Dae
previous patchset bugs. - add power managerment featrue based on runtim-pm. from next patchset, I would request GIT PULL if you are ok. Thank you, Inki Dae. 2011/11/12 Inki Dae : > Hello, Dave. sorry but please, ignor previous patch sets posted > by Seung-Woo Kim. I am seding patch sets

Re: [PATCH 00/14] update exynos drm driver.

2011-11-23 Thread InKi Dae
2011/11/23 Dave Airlie : > On Wed, Nov 23, 2011 at 2:23 AM, InKi Dae wrote: >> Hello, Dave. >> >> I had posted DRM Driver patchsets for Exsynos SoC but there is no any >> feedback. could you please review them? and if the patchsets have any >> problem, please give

[PATCH 0/2] update exynos drm driver.

2011-12-09 Thread Inki Dae
git repository below: git://git.infradead.org/users/kmpark/linux-samsung exynos-drm-fixes Inki Dae (1): drm/exynos: updated crtc and encoder dpms framework. Joonyoung Shim (1): drm/exynos: add runtime pm feature for fimd drivers/gpu/drm/exynos/exynos_drm_crtc.c| 58 - drivers

[PATCH 2/2] drm/exynos: add runtime pm feature for fimd

2011-12-09 Thread Inki Dae
From: Joonyoung Shim This adds runtime PM feature for fimd. The runtime PM functions control clocks for fimd and prevent to access the register of fimd for vblank when clock is turned off by suspend of runtime PM. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin

[PATCH 1/2] drm/exynos: updated crtc and encoder dpms framework.

2011-12-09 Thread Inki Dae
With DPMS ON and OFF requests, crtc dpms would be in charge of just only device power such as fimd or hdmi and encoder dpms in charge of device setting(mode setting and register updating) and also lcd panel and digital TV power. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers

[PATCH 0/5] update new features.

2011-12-09 Thread Inki Dae
u can pull git repository below: git://git.infradead.org/users/kmpark/linux-samsung exynos-drm-next Inki Dae (1): drm/exynos: updated crtc and encoder dpms framework. Joonyoung Shim (4): drm/exynos: Fix compile errors drm/exynos: Use struct drm_mode_fb_cmd2 drm/exynos: add runtime pm featur

[PATCH 1/5] drm/exynos: Fix compile errors

2011-12-09 Thread Inki Dae
s_drm_drv.o] Error 1 make[3]: *** [drivers/gpu/drm/exynos] Error 2 make[2]: *** [drivers/gpu/drm] Error 2 make[1]: *** [drivers/gpu] Error 2 make: *** [drivers] Error 2 Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_d

[PATCH 3/5] drm/exynos: updated crtc and encoder dpms framework.

2011-12-09 Thread Inki Dae
With DPMS ON and OFF requests, crtc dpms would be in charge of just only device power such as fimd or hdmi and encoder dpms in charge of device setting(mode setting and register updating) and also lcd panel and digital TV power. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers

[PATCH 2/5] drm/exynos: Use struct drm_mode_fb_cmd2

2011-12-09 Thread Inki Dae
From: Joonyoung Shim The exynos drm also should use struct drm_mode_fb_cmd2 by changes of 308e5bcbdb10452e8aba31aa21432fb67ee46d72 commit(drm: add an fb creation ioctl that takes a pixel format v5). Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park

[PATCH 4/5] drm/exynos: add runtime pm feature for fimd

2011-12-09 Thread Inki Dae
From: Joonyoung Shim This adds runtime PM feature for fimd. The runtime PM functions control clocks for fimd and prevent to access the register of fimd for vblank when clock is turned off by suspend of runtime PM. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin

[PATCH 5/5] drm/exynos: Add plane support with fimd

2011-12-09 Thread Inki Dae
window overlay. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/Makefile |3 +- drivers/gpu/drm/exynos/exynos_drm_crtc.c|1 + drivers/gpu/drm/exynos/exynos_drm_drv.c |9 ++ drivers/gpu/drm/exynos

RE: [PATCH 5/5] drm/exynos: Add plane support with fimd

2011-12-12 Thread Inki Dae
Hi, Rob. below is my answer. > -Original Message- > From: Rob Clark [mailto:robdcl...@gmail.com] > Sent: Tuesday, December 13, 2011 9:48 AM > To: Joonyoung Shim > Cc: Inki Dae; kyungmin.p...@samsung.com; sw0312@samsung.com; dri- > de...@lists.freedesktop.org > Su

[PATCH] exynos: add module name for Samsung Exynos SoC support.

2011-12-15 Thread Inki Dae
=summary commit id: 1c248b7d2960faec3e1b8f3f9c5d9d0df28e0a3c P.S. the module name of kernel side is "exynos-drm" yet so now the name would use "exynos-drm" but it will be changed to "exynos" once kernel side is changed. Signed-off-by: Inki Dae Signed-off-by: Kyungmin P

[GIT PULL] drm/exynos: update exynos drm driver.

2011-12-20 Thread Inki Dae
: - consolidate crtc and encoder dpms framework. - add runtime pm feature for fimd driver. - add plane feature. Thanks. Inki Dae (1): drm/exynos: updated crtc and encoder dpms framework. Joonyoung Shim (4): drm/exynos: Fix compile errors drm/exynos: Use struct drm_mode_fb_cmd2 drm/exynos: add

[PATCH 00/11] drm/exynos: add hdmi support and update driver.

2011-12-21 Thread Inki Dae
er to link below: http://lists.freedesktop.org/archives/dri-devel/2011-December/017641.html Inki Dae (4): drm/exynos: added pm support. drm/exynos: change driver name. drm/exynos: extend vblank off delay time. drm/exynos: added mutex lock and code clean. Joonyoung Shim (4): drm/exynos

[PATCH 01/11] drm/exynos: gem code cleanup

2011-12-21 Thread Inki Dae
From: Joonyoung Shim This cleans codes of exynos gem - indents and order function and so on. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_buf.c |5 +- drivers/gpu/drm/exynos/exynos_drm_fb.c |4 +- drivers

[PATCH 02/11] drm/exynos: Fix a fake mmap offset creation

2011-12-21 Thread Inki Dae
From: Joonyoung Shim Make a fake mmap offset only when it needs. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 38 +++--- 1 files changed, 14 insertions(+), 24 deletions(-) diff

[PATCH 03/11] drm/exynos: Split creation of gem object and gem handle

2011-12-21 Thread Inki Dae
From: Joonyoung Shim exynos_drm_gem_create function created gem object with gem handle but it can be called externally without gem handle creation through this patch. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos

[PATCH 04/11] drm/exynos: remove buffer creation of fbdev from drm framebuffer creation

2011-12-21 Thread Inki Dae
fbdev, it give better consistency of codes and more clear implementation. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fb.c| 136 ++--- drivers/gpu/drm/exynos/exynos_drm_fb.h|7

[PATCH 07/11] drm/exynos: Support multi buffers

2011-12-21 Thread Inki Dae
From: Seung-Woo Kim These formats(NV12M, NV12MT and YUV420M) have non contiguous multi planes, so each plane uses different buffer. The exynos drm should support multi buffer for them. Signed-off-by: Seung-Woo Kim Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin

[PATCH 05/11] drm/exynos: added pm support.

2011-12-21 Thread Inki Dae
this patch addes pm feature for fimd driver. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 59 ++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b

[PATCH 08/11] drm/exynos: change driver name.

2011-12-21 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 050684ce..1410720 100644 --- a

[PATCH 06/11] drm: Add multi buffer plane pixel formats

2011-12-21 Thread Inki Dae
__(Y)_ . _(CbCr)__ Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- include/drm/drm_fourcc.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index 4f99cb4..bdf0152 100644

[PATCH 09/11] drm/exynos: extend vblank off delay time.

2011-12-21 Thread Inki Dae
some platform could be entering to sleep after short time once lcd panel off but before that vblank could be off by vblank off delay feature. at that time, vblank doesn't have the pair between vblank_get/put. so this path makes vblank off delay to have enough. Signed-off-by: Ink

[PATCH 10/11] drm/exynos: added mutex lock and code clean.

2011-12-21 Thread Inki Dae
Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 37 - 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 777b93c..ca83139 100644 --- a

Re: [PATCH 1/3] dma-buf: Introduce dma buffer sharing mechanism

2011-12-27 Thread InKi Dae
2011/12/26 Sumit Semwal : > This is the first step in defining a dma buffer sharing mechanism. > > A new buffer object dma_buf is added, with operations and API to allow easy > sharing of this buffer object across devices. > > The framework allows: > - creation of a buffer object, its association w

[GIT PULL] drm/exynos: update exynos drm driver.

2011-12-28 Thread Inki Dae
(CbCr)___ NV12M : __(Y)_ . _(CbCr)__ - bug fix to vblank. - code clean to exynos gem framework. P.S. exynos hdmi module needs multi buffer plane pixel formats to build. Thanks. Inki Dae (4): drm/exynos: added pm support. drm/exynos: change driver name. drm/exynos: extend v

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-08 Thread InKi Dae
2011/12/2 Sumit Semwal : > This is the first step in defining a dma buffer sharing mechanism. > > A new buffer object dma_buf is added, with operations and API to allow easy > sharing of this buffer object across devices. > > The framework allows: > - different devices to 'attach' themselves to thi

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/9 Daniel Vetter : > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: >> I has test dmabuf based drm gem module for exynos and I found one problem. >> you can refer to this test repository: >> http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/he

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/9 Daniel Vetter : > On Mon, Jan 09, 2012 at 07:10:25PM +0900, InKi Dae wrote: >> 2012/1/9 Daniel Vetter : >> > On Mon, Jan 09, 2012 at 03:20:48PM +0900, InKi Dae wrote: >> >> I has test dmabuf based drm gem module for exynos and I found one problem. &g

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/10 Rob Clark : > On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae wrote: >> note : in case of sharing a buffer between v4l2 and drm driver, the >> memory info would be copied vb2_xx_buf to xx_gem or xx_gem to >> vb2_xx_buf through sg table. in this case, only memory info is

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-09 Thread InKi Dae
2012/1/10 Semwal, Sumit : > On Tue, Jan 10, 2012 at 7:44 AM, Rob Clark wrote: >> On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae wrote: >>> 2012/1/10 Rob Clark : >>> at least with no IOMMU, the memory information(containing physical >>> memory address) would be co

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-10 Thread InKi Dae
2012/1/10 InKi Dae : > 2012/1/10 Semwal, Sumit : >> On Tue, Jan 10, 2012 at 7:44 AM, Rob Clark wrote: >>> On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae wrote: >>>> 2012/1/10 Rob Clark : >>>> at least with no IOMMU, the memory information(containing physic

Re: [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2012-01-10 Thread InKi Dae
2012/1/10 Rob Clark : > On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae wrote: >> 2012/1/10 Rob Clark : >>> On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae wrote: >>>> note : in case of sharing a buffer between v4l2 and drm driver, the >>>> memory info would b

[PATCH 0/4] drm/exynos: fixed minor bugs.

2012-01-16 Thread Inki Dae
rlied/drm-2.6.git, branch name: drm-fixes commit-id: 081794564e3000e602de290d1121792c33b475a4 and you can refer to our working repository below: http://git.infradead.org/users/kmpark/linux-2.6-samsung, branch name: exynos-drm-fixes Inki Dae (2): drm/exynos: fixed build dependency for DRM_EXYNOS

[PATCH 1/4] drm/exynos: use release_mem_region instead of release_resource

2012-01-16 Thread Inki Dae
From: Seung-Woo Kim To make a api pair of request_mem_region and release_mem_region, release_mem_region is used instead of release_resource. Signed-off-by: Seung-Woo Kim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c |8 1 files

<    9   10   11   12   13   14   15   16   17   18   >