From: Roger Quadros <roger.quadros@nokia.com>
To: ext Kevin Hilman <khilman@deeprootsystems.com>
Cc: "Valkeinen Tomi (Nokia-D/Helsinki)" <Tomi.Valkeinen@nokia.com>,
"tony@atomide.com" <tony@atomide.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"linux-fbdev@vger.kernel.org" <linux-fbdev@vger.kernel.org>
Subject: Re: [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support
Date: Fri, 07 May 2010 07:03:57 +0000 [thread overview]
Message-ID: <4BE3BB5D.2000105@nokia.com> (raw)
In-Reply-To: <87hbmkvqb5.fsf@deeprootsystems.com>
Hi Kevin,
ext Kevin Hilman wrote:
> 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.
Thanks for pointing this out. will send another revision for this patch.
cheers,
-roger
next prev parent reply other threads:[~2010-05-07 7:03 UTC|newest]
Thread overview: 14+ 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 ` [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support 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 ` [PATCHv3 3/5] OMAP: RX51: Add Touch Controller in SPI board info Roger Quadros
2010-04-15 12:06 ` [PATCHv3 4/5] OMAP: DSS2: Add ACX565AKM Panel Driver Roger Quadros
2010-04-15 12:06 ` [PATCHv3 5/5] OMAP: RX51: Update board defconfig Roger Quadros
2010-05-06 18:27 ` [PATCHv3 1/5] OMAP: RX51: Add LCD Panel support Kevin Hilman
2010-05-07 7:03 ` Roger Quadros [this message]
2010-04-15 12:08 ` [PATCHv3 0/5] OMAP: RX51: Add LCD Panel Support for N900 Roger Quadros
2010-04-15 14:00 ` Grazvydas Ignotas
2010-04-15 14:05 ` Tomi Valkeinen
2010-04-20 12:53 ` Roger Quadros
2010-04-20 14:40 ` Tomi Valkeinen
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=4BE3BB5D.2000105@nokia.com \
--to=roger.quadros@nokia.com \
--cc=Tomi.Valkeinen@nokia.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--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 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).