Skip to contentSkip to conversation

ARM: EXYNOS4: Update consistent DMA size to 8MB

PATCH RESEND New HATIMALI RV 2 participants 2 messages Sep 21, 2011 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

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<[email protected]>
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

Quoted 32 lines · 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.

---
 arch/arm/mach-exynos4/include/mach/memory.h |    2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos4/include/mach/memory.h +2 -1
index 374ef2c..7549742 100644
@@ -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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

#1 lore raw

PATCH RESEND 2/3 ARM: EXYNOS4: Update consistent DMA size to 8MB

Hi,

Quoted 6 lines · HATIMALI RV

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

Quoted 51 lines

Thanks for your review.

Regards,
Hatim Ali

------- Original Message -------
Sender : Kyungmin Park<[email protected]>
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

Quoted 27 lines · 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.

---
  arch/arm/mach-exynos4/include/mach/memory.h |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos4/include/mach/memory.h +2 -1
index 374ef2c..7549742 100644
@@ -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

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

N‹§²æìr¸›yúèšØb²X¬¶Ç§vØ^–)Þº{.nÇ+‰·¥Š{±±©¬ºx,¡È§¶›¡Ü¨}©ž²Æ zÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ߢfl===

Signature · 1 line
Tushar Behera