LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] atmel_lcdfb: adjust fifo size for at91sam9rl
@ 2008-03-10 16:36 Nicolas Ferre
  2008-03-13 20:59 ` [Linux-fbdev-devel] " Haavard Skinnemoen
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Ferre @ 2008-03-10 16:36 UTC (permalink / raw)
  To: linux-fbdev-devel, Linux Kernel list
  Cc: ARM Linux Mailing List, Andrew Victor, Sedji GAOUAOU, Patrice VILCHEZ

AT91SAM9RL soc has a 2048 bytes deep FIFO, like AT91SAM9263.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---

--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -30,7 +30,7 @@
 #define ATMEL_LCDC_CVAL_DEFAULT		0xc8
 #define ATMEL_LCDC_DMA_BURST_LEN	8
 
-#if defined(CONFIG_ARCH_AT91SAM9263)
+#if defined(CONFIG_ARCH_AT91SAM9263) || defined(CONFIG_ARCH_AT91SAM9RL)
 #define ATMEL_LCDC_FIFO_SIZE		2048
 #else
 #define ATMEL_LCDC_FIFO_SIZE		512


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

* Re: [Linux-fbdev-devel] [PATCH] atmel_lcdfb: adjust fifo size for at91sam9rl
  2008-03-10 16:36 [PATCH] atmel_lcdfb: adjust fifo size for at91sam9rl Nicolas Ferre
@ 2008-03-13 20:59 ` Haavard Skinnemoen
  0 siblings, 0 replies; 2+ messages in thread
From: Haavard Skinnemoen @ 2008-03-13 20:59 UTC (permalink / raw)
  To: nicolas.ferre
  Cc: linux-fbdev-devel, Linux Kernel list, Sedji GAOUAOU,
	Patrice VILCHEZ, ARM Linux Mailing List, Andrew Victor

On Mon, 10 Mar 2008 17:36:42 +0100
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:

> -#if defined(CONFIG_ARCH_AT91SAM9263)
> +#if defined(CONFIG_ARCH_AT91SAM9263) || defined(CONFIG_ARCH_AT91SAM9RL)
>  #define ATMEL_LCDC_FIFO_SIZE		2048
>  #else
>  #define ATMEL_LCDC_FIFO_SIZE		512

Hmm. Perhaps it's time to consider moving this parameter to
platform_data?

Haavard

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

end of thread, other threads:[~2008-03-13 20:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-10 16:36 [PATCH] atmel_lcdfb: adjust fifo size for at91sam9rl Nicolas Ferre
2008-03-13 20:59 ` [Linux-fbdev-devel] " Haavard Skinnemoen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).