Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread InKi Dae
Hello, all. I'd like to discuss memory sharing issue by application on v4l2 based device driver with system mmu and get some advices about that. Now I am working on Samsung SoC C210 platform and this platform has some multimedia devices with system mmu such as fimc, and mfc also we have

Re: Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread InKi Dae
, -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of InKi Dae Sent: Thursday, January 06, 2011 10:25 PM To: linux-media@vger.kernel.org Subject: Memory sharing issue by application on V4L2 based device driver with system mmu

Re: [PATCH 3/7] ARM: Samsung: update/rewrite Samsung SYSMMU (IOMMU) driver

2011-03-14 Thread InKi Dae
2011/3/14 Russell King - ARM Linux li...@arm.linux.org.uk: On Mon, Mar 14, 2011 at 09:37:51PM +0900, KyongHo Cho wrote: I have also noticed that dma_map_single/page/sg() can map physical memory into an arbitrary device address region. But it is not enough solution for various kinds of IOMMUs.

Re: [PATCH 3/3] OMAP2/3 V4L2 Display Driver

2009-04-30 Thread InKi Dae
overlay array index to avoid overlapping with other overlay. sighed-off-by: InKi Dae. inki@samsung.com --- diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 9b4a0d7..051298a 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video

Re: [PATCH 3/3] OMAP2/3 V4L2 Display Driver

2009-04-30 Thread InKi Dae
...@ti.com: -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Shah, Hardik Sent: Thursday, April 30, 2009 11:51 AM To: InKi Dae Cc: tomi.valkei...@nokia.com; linux-media@vger.kernel.org; linux- o...@vger.kernel.org; Jadav

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

2012-01-08 Thread InKi Dae
2011/12/2 Sumit Semwal sumit.sem...@ti.com: 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'

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

2012-01-09 Thread InKi Dae
2012/1/9 Daniel Vetter dan...@ffwll.ch: 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/heads/exynos-drm

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

2012-01-09 Thread InKi Dae
2012/1/9 Daniel Vetter dan...@ffwll.ch: On Mon, Jan 09, 2012 at 07:10:25PM +0900, InKi Dae wrote: 2012/1/9 Daniel Vetter dan...@ffwll.ch: 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

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

2012-01-09 Thread InKi Dae
2012/1/10 Rob Clark r...@ti.com: On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae daei...@gmail.com 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

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

2012-01-09 Thread InKi Dae
2012/1/10 Semwal, Sumit sumit.sem...@ti.com: On Tue, Jan 10, 2012 at 7:44 AM, Rob Clark r...@ti.com wrote: On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae daei...@gmail.com wrote: 2012/1/10 Rob Clark r...@ti.com: at least with no IOMMU, the memory information(containing physical memory address

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

2012-01-10 Thread InKi Dae
2012/1/10 InKi Dae daei...@gmail.com: 2012/1/10 Semwal, Sumit sumit.sem...@ti.com: On Tue, Jan 10, 2012 at 7:44 AM, Rob Clark r...@ti.com wrote: On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae daei...@gmail.com wrote: 2012/1/10 Rob Clark r...@ti.com: at least with no IOMMU, the memory information

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

2012-01-10 Thread InKi Dae
2012/1/10 Rob Clark r...@ti.com: On Mon, Jan 9, 2012 at 7:34 PM, InKi Dae daei...@gmail.com wrote: 2012/1/10 Rob Clark r...@ti.com: On Mon, Jan 9, 2012 at 4:10 AM, InKi Dae daei...@gmail.com wrote: note : in case of sharing a buffer between v4l2 and drm driver, the memory info would be copied

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

2013-04-21 Thread Inki Dae
Sajjan vikas.saj...@linaro.org --- Changes since v2: - moved clk_prepare_enable() and clk_disable_unprepare() from fimd_probe() to fimd_clock() as suggested by Inki Dae inki@samsung.com Changes since v1: - added error checking for clk_prepare_enable

RE: Introduce a new helper framework for buffer synchronization

2013-05-13 Thread Inki Dae
-Original Message- From: Maarten Lankhorst [mailto:maarten.lankho...@canonical.com] Sent: Monday, May 13, 2013 5:01 PM To: Inki Dae Cc: Rob Clark; Daniel Vetter; DRI mailing list; linux-arm- ker...@lists.infradead.org; linux-media@vger.kernel.org; linux-fbdev; Kyungmin Park

RE: Introduce a new helper framework for buffer synchronization

2013-05-13 Thread Inki Dae
-Original Message- From: Maarten Lankhorst [mailto:maarten.lankho...@canonical.com] Sent: Monday, May 13, 2013 6:52 PM To: Inki Dae Cc: 'Rob Clark'; 'Daniel Vetter'; 'DRI mailing list'; linux-arm- ker...@lists.infradead.org; linux-media@vger.kernel.org; 'linux-fbdev'; 'Kyungmin

RE: Introduce a new helper framework for buffer synchronization

2013-05-13 Thread Inki Dae
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Maarten Lankhorst Sent: Monday, May 13, 2013 8:41 PM To: Inki Dae Cc: 'Rob Clark'; 'Daniel Vetter'; 'DRI mailing list'; linux-arm- ker...@lists.infradead.org; linux

RE: Introduce a new helper framework for buffer synchronization

2013-05-13 Thread Inki Dae
-Original Message- From: Rob Clark [mailto:robdcl...@gmail.com] Sent: Tuesday, May 14, 2013 2:58 AM To: Inki Dae Cc: linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; YoungJun Cho; linux-arm-ker...@lists.infradead.org; linux-media@vger.kernel.org Subject: Re: Introduce

RE: Introduce a new helper framework for buffer synchronization

2013-05-14 Thread Inki Dae
-Original Message- From: Rob Clark [mailto:robdcl...@gmail.com] Sent: Tuesday, May 14, 2013 10:39 PM To: Inki Dae Cc: linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; YoungJun Cho; linux-arm-ker...@lists.infradead.org; linux-media@vger.kernel.org Subject: Re: Introduce

RE: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Inki Dae
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 21, 2013 6:31 AM To: Inki Dae Cc: Rob Clark; linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; YoungJun Cho; linux-arm-ker...@lists.infradead.org; linux

RE: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Inki Dae
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 21, 2013 4:45 PM To: Inki Dae Cc: 'Daniel Vetter'; 'Rob Clark'; 'linux-fbdev'; 'DRI mailing list'; 'Kyungmin Park'; 'myungjoo.ham'; 'YoungJun Cho'; linux-arm- ker

RE: Introduce a new helper framework for buffer synchronization

2013-05-23 Thread Inki Dae
-Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Thursday, May 23, 2013 8:56 PM To: Inki Dae Cc: Rob Clark; linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; YoungJun Cho; linux-arm-ker...@lists.infradead.org

RE: Introduce a new helper framework for buffer synchronization

2013-05-27 Thread Inki Dae
in advance before RFC posting. Thanks, Inki Dae -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: Introduce a new helper framework for buffer synchronization

2013-05-27 Thread Inki Dae
-Original Message- From: Maarten Lankhorst [mailto:maarten.lankho...@canonical.com] Sent: Tuesday, May 28, 2013 12:23 AM To: Inki Dae Cc: 'Daniel Vetter'; 'Rob Clark'; 'linux-fbdev'; 'YoungJun Cho'; 'Kyungmin Park'; 'myungjoo.ham'; 'DRI mailing list'; linux-arm- ker

RE: Introduce a new helper framework for buffer synchronization

2013-05-27 Thread Inki Dae
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Rob Clark Sent: Tuesday, May 28, 2013 12:48 AM To: Inki Dae Cc: Maarten Lankhorst; Daniel Vetter; linux-fbdev; YoungJun Cho; Kyungmin Park; myungjoo.ham; DRI mailing

RE: Introduce a new helper framework for buffer synchronization

2013-05-27 Thread Inki Dae
-Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 28, 2013 1:02 AM To: Rob Clark Cc: Inki Dae; Maarten Lankhorst; linux-fbdev; YoungJun Cho; Kyungmin Park; myungjoo.ham; DRI mailing list; linux-arm-ker

RE: Introduce a new helper framework for buffer synchronization

2013-05-28 Thread Inki Dae
28, 2013 7:33 PM To: Inki Dae Cc: 'Rob Clark'; 'Maarten Lankhorst'; 'Daniel Vetter'; 'linux-fbdev'; 'YoungJun Cho'; 'Kyungmin Park'; 'myungjoo.ham'; 'DRI mailing list'; linux-arm-ker...@lists.infradead.org; linux-media@vger.kernel.org Subject: Re: Introduce a new helper framework for buffer

RE: Introduce a new helper framework for buffer synchronization

2013-05-28 Thread Inki Dae
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Rob Clark Sent: Tuesday, May 28, 2013 10:49 PM To: Inki Dae Cc: Maarten Lankhorst; Daniel Vetter; linux-fbdev; YoungJun Cho; Kyungmin Park; myungjoo.ham; DRI mailing

RE: Introduce a new helper framework for buffer synchronization

2013-05-28 Thread Inki Dae
-Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Wednesday, May 29, 2013 1:50 AM To: Inki Dae Cc: Rob Clark; Maarten Lankhorst; linux-fbdev; YoungJun Cho; Kyungmin Park; myungjoo.ham; DRI mailing list; linux-arm-ker

Introduce a dmabuf sync framework for buffer synchronization

2013-06-07 Thread Inki Dae
all things is just quick implementation for buffer synchronization so this should be more cleaned up and there might be my missing point. Please give me your advices and opinions. Thanks, Inki Dae -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message

[RFC PATCH] dmabuf-sync: Introduce buffer synchronization framework

2013-06-13 Thread Inki Dae
/ [2] http://lwn.net/Articles/532616/ [3] https://patchwork-mail1.kernel.org/patch/2625321/ Signed-off-by: Inki Dae inki@samsung.com --- Documentation/dma-buf-sync.txt | 246 ++ drivers/base/Kconfig |7 + drivers/base/Makefile |1 + drivers/base

RE: [RFC PATCH] dmabuf-sync: Introduce buffer synchronization framework

2013-06-13 Thread Inki Dae
+static void dmabuf_sync_timeout_worker(struct work_struct *work) +{ + struct dmabuf_sync *sync = container_of(work, struct dmabuf_sync, work); + struct dmabuf_sync_object *sobj; + + mutex_lock(sync-lock); + + list_for_each_entry(sobj, sync-syncs, head) { +

RE: [RFC PATCH] dmabuf-sync: Introduce buffer synchronization framework

2013-06-13 Thread Inki Dae
Hi Russell, -Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Friday, June 14, 2013 2:26 AM To: Inki Dae Cc: maarten.lankho...@canonical.com; dan...@ffwll.ch; robdcl...@gmail.com; linux-fb...@vger.kernel.org; dri-de...@lists.freedesktop.org

[RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-17 Thread Inki Dae
the dma buf exporter should implement dmabuf-ops-begin_cpu_access/end_cpu_access callbacks. [1] http://lwn.net/Articles/470339/ [2] http://lwn.net/Articles/532616/ [3] https://patchwork-mail1.kernel.org/patch/2625321/ Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-17 Thread Inki Dae
-Original Message- From: Maarten Lankhorst [mailto:maarten.lankho...@canonical.com] Sent: Monday, June 17, 2013 8:35 PM To: Inki Dae Cc: dri-de...@lists.freedesktop.org; linux-fb...@vger.kernel.org; linux- arm-ker...@lists.infradead.org; linux-media@vger.kernel.org; dan

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-17 Thread Inki Dae
-Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Tuesday, June 18, 2013 3:21 AM To: Inki Dae Cc: Maarten Lankhorst; linux-fbdev; Kyungmin Park; DRI mailing list; Rob Clark; myungjoo.ham; YoungJun Cho; Daniel Vetter; linux-arm- ker

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-18 Thread Inki Dae
-Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Tuesday, June 18, 2013 5:43 PM To: Inki Dae Cc: 'Maarten Lankhorst'; 'linux-fbdev'; 'Kyungmin Park'; 'DRI mailing list'; 'Rob Clark'; 'myungjoo.ham'; 'YoungJun Cho'; 'Daniel Vetter'; linux-arm

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-18 Thread Inki Dae
-Original Message- From: Lucas Stach [mailto:l.st...@pengutronix.de] Sent: Tuesday, June 18, 2013 6:47 PM To: Inki Dae Cc: 'Russell King - ARM Linux'; 'linux-fbdev'; 'Kyungmin Park'; 'DRI mailing list'; 'myungjoo.ham'; 'YoungJun Cho'; linux-arm- ker...@lists.infradead.org; linux

[RFC PATCH v3] dmabuf-sync: Introduce buffer synchronization framework

2013-06-19 Thread Inki Dae
/Articles/470339/ [2] http://lwn.net/Articles/532616/ [3] https://patchwork.kernel.org/patch/2625361/ Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 199 drivers/base/Kconfig |7

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-19 Thread Inki Dae
-Original Message- From: Lucas Stach [mailto:l.st...@pengutronix.de] Sent: Wednesday, June 19, 2013 7:22 PM To: Inki Dae Cc: 'Russell King - ARM Linux'; 'linux-fbdev'; 'Kyungmin Park'; 'DRI mailing list'; 'myungjoo.ham'; 'YoungJun Cho'; linux-arm- ker...@lists.infradead.org; linux

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-20 Thread Inki Dae
-Original Message- From: Lucas Stach [mailto:l.st...@pengutronix.de] Sent: Thursday, June 20, 2013 4:47 PM To: Inki Dae Cc: 'Russell King - ARM Linux'; 'Inki Dae'; 'linux-fbdev'; 'YoungJun Cho'; 'Kyungmin Park'; 'myungjoo.ham'; 'DRI mailing list'; linux-arm- ker

RE: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-20 Thread Inki Dae
-Original Message- From: Lucas Stach [mailto:l.st...@pengutronix.de] Sent: Thursday, June 20, 2013 7:11 PM To: Inki Dae Cc: 'Russell King - ARM Linux'; 'Inki Dae'; 'linux-fbdev'; 'YoungJun Cho'; 'Kyungmin Park'; 'myungjoo.ham'; 'DRI mailing list'; linux-arm- ker

Re: [PATCH] dma-buf: mmap support

2012-04-24 Thread InKi Dae
Hi, +static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) +{ +       struct dma_buf *dmabuf; + +       if (!is_dma_buf_file(file)) +               return -EINVAL; + +       dmabuf = file-private_data; + +       /* check for overflowing the buffer's size */

Re: [PATCH] dma-buf: mmap support

2012-04-24 Thread InKi Dae
2012/4/25, Daniel Vetter dan...@ffwll.ch: On Wed, Apr 25, 2012 at 01:37:51AM +0900, InKi Dae wrote: Hi, +static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) +{ + struct dma_buf *dmabuf; + + if (!is_dma_buf_file(file

[PATCH v9 0/2] Introduce buffer synchronization framework

2013-09-17 Thread Inki Dae
| | |-- Request page flip (deferred) | - vsync signal |-- Displayed on screen | | | | - vsync signal Thanks, Inki Dae References: [1] http://lwn.net/Articles

[PATCH v9 1/2] dmabuf-sync: Add a buffer synchronization framework

2013-09-17 Thread Inki Dae
will be returned at once. References: [1] http://lwn.net/Articles/470339/ [2] https://patchwork.kernel.org/patch/2625361/ [3] http://linux.die.net/man/2/fcntl Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 286

[PATCH v2 2/2] dma-buf: Add user interfaces for dmabuf sync support

2013-09-17 Thread Inki Dae
intefaces for the DMA device driver. Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/base/dma-buf.c | 81 1 file changed, 81 insertions(+) diff --git a/drivers/base/dma-buf.c b

Re: [PATCH 2/2] [RFC] video: display: Adding frame related ops to MIPI DSI video source struct

2013-01-09 Thread Inki Dae
to avoid such thing. Thanks, Inki Dae -- Regards, Laurent Pinchart ___ dri-devel mailing list dri-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel -- To unsubscribe from this list: send the line unsubscribe linux

Re: [Linaro-mm-sig] [PATCH 5/7] seqno-fence: Hardware dma-buf implementation of fencing (v4)

2013-01-15 Thread Inki Dae
in fh-entries. - release each seqno_fence_dmabuf object in seqno_fence's sync_buf_list and call dma_buf_put() to put the reference count to dmabuf. Now the fence-helper framework is just WIP yet so there may be my missing points. If you are ok, I'd like to post it as RFC. Thanks, Inki Dae

Re: [Linaro-mm-sig] [PATCH 5/7] seqno-fence: Hardware dma-buf implementation of fencing (v4)

2013-01-16 Thread Inki Dae
2013/1/16 Maarten Lankhorst maarten.lankho...@canonical.com: Op 16-01-13 07:28, Inki Dae schreef: 2013/1/15 Maarten Lankhorst m.b.lankho...@gmail.com: This type of fence can be used with hardware synchronization for simple hardware that can block execution until the condition (dma_buf[offset

Re: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-01-30 Thread Inki Dae
2013/1/25 Sachin Kamat sachin.ka...@linaro.org: From: Ajay Kumar ajaykumar...@samsung.com This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Signed-off-by: Sachin Kamat sachin.ka...@linaro.org ---

RE: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-01-30 Thread Inki Dae
-Original Message- From: Sylwester Nawrocki [mailto:sylvester.nawro...@gmail.com] Sent: Thursday, January 31, 2013 5:51 AM To: Inki Dae Cc: Sachin Kamat; linux-media@vger.kernel.org; dri- de...@lists.freedesktop.org; devicetree-disc...@lists.ozlabs.org; patc...@linaro.org; s.nawro

Re: [Linaro-mm-sig] [PATCH 4/7] fence: dma-buf cross-device synchronization (v11)

2013-01-31 Thread Inki Dae
with FENCE_FLAG_ACCESS_READ_BIT so that other consumers could ignore the fence-wait to any read operations. Thanks, Inki Dae -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [Linaro-mm-sig] [PATCH 4/7] fence: dma-buf cross-device synchronization (v11)

2013-01-31 Thread Inki Dae
2013/1/31 Daniel Vetter dan...@ffwll.ch: On Thu, Jan 31, 2013 at 06:32:15PM +0900, Inki Dae wrote: Hi, below is my opinion. +struct fence; +struct fence_ops; +struct fence_cb; + +/** + * struct fence - software synchronization primitive + * @refcount: refcount for this fence

RE: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-01-31 Thread Inki Dae
Hi Kukjin, -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Kukjin Kim Sent: Friday, February 01, 2013 9:15 AM To: 'Sylwester Nawrocki'; 'Inki Dae' Cc: 'Sachin Kamat'; linux-media@vger.kernel.org; dri- de

RE: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-01 Thread Inki Dae
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sachin Kamat Sent: Friday, February 01, 2013 8:13 PM To: Sylwester Nawrocki Cc: Inki Dae; Kukjin Kim; Sylwester Nawrocki; linux-media@vger.kernel.org; dri-de

RE: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-01 Thread Inki Dae
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sachin Kamat Sent: Friday, February 01, 2013 8:40 PM To: Inki Dae Cc: Sylwester Nawrocki; Kukjin Kim; Sylwester Nawrocki; linux- me...@vger.kernel.org; dri-de

Re: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-01 Thread Inki Dae
2013. 2. 1. 오후 8:52 Inki Dae inki@samsung.com 작성: -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sachin Kamat Sent: Friday, February 01, 2013 8:40 PM To: Inki Dae Cc: Sylwester Nawrocki; Kukjin Kim

Re: [Linaro-mm-sig] [PATCH 6/7] reservation: cross-device reservation support

2013-02-03 Thread Inki Dae
comments for them? Thanks, Inki Dae + fence_get(fence); + + mutex_unreserve_unlock(bo-lock); + } + reservation_ticket_fini(ticket); +} +EXPORT_SYMBOL(ticket_commit); -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

Re: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-04 Thread Inki Dae
2013/2/4 Sachin Kamat sachin.ka...@linaro.org: On 1 February 2013 18:28, Inki Dae daei...@gmail.com wrote: 2013. 2. 1. 오후 8:52 Inki Dae inki@samsung.com 작성: -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf

RE: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-05 Thread Inki Dae
and drm. So is .../bindings/gpu proper place? Thanks, Inki Dae + {}, +}; +MODULE_DEVICE_TABLE(of, exynos_g2d_match); +#endif + struct platform_driver g2d_driver = { .probe = g2d_probe, .remove = g2d_remove, @@ -1247,5 +1256,6 @@ struct platform_driver

RE: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Inki Dae
-Original Message- From: Sachin Kamat [mailto:sachin.ka...@linaro.org] Sent: Wednesday, February 06, 2013 5:03 PM To: Inki Dae Cc: linux-media@vger.kernel.org; dri-de...@lists.freedesktop.org; devicetree-disc...@lists.ozlabs.org; k.deb...@samsung.com; s.nawro...@samsung.com; kgene

RE: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Inki Dae
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sylwester Nawrocki Sent: Wednesday, February 06, 2013 8:24 PM To: Inki Dae Cc: 'Sachin Kamat'; linux-media@vger.kernel.org; dri- de...@lists.freedesktop.org

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-12 Thread Inki Dae
Applied and will go to -next. And please post the document(in Documentation/devicetree/bindings/gpu/) for it later. Thanks, Inki Dae 2013/2/6 Sachin Kamat sachin.ka...@linaro.org: From: Ajay Kumar ajaykumar...@samsung.com This patch adds device tree match table for Exynos G2D controller

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-12 Thread Inki Dae
2013/2/12 Sylwester Nawrocki s.nawro...@samsung.com: On 02/12/2013 02:17 PM, Inki Dae wrote: Applied and will go to -next. And please post the document(in Documentation/devicetree/bindings/gpu/) for it later. There is already some old patch applied in the devicetree/next tree: http

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

2013-02-14 Thread Inki Dae
2013/2/6 Vikas Sajjan vikas.saj...@linaro.org: Add support for parsing the display-timing node using video helper function. The DT node parsing and pinctrl selection is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela

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

2013-02-20 Thread Inki Dae
+ with return value: %d\n, ret); + return ret; + } + + pctrl = devm_pinctrl_get_select_default(dev); Why does it need pinctrl? and even though needed, I think this should be separated into another one. Thanks, Inki Dae

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

2013-03-06 Thread Inki Dae
be selected. Thanks, Inki Dae + if (ret) { + DRM_ERROR(failed: of_get_fb_videomode() : %d\n, ret); + return ret; + } + } else { + pdata = pdev-dev.platform_data; + if (!pdata

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

2013-03-06 Thread Inki Dae
Already merged. :) -Original Message- From: Vikas Sajjan [mailto:vikas.saj...@linaro.org] Sent: Thursday, March 07, 2013 4:09 PM To: InKi Dae Cc: dri-de...@lists.freedesktop.org; linux-media@vger.kernel.org; kgene@samsung.com; Joonyoung Shim; sunil joshi Subject: Re: [PATCH

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

2013-03-07 Thread Inki Dae
/Kconfig @@ -25,6 +25,8 @@ config DRM_EXYNOS_DMABUF config DRM_EXYNOS_FIMD bool Exynos DRM FIMD depends on DRM_EXYNOS !FB_S3C !ARCH_MULTIPLATFORM Again, you missed 'OF' dependency. At least, let's have build testing surely before posting :) Thanks, Inki Dae + select OF_VIDEOMODE

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

2013-03-27 Thread Inki Dae
); + return ret; + } + Please remove the above two clk_prepare_enable function calls and use them in fimd_clock() instead of clk_enable/disable(). When probed, fimd clock will be enabled by runtime pm. Thanks, Inki Dae ctx-vidcon0 = pdata-vidcon0; ctx-vidcon1 = pdata-vidcon1

RE: [PATCH v1 01/14] media: s5p-hdmi: add HPD GPIO to platform data

2012-10-04 Thread Inki Dae
Hello Media guys, This is dependent of exynos drm patch set to be merged to mainline so if there is no problem then please, give me ack so that I can merge this patch with exynos drm patch set. Thanks, Inki Dae -Original Message- From: RAHUL SHARMA [mailto:rahul.sha...@samsung.com

Re: [RFC 0/5] Generic panel framework

2012-10-20 Thread Inki Dae
) and FIMC(Exynos SoC). Thanks, Inki Dae drivers/video/Kconfig |1 + drivers/video/Makefile |1 + drivers/video/panel/Kconfig| 37 +++ drivers/video/panel/Makefile |5 + drivers/video/panel/panel-dbi.c| 217 +++ drivers

Re: [RFC 0/5] Generic panel framework

2012-10-20 Thread Inki Dae
mode way(same as cpu mode)? This panel includes framebuffer internally and needs triggering from Display controller to update a new frame on that internal framebuffer. I think we also need this trigger interface. Thanks, Inki Dae dummy panels there's really no such level, there's just one enable

Re: [RFC 0/5] Generic panel framework

2012-10-20 Thread Inki Dae
correct some typo. Sorry for this. 2012/10/20 Inki Dae inki@samsung.com: Hi Laurent. sorry for being late. 2012/8/17 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi everybody, While working on DT bindings for the Renesas Mobile SoC display controller (a.k.a. LCDC) I quickly

Re: [RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-21 Thread Inki Dae
2013/6/21 Lucas Stach l.st...@pengutronix.de: Hi Inki, please refrain from sending HTML Mails, it makes proper quoting without messing up the layout everywhere pretty hard. Sorry about that. I should have used text mode. Am Freitag, den 21.06.2013, 20:01 +0900 schrieb Inki Dae

Re: [RFC PATCH] dmabuf-sync: Introduce buffer synchronization framework

2013-06-25 Thread Inki Dae
2013/6/25 Rob Clark robdcl...@gmail.com: On Tue, Jun 25, 2013 at 5:09 AM, Inki Dae daei...@gmail.com wrote: that should be the role of kernel memory management which of course needs synchronization btw A and B. But in no case this should be done using dma-buf. dma-buf is for sharing content

Re: [RFC PATCH] dmabuf-sync: Introduce buffer synchronization framework

2013-06-26 Thread Inki Dae
2013/6/25 Jerome Glisse j.gli...@gmail.com: On Tue, Jun 25, 2013 at 10:17 AM, Inki Dae daei...@gmail.com wrote: 2013/6/25 Rob Clark robdcl...@gmail.com: On Tue, Jun 25, 2013 at 5:09 AM, Inki Dae daei...@gmail.com wrote: that should be the role of kernel memory management which of course needs

[RFC PATCH v4 0/2] Introduce buffer synchronization framework

2013-07-10 Thread Inki Dae
://lwn.net/Articles/470339/ [2] http://lwn.net/Articles/532616/ [3] https://patchwork.kernel.org/patch/2625361/ [4] http://linux.die.net/man/2/fcntl Inki Dae (2): dmabuf-sync: Introduce buffer synchronization framework dma-buf: add lock callback for fcntl system call. Documentation/dma-buf

[RFC PATCH v1 2/2] dma-buf: add lock callback for fcntl system call.

2013-07-10 Thread Inki Dae
This patch adds lock callback to dma buf file operations, and this callback will be called by fcntl system call. With this patch, fcntl system call can be used for buffer synchronization between CPU and CPU, and CPU and DMA in user mode. Signed-off-by: Inki Dae inki@samsung.com Signed-off

[RFC PATCH v4 1/2] dmabuf-sync: Introduce buffer synchronization framework

2013-07-10 Thread Inki Dae
/2625361/ [4] http://linux.die.net/man/2/fcntl Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 283 + drivers/base/Kconfig |7 + drivers/base/Makefile |1 + drivers/base

[RFC PATCH v5 1/2] dmabuf-sync: Introduce buffer synchronization framework

2013-07-12 Thread Inki Dae
/2625361/ [3] http://linux.die.net/man/2/fcntl Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 290 + drivers/base/Kconfig |7 + drivers/base/Makefile |1 + drivers/base

[RFC PATCH v1 2/2] dma-buf: add lock callback for fcntl system call

2013-07-12 Thread Inki Dae
This patch adds lock callback to dma buf file operations, and this callback will be called by fcntl system call. With this patch, fcntl system call can be used for buffer synchronization between CPU and CPU, and CPU and DMA in user mode. Signed-off-by: Inki Dae inki@samsung.com Signed-off

[RFC PATCH 0/2 v5] Introduce buffer synchronization framework

2013-07-12 Thread Inki Dae
://patchwork.kernel.org/patch/2625361/ [3] http://linux.die.net/man/2/fcntl Inki Dae (2): [RFC PATCH v5 1/2] dmabuf-sync: Introduce buffer synchronization framework [RFC PATCH v1 2/2] dma-buf: add lock callback for fcntl system call Documentation/dma-buf-sync.txt | 290 + drivers/base/Kconfig

About buffer sychronization mechanism and cache operation

2013-08-12 Thread Inki Dae
(fcntl and select system calls), and the dmabuf sync framework could meet it. Thanks, Inki Dae -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/2] [RFC PATCH v6] dmabuf-sync: Add a buffer synchronization framework

2013-08-13 Thread Inki Dae
://linux.die.net/man/2/fcntl Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 285 + drivers/base/Kconfig |7 + drivers/base/Makefile |1 + drivers/base/dma-buf.c

[RFC PATCH v6 0/2] Introduce buffer synchronization framework

2013-08-13 Thread Inki Dae
|-- Displayed on screen | | | | - vsync signal Thanks, Inki Dae References: [1] http://lwn.net/Articles/470339/ [2] https://patchwork.kernel.org/patch/2625361/ [3] http://linux.die.net/man/2/fcntl Inki Dae (2

[Resend][RFC PATCH v6 0/2] Introduce buffer synchronization framework

2013-08-13 Thread Inki Dae
signal Thanks, Inki Dae References: [1] http://lwn.net/Articles/470339/ [2] https://patchwork.kernel.org/patch/2625361/ [3] http://linux.die.net/man/2/fcntl Inki Dae (2): [RFC PATCH v6] dmabuf-sync: Add a buffer synchronization framework [RFC PATCH v2] dma-buf: Add user interfaces

RE: [PATCH v2 0/5] Exynos5 M-Scaler Driver

2013-08-19 Thread Inki Dae
? It seems that only Exynos5420 and maybe Exynos5410 have this IP, NOT Exynos5250. Please check it again and describe it surely over the all patch series. Thanks, Inki Dae This device supports the following as key features. input image format - YCbCr420 2P(UV/VU), 3P

RE: [PATCH v2 4/5] [media] exynos-mscl: Add DT bindings for M-Scaler driver

2013-08-19 Thread Inki Dae
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha Sent: Monday, August 19, 2013 7:59 PM To: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org Cc: s.nawro...@samsung.com;

RE: [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler

2013-08-20 Thread Inki Dae
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha Sent: Tuesday, August 20, 2013 5:07 PM To: Inki Dae Cc: Shaik Ameer Basha; LMML; linux-samsung-...@vger.kernel.org; c...@samsung.com; Sylwester

RE: [PATCH 1/2] [RFC PATCH v6] dmabuf-sync: Add a buffer synchronization framework

2013-08-21 Thread Inki Dae
Thanks for the review, Inki Dae -Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Konrad Rzeszutek Wilk Sent: Wednesday, August 21, 2013 4:22 AM To: Inki Dae Cc: dri-de...@lists.freedesktop.org; linux-fb

[PATCH v7 0/2] Introduce buffer synchronization framework

2013-08-21 Thread Inki Dae
gpu rendering time | | |-- Request page flip (deferred) | - vsync signal |-- Displayed on screen | | | | - vsync signal Thanks, Inki Dae

[PATCH v7 1/2] dmabuf-sync: Add a buffer synchronization framework

2013-08-21 Thread Inki Dae
/ [2] https://patchwork.kernel.org/patch/2625361/ [3] http://linux.die.net/man/2/fcntl Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 286 drivers/base/Kconfig |7 + drivers/base

RE: [PATCH v2 2/2] dma-buf: Add user interfaces for dmabuf sync support

2013-08-22 Thread Inki Dae
Thanks for your comments, Inki Dae -Original Message- From: David Herrmann [mailto:dh.herrm...@gmail.com] Sent: Wednesday, August 21, 2013 10:17 PM To: Inki Dae Cc: dri-de...@lists.freedesktop.org; linux-fb...@vger.kernel.org; linux- arm-ker...@lists.infradead.org; linux-media

[PATCH v8 0/2] Introduce buffer synchronization framework

2013-08-29 Thread Inki Dae
|-- Displayed on screen | | | | - vsync signal Thanks, Inki Dae References: [1] http://lwn.net/Articles/470339/ [2] https://patchwork.kernel.org/patch/2625361/ [3] http://linux.die.net/man/2/fcntl [4] https://www.tizen.org/ Inki Dae (2

[PATCH v2 2/2] dma-buf: Add user interfaces for dmabuf sync support

2013-08-29 Thread Inki Dae
intefaces for the DMA device driver. Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/base/dma-buf.c | 81 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/drivers/base

[PATCH v8 1/2] dmabuf-sync: Add a buffer synchronization framework

2013-08-29 Thread Inki Dae
://linux.die.net/man/2/fcntl Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/dma-buf-sync.txt | 286 drivers/base/Kconfig |7 + drivers/base/Makefile |1 + drivers/base/dma-buf.c

Re: exynos4 / g2d

2014-02-10 Thread Inki Dae
series. Thanks, Inki Dae -- With warm regards, Sachin -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line

Re: [PATCH 9/9] drm/exynos: Convert g2d_userptr_get_dma_addr() to use get_vaddr_frames()

2015-05-14 Thread Inki Dae
) goto err_free; - } - down_read(current-mm-mmap_sem); - vma = find_vma(current-mm, userptr); For vma, ditto. Thanks, Inki Dae [--SNIP--] -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 9/9] drm/exynos: Convert g2d_userptr_get_dma_addr() to use get_vaddr_frames()

2015-07-17 Thread Inki Dae
that the function has been mapping user provided address without holding mmap_sem. I'd like to see an Ack from one of the exynos drm driver maintainers before I merge this. Inki, Marek? I already gave Ack but it seems that Jan missed it while updating. Anyway, Acked-by: Inki Dae inki

  1   2   >