All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
  2011-09-21  5:44 [PATCH V2 0/3] Add TVOUT support for SMDKV310 Hatim Ali
@ 2011-09-21  5:44   ` Hatim Ali
  0 siblings, 0 replies; 9+ messages in thread
From: Hatim Ali @ 2011-09-21  5:44 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc, kgene.kim
  Cc: t.stanislaws, mchehab, hverkuil, laurent.pinchart, banajit.g,
	Hatim Ali

Change the consistent DMA allocation to 8MB to support the
TVOUT driver.

NOTE: Once CMA support is merged into mainline, we will use it for memory
allocation.

Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
---
 arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
index 374ef2c..7549742 100644
--- a/arch/arm/mach-exynos4/include/mach/memory.h
+++ b/arch/arm/mach-exynos4/include/mach/memory.h
@@ -15,6 +15,8 @@
 
 #define PLAT_PHYS_OFFSET		UL(0x40000000)
 
+#define CONSISTENT_DMA_SIZE		SZ_8M
+
 /* Maximum of 256MiB in one bank */
 #define MAX_PHYSMEM_BITS	32
 #define SECTION_SIZE_BITS	28
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
@ 2011-09-21  5:44   ` Hatim Ali
  0 siblings, 0 replies; 9+ messages in thread
From: Hatim Ali @ 2011-09-21  5:44 UTC (permalink / raw)
  To: linux-arm-kernel

Change the consistent DMA allocation to 8MB to support the
TVOUT driver.

NOTE: Once CMA support is merged into mainline, we will use it for memory
allocation.

Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
---
 arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
index 374ef2c..7549742 100644
--- a/arch/arm/mach-exynos4/include/mach/memory.h
+++ b/arch/arm/mach-exynos4/include/mach/memory.h
@@ -15,6 +15,8 @@
 
 #define PLAT_PHYS_OFFSET		UL(0x40000000)
 
+#define CONSISTENT_DMA_SIZE		SZ_8M
+
 /* Maximum of 256MiB in one bank */
 #define MAX_PHYSMEM_BITS	32
 #define SECTION_SIZE_BITS	28
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
  2011-09-21  5:44   ` Hatim Ali
@ 2011-09-21  6:25     ` Kyungmin Park
  -1 siblings, 0 replies; 9+ messages in thread
From: Kyungmin Park @ 2011-09-21  6:25 UTC (permalink / raw)
  To: Hatim Ali
  Cc: linux-arm-kernel, linux-samsung-soc, kgene.kim, t.stanislaws,
	mchehab, hverkuil, laurent.pinchart, banajit.g

Hi,

As I know,  CONSISTENT_DMA_SIZE is removed, please use the updated APIs.

Thank you,
Kyungmin Park

On Wed, Sep 21, 2011 at 2:44 PM, Hatim Ali <hatim.rv@samsung.com> wrote:
> Change the consistent DMA allocation to 8MB to support the
> TVOUT driver.
>
> NOTE: Once CMA support is merged into mainline, we will use it for memory
> allocation.
>
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
> ---
>  arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
> index 374ef2c..7549742 100644
> --- a/arch/arm/mach-exynos4/include/mach/memory.h
> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
> @@ -15,6 +15,8 @@
>
>  #define PLAT_PHYS_OFFSET               UL(0x40000000)
>
> +#define CONSISTENT_DMA_SIZE            SZ_8M
> +
>  /* Maximum of 256MiB in one bank */
>  #define MAX_PHYSMEM_BITS       32
>  #define SECTION_SIZE_BITS      28
> --
> 1.7.2.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
@ 2011-09-21  6:25     ` Kyungmin Park
  0 siblings, 0 replies; 9+ messages in thread
From: Kyungmin Park @ 2011-09-21  6:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

As I know,  CONSISTENT_DMA_SIZE is removed, please use the updated APIs.

Thank you,
Kyungmin Park

On Wed, Sep 21, 2011 at 2:44 PM, Hatim Ali <hatim.rv@samsung.com> wrote:
> Change the consistent DMA allocation to 8MB to support the
> TVOUT driver.
>
> NOTE: Once CMA support is merged into mainline, we will use it for memory
> allocation.
>
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
> ---
> ?arch/arm/mach-exynos4/include/mach/memory.h | ? ?2 ++
> ?1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
> index 374ef2c..7549742 100644
> --- a/arch/arm/mach-exynos4/include/mach/memory.h
> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
> @@ -15,6 +15,8 @@
>
> ?#define PLAT_PHYS_OFFSET ? ? ? ? ? ? ? UL(0x40000000)
>
> +#define CONSISTENT_DMA_SIZE ? ? ? ? ? ?SZ_8M
> +
> ?/* Maximum of 256MiB in one bank */
> ?#define MAX_PHYSMEM_BITS ? ? ? 32
> ?#define SECTION_SIZE_BITS ? ? ?28
> --
> 1.7.2.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
@ 2011-09-21  7:22 HATIMALI RV
  2011-09-21  9:23   ` Tushar Behera
  0 siblings, 1 reply; 9+ messages in thread
From: HATIMALI RV @ 2011-09-21  7:22 UTC (permalink / raw)
  To: Kyungmin Park
  Cc: linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, Kukjin Kim,
	Tomasz Stanislawski, mchehab@infradead.org, hverkuil@xs4all.nl,
	laurent.pinchart@ideasonboard.com, BANAJIT GOSWAMI

Hello Mr. Park,

As I mentioned in the cover letter of v1 patch set (http://www.spinics.net/lists/arm-kernel/msg138054.html),
this is a temporary patch which is just for testing HDMI on SMDKV310.
Once CMA gets merged, we will be using that to allocate memory.

Thanks for your review.

Regards,
Hatim Ali

------- Original Message -------
Sender : Kyungmin Park<kmpark@infradead.org> 
Date   : Sep 21, 2011 11:55 (GMT+05:30)
Title  : Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB

Hi,

As I know,  CONSISTENT_DMA_SIZE is removed, please use the updated APIs.

Thank you,
Kyungmin Park

On Wed, Sep 21, 2011 at 2:44 PM, Hatim Ali <hatim.rv@samsung.com> wrote:
> Change the consistent DMA allocation to 8MB to support the
> TVOUT driver.
>
> NOTE: Once CMA support is merged into mainline, we will use it for memory
> allocation.
>
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
> ---
>  arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
> index 374ef2c..7549742 100644
> --- a/arch/arm/mach-exynos4/include/mach/memory.h
> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
> @@ -15,6 +15,8 @@
>
>  #define PLAT_PHYS_OFFSET               UL(0x40000000)
>
> +#define CONSISTENT_DMA_SIZE            SZ_8M
> +
>  /* Maximum of 256MiB in one bank */
>  #define MAX_PHYSMEM_BITS       32
>  #define SECTION_SIZE_BITS      28
> --
> 1.7.2.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
  2011-09-21  7:22 Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB HATIMALI RV
@ 2011-09-21  9:23   ` Tushar Behera
  0 siblings, 0 replies; 9+ messages in thread
From: Tushar Behera @ 2011-09-21  9:23 UTC (permalink / raw)
  To: hatim.rv
  Cc: Kyungmin Park, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, Kukjin Kim,
	Tomasz Stanislawski, mchehab@infradead.org, hverkuil@xs4all.nl,
	laurent.pinchart@ideasonboard.com, BANAJIT GOSWAMI

Hi,

On Wednesday 21 September 2011 12:52 PM, HATIMALI RV wrote:
> Hello Mr. Park,
>
> As I mentioned in the cover letter of v1 patch set (http://www.spinics.net/lists/arm-kernel/msg138054.html),
> this is a temporary patch which is just for testing HDMI on SMDKV310.
> Once CMA gets merged, we will be using that to allocate memory.
>
The macro definition CONSISTENT_DMA_SIZE has been removed and has been 
replaced by a function call. Please refer to this patch.

http://www.spinics.net/lists/linux-samsung-soc/msg06627.html

> Thanks for your review.
>
> Regards,
> Hatim Ali
>
> ------- Original Message -------
> Sender : Kyungmin Park<kmpark@infradead.org>
> Date   : Sep 21, 2011 11:55 (GMT+05:30)
> Title  : Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
>
> Hi,
>
> As I know,  CONSISTENT_DMA_SIZE is removed, please use the updated APIs.
>
> Thank you,
> Kyungmin Park
>
> On Wed, Sep 21, 2011 at 2:44 PM, Hatim Ali<hatim.rv@samsung.com>  wrote:
>> Change the consistent DMA allocation to 8MB to support the
>> TVOUT driver.
>>
>> NOTE: Once CMA support is merged into mainline, we will use it for memory
>> allocation.
>>
>> Signed-off-by: Hatim Ali<hatim.rv@samsung.com>
>> ---
>>   arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
>> index 374ef2c..7549742 100644
>> --- a/arch/arm/mach-exynos4/include/mach/memory.h
>> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
>> @@ -15,6 +15,8 @@
>>
>>   #define PLAT_PHYS_OFFSET               UL(0x40000000)
>>
>> +#define CONSISTENT_DMA_SIZE            SZ_8M
>> +
>>   /* Maximum of 256MiB in one bank */
>>   #define MAX_PHYSMEM_BITS       32
>>   #define SECTION_SIZE_BITS      28
>> --
>> 1.7.2.3
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> N‹§²æìr¸›yúèšØb²X¬¶Ç§vØ^–)Þº{.nÇ+‰·¥Š{±±©¬ºx,¡È§¶\x17›¡Ü¨}©ž²Æ zÚ&j:+v‰¨¾\a«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹\x1e®w¥¢¸?™¨è­Ú&¢)ߢ^[fl===


-- 
Tushar Behera

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
@ 2011-09-21  9:23   ` Tushar Behera
  0 siblings, 0 replies; 9+ messages in thread
From: Tushar Behera @ 2011-09-21  9:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Wednesday 21 September 2011 12:52 PM, HATIMALI RV wrote:
> Hello Mr. Park,
>
> As I mentioned in the cover letter of v1 patch set (http://www.spinics.net/lists/arm-kernel/msg138054.html),
> this is a temporary patch which is just for testing HDMI on SMDKV310.
> Once CMA gets merged, we will be using that to allocate memory.
>
The macro definition CONSISTENT_DMA_SIZE has been removed and has been 
replaced by a function call. Please refer to this patch.

http://www.spinics.net/lists/linux-samsung-soc/msg06627.html

> Thanks for your review.
>
> Regards,
> Hatim Ali
>
> ------- Original Message -------
> Sender : Kyungmin Park<kmpark@infradead.org>
> Date   : Sep 21, 2011 11:55 (GMT+05:30)
> Title  : Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
>
> Hi,
>
> As I know,  CONSISTENT_DMA_SIZE is removed, please use the updated APIs.
>
> Thank you,
> Kyungmin Park
>
> On Wed, Sep 21, 2011 at 2:44 PM, Hatim Ali<hatim.rv@samsung.com>  wrote:
>> Change the consistent DMA allocation to 8MB to support the
>> TVOUT driver.
>>
>> NOTE: Once CMA support is merged into mainline, we will use it for memory
>> allocation.
>>
>> Signed-off-by: Hatim Ali<hatim.rv@samsung.com>
>> ---
>>   arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-exynos4/include/mach/memory.h
>> index 374ef2c..7549742 100644
>> --- a/arch/arm/mach-exynos4/include/mach/memory.h
>> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
>> @@ -15,6 +15,8 @@
>>
>>   #define PLAT_PHYS_OFFSET               UL(0x40000000)
>>
>> +#define CONSISTENT_DMA_SIZE            SZ_8M
>> +
>>   /* Maximum of 256MiB in one bank */
>>   #define MAX_PHYSMEM_BITS       32
>>   #define SECTION_SIZE_BITS      28
>> --
>> 1.7.2.3
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> N?????r??y????b?X????v?^?)??{.n?+????{?????x,????\x17????}???? z?&j:+v???\a????zZ+??+zf???h???~????i???z?
?w?????????&?)??^[fl===


-- 
Tushar Behera

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
  2011-09-21  5:44   ` Hatim Ali
@ 2011-09-21 11:57     ` Kukjin Kim
  -1 siblings, 0 replies; 9+ messages in thread
From: Kukjin Kim @ 2011-09-21 11:57 UTC (permalink / raw)
  To: 'Hatim Ali', linux-arm-kernel, linux-samsung-soc
  Cc: t.stanislaws, mchehab, hverkuil, laurent.pinchart, banajit.g

Hatim Ali wrote:
> 
> Change the consistent DMA allocation to 8MB to support the
> TVOUT driver.
> 
Probably, this conflicts with 'Remove define CONSISTENT_DMA_SIZE'. 

As other guy said, we need to check the progress of it before this.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.


> NOTE: Once CMA support is merged into mainline, we will use it for memory
> allocation.
> 
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
> ---
>  arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-
> exynos4/include/mach/memory.h
> index 374ef2c..7549742 100644
> --- a/arch/arm/mach-exynos4/include/mach/memory.h
> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
> @@ -15,6 +15,8 @@
> 
>  #define PLAT_PHYS_OFFSET		UL(0x40000000)
> 
> +#define CONSISTENT_DMA_SIZE		SZ_8M
> +
>  /* Maximum of 256MiB in one bank */
>  #define MAX_PHYSMEM_BITS	32
>  #define SECTION_SIZE_BITS	28
> --
> 1.7.2.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB
@ 2011-09-21 11:57     ` Kukjin Kim
  0 siblings, 0 replies; 9+ messages in thread
From: Kukjin Kim @ 2011-09-21 11:57 UTC (permalink / raw)
  To: linux-arm-kernel

Hatim Ali wrote:
> 
> Change the consistent DMA allocation to 8MB to support the
> TVOUT driver.
> 
Probably, this conflicts with 'Remove define CONSISTENT_DMA_SIZE'. 

As other guy said, we need to check the progress of it before this.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.


> NOTE: Once CMA support is merged into mainline, we will use it for memory
> allocation.
> 
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
> ---
>  arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos4/include/mach/memory.h b/arch/arm/mach-
> exynos4/include/mach/memory.h
> index 374ef2c..7549742 100644
> --- a/arch/arm/mach-exynos4/include/mach/memory.h
> +++ b/arch/arm/mach-exynos4/include/mach/memory.h
> @@ -15,6 +15,8 @@
> 
>  #define PLAT_PHYS_OFFSET		UL(0x40000000)
> 
> +#define CONSISTENT_DMA_SIZE		SZ_8M
> +
>  /* Maximum of 256MiB in one bank */
>  #define MAX_PHYSMEM_BITS	32
>  #define SECTION_SIZE_BITS	28
> --
> 1.7.2.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-21 11:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21  7:22 Re: [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB HATIMALI RV
2011-09-21  9:23 ` Tushar Behera
2011-09-21  9:23   ` Tushar Behera
  -- strict thread matches above, loose matches on Subject: below --
2011-09-21  5:44 [PATCH V2 0/3] Add TVOUT support for SMDKV310 Hatim Ali
2011-09-21  5:44 ` [RESEND PATCH 2/3] ARM: EXYNOS4: Update consistent DMA size to 8MB Hatim Ali
2011-09-21  5:44   ` Hatim Ali
2011-09-21  6:25   ` Kyungmin Park
2011-09-21  6:25     ` Kyungmin Park
2011-09-21 11:57   ` Kukjin Kim
2011-09-21 11:57     ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.