From: Kevin Hilman <khilman@deeprootsystems.com>
To: Roger Quadros <roger.quadros@nokia.com>
Cc: Tomi.Valkeinen@nokia.com, tony@atomide.com,
linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org
Subject: Re: [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support
Date: Thu, 06 May 2010 18:27:26 +0000 [thread overview]
Message-ID: <87hbmkvqb5.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1271333181-23609-2-git-send-email-roger.quadros@nokia.com> (Roger Quadros's message of "Thu\, 15 Apr 2010 15\:06\:17 +0300")
Roger Quadros <roger.quadros@nokia.com> writes:
> From: Roger Quadros <roger.quadros@nokia.com>
>
> Adds basic support for LCD Panel on Nokia N900
>
> Signed-off-by: Roger Quadros <roger.quadros@nokia.com>
Just noticed a compile problem here...
[...]
> diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c
[...]
> +void __init rx51_video_mem_init(void)
> +{
> + /*
> + * GFX 864x480x32bpp
> + * VID1/2 1280x720x32bpp double buffered
> + */
> + omap_vram_set_sdram_vram(PAGE_ALIGN(864 * 480 * 4) +
> + 2 * PAGE_ALIGN(1280 * 720 * 4 * 2), 0);
> +}
> +
> +#endif /* defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) */
This function is available conditionally based on the #ifdefs, but...
> diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c
> index b155c36..1b86b5b 100644
> --- a/arch/arm/mach-omap2/board-rx51.c
> +++ b/arch/arm/mach-omap2/board-rx51.c
> @@ -36,6 +36,7 @@
> #define RX51_GPIO_SLEEP_IND 162
>
> struct omap_sdrc_params *rx51_get_sdram_timings(void);
> +extern void rx51_video_mem_init(void);
>
> static struct gpio_led gpio_leds[] = {
> {
> @@ -143,6 +144,7 @@ static void __init rx51_init(void)
> static void __init rx51_map_io(void)
> {
> omap2_set_globals_343x();
> + rx51_video_mem_init();
... here it is always called, giving a compiler error when building
without FB support.
Kevin
WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Roger Quadros <roger.quadros@nokia.com>
Cc: Tomi.Valkeinen@nokia.com, tony@atomide.com,
linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org
Subject: Re: [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support
Date: Thu, 06 May 2010 11:27:26 -0700 [thread overview]
Message-ID: <87hbmkvqb5.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1271333181-23609-2-git-send-email-roger.quadros@nokia.com> (Roger Quadros's message of "Thu\, 15 Apr 2010 15\:06\:17 +0300")
Roger Quadros <roger.quadros@nokia.com> writes:
> From: Roger Quadros <roger.quadros@nokia.com>
>
> Adds basic support for LCD Panel on Nokia N900
>
> Signed-off-by: Roger Quadros <roger.quadros@nokia.com>
Just noticed a compile problem here...
[...]
> diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c
[...]
> +void __init rx51_video_mem_init(void)
> +{
> + /*
> + * GFX 864x480x32bpp
> + * VID1/2 1280x720x32bpp double buffered
> + */
> + omap_vram_set_sdram_vram(PAGE_ALIGN(864 * 480 * 4) +
> + 2 * PAGE_ALIGN(1280 * 720 * 4 * 2), 0);
> +}
> +
> +#endif /* defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) */
This function is available conditionally based on the #ifdefs, but...
> diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c
> index b155c36..1b86b5b 100644
> --- a/arch/arm/mach-omap2/board-rx51.c
> +++ b/arch/arm/mach-omap2/board-rx51.c
> @@ -36,6 +36,7 @@
> #define RX51_GPIO_SLEEP_IND 162
>
> struct omap_sdrc_params *rx51_get_sdram_timings(void);
> +extern void rx51_video_mem_init(void);
>
> static struct gpio_led gpio_leds[] = {
> {
> @@ -143,6 +144,7 @@ static void __init rx51_init(void)
> static void __init rx51_map_io(void)
> {
> omap2_set_globals_343x();
> + rx51_video_mem_init();
... here it is always called, giving a compiler error when building
without FB support.
Kevin
next prev parent reply other threads:[~2010-05-06 18:27 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-15 12:06 [PATCHv3 0/5] OMAP: RX51: Add LCD Panel Support for N900 Roger Quadros
2010-04-15 12:06 ` Roger Quadros
2010-04-15 12:06 ` [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support Roger Quadros
2010-04-15 12:06 ` Roger Quadros
2010-04-15 12:06 ` [PATCHv3 2/5] OMAP: RX51: Add "vdds_sdi" supply voltage for SDI Roger Quadros
2010-04-15 12:06 ` Roger Quadros
2010-04-15 12:06 ` [PATCHv3 3/5] OMAP: RX51: Add Touch Controller in SPI board info Roger Quadros
2010-04-15 12:06 ` Roger Quadros
2010-04-15 12:06 ` [PATCHv3 4/5] OMAP: DSS2: Add ACX565AKM Panel Driver Roger Quadros
2010-04-15 12:06 ` Roger Quadros
2010-04-15 12:06 ` [PATCHv3 5/5] OMAP: RX51: Update board defconfig Roger Quadros
2010-04-15 12:06 ` Roger Quadros
2010-05-06 18:27 ` Kevin Hilman [this message]
2010-05-06 18:27 ` [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support Kevin Hilman
2010-05-07 7:03 ` Roger Quadros
2010-05-07 7:03 ` Roger Quadros
2010-04-15 12:08 ` [PATCHv3 0/5] OMAP: RX51: Add LCD Panel Support for N900 Roger Quadros
2010-04-15 12:08 ` Roger Quadros
2010-04-15 14:00 ` Grazvydas Ignotas
2010-04-15 14:00 ` Grazvydas Ignotas
2010-04-15 14:05 ` Tomi Valkeinen
2010-04-15 14:05 ` Tomi Valkeinen
2010-04-20 12:53 ` Roger Quadros
2010-04-20 12:53 ` Roger Quadros
2010-04-20 14:40 ` Tomi Valkeinen
2010-04-20 14:40 ` Tomi Valkeinen
2010-04-21 7:15 ` Roger Quadros
2010-04-21 7:15 ` Roger Quadros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbmkvqb5.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=Tomi.Valkeinen@nokia.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=roger.quadros@nokia.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.