public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* lcd rotation in omapfb_main.c
@ 2009-04-21 22:18 twebb
  2009-04-21 22:29 ` Marek Vasut
  0 siblings, 1 reply; 7+ messages in thread
From: twebb @ 2009-04-21 22:18 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org Mailing List

I'm trying to start up the LCD panel on a new omap35xx-based platform
in portrait mode, though the native orientation of the display is
landscape.  I'm running linux-2.6.27-omap1.  However, when I change
"def_rotate" to 90 in omapfb_main.c, it doesn't seem to make any
difference in the orientation of the display.  Any ideas why this
might be happening?  Could there be outstanding fixes/patches I need?

Thanks,
twebb

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

* Re: lcd rotation in omapfb_main.c
  2009-04-21 22:18 lcd rotation in omapfb_main.c twebb
@ 2009-04-21 22:29 ` Marek Vasut
  2009-04-22 12:39   ` twebb
  0 siblings, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2009-04-21 22:29 UTC (permalink / raw)
  To: twebb; +Cc: linux-omap@vger.kernel.org Mailing List

On Wednesday 22 of April 2009 00:18:54 twebb wrote:
> I'm trying to start up the LCD panel on a new omap35xx-based platform
> in portrait mode, though the native orientation of the display is
> landscape.  I'm running linux-2.6.27-omap1.  However, when I change
> "def_rotate" to 90 in omapfb_main.c, it doesn't seem to make any
> difference in the orientation of the display.  Any ideas why this
> might be happening?  Could there be outstanding fixes/patches I need?

change it to 1 or something ... btw. this should be configurable through some 
platform_data. Also, dont bring up new platform on deprecated kernel.
>
> Thanks,
> twebb
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" 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] 7+ messages in thread

* Re: lcd rotation in omapfb_main.c
  2009-04-21 22:29 ` Marek Vasut
@ 2009-04-22 12:39   ` twebb
  2009-04-22 13:25     ` Ashwin Bihari
  2009-04-22 13:32     ` Koen Kooi
  0 siblings, 2 replies; 7+ messages in thread
From: twebb @ 2009-04-22 12:39 UTC (permalink / raw)
  To: Marek Vasut; +Cc: linux-omap@vger.kernel.org Mailing List

On Tue, Apr 21, 2009 at 6:29 PM, Marek Vasut <marek.vasut@gmail.com> wrote:
> On Wednesday 22 of April 2009 00:18:54 twebb wrote:
>> I'm trying to start up the LCD panel on a new omap35xx-based platform
>> in portrait mode, though the native orientation of the display is
>> landscape.  I'm running linux-2.6.27-omap1.  However, when I change
>> "def_rotate" to 90 in omapfb_main.c, it doesn't seem to make any
>> difference in the orientation of the display.  Any ideas why this
>> might be happening?  Could there be outstanding fixes/patches I need?
>
> change it to 1 or something ... btw. this should be configurable through some
> platform_data. Also, dont bring up new platform on deprecated kernel.
>>

Since when is linux-omap v2.6.27-omap1 deprecated?  It's only 5 months
old!  Am I missing something here?

And the def_rotate is defined to be in degrees - I'm pretty sure
setting it to 1 won't work.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" 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] 7+ messages in thread

* Re: lcd rotation in omapfb_main.c
  2009-04-22 12:39   ` twebb
@ 2009-04-22 13:25     ` Ashwin Bihari
  2009-04-22 15:38       ` twebb
  2009-04-22 13:32     ` Koen Kooi
  1 sibling, 1 reply; 7+ messages in thread
From: Ashwin Bihari @ 2009-04-22 13:25 UTC (permalink / raw)
  To: twebb; +Cc: Marek Vasut, linux-omap@vger.kernel.org Mailing List

On Wed, Apr 22, 2009 at 8:39 AM, twebb <taliaferro62@gmail.com> wrote:
> On Tue, Apr 21, 2009 at 6:29 PM, Marek Vasut <marek.vasut@gmail.com> wrote:
>> On Wednesday 22 of April 2009 00:18:54 twebb wrote:
>>> I'm trying to start up the LCD panel on a new omap35xx-based platform
>>> in portrait mode, though the native orientation of the display is
>>> landscape.  I'm running linux-2.6.27-omap1.  However, when I change
>>> "def_rotate" to 90 in omapfb_main.c, it doesn't seem to make any
>>> difference in the orientation of the display.  Any ideas why this
>>> might be happening?  Could there be outstanding fixes/patches I need?
>>
>> change it to 1 or something ... btw. this should be configurable through some
>> platform_data. Also, dont bring up new platform on deprecated kernel.
>>>
>
> Since when is linux-omap v2.6.27-omap1 deprecated?  It's only 5 months
> old!  Am I missing something here?
>
> And the def_rotate is defined to be in degrees - I'm pretty sure
> setting it to 1 won't work.

Deprecated is probably a poor choice of words, but if you are indeed
bringing up a new platform, doing so on the newest Kernel you can find
will ensure that bringing in newer changes from the time you begin
your work will be easier.

The L-O tree is already about 2.6.30, so you're essentially 3
revisions out and you're just setting yourself up for a bunch of work
to port numerous changes into your Kernel.

And as Greg KH would probably say, 5 months in Kernel development land
is a really long period of time. :)

-- Ashwin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" 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] 7+ messages in thread

* Re: lcd rotation in omapfb_main.c
  2009-04-22 12:39   ` twebb
  2009-04-22 13:25     ` Ashwin Bihari
@ 2009-04-22 13:32     ` Koen Kooi
  1 sibling, 0 replies; 7+ messages in thread
From: Koen Kooi @ 2009-04-22 13:32 UTC (permalink / raw)
  To: twebb; +Cc: linux-omap@vger.kernel.org List

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]


Op 22 apr 2009, om 14:39 heeft twebb het volgende geschreven:

> On Tue, Apr 21, 2009 at 6:29 PM, Marek Vasut <marek.vasut@gmail.com>  
> wrote:
>> On Wednesday 22 of April 2009 00:18:54 twebb wrote:
>>> I'm trying to start up the LCD panel on a new omap35xx-based  
>>> platform
>>> in portrait mode, though the native orientation of the display is
>>> landscape.  I'm running linux-2.6.27-omap1.  However, when I change
>>> "def_rotate" to 90 in omapfb_main.c, it doesn't seem to make any
>>> difference in the orientation of the display.  Any ideas why this
>>> might be happening?  Could there be outstanding fixes/patches I  
>>> need?
>>
>> change it to 1 or something ... btw. this should be configurable  
>> through some
>> platform_data. Also, dont bring up new platform on deprecated kernel.
>>>
>
> Since when is linux-omap v2.6.27-omap1 deprecated?

It got deprecated when 2.6.28 was released

>  It's only 5 months
> old!  Am I missing something here?

Yes, it seems you have missed the release of 2.6.28 and 2.6.29.

regards,

Koen

[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

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

* Re: lcd rotation in omapfb_main.c
  2009-04-22 13:25     ` Ashwin Bihari
@ 2009-04-22 15:38       ` twebb
  2009-04-25 15:31         ` Marek Vasut
  0 siblings, 1 reply; 7+ messages in thread
From: twebb @ 2009-04-22 15:38 UTC (permalink / raw)
  To: Ashwin Bihari
  Cc: Marek Vasut, linux-omap@vger.kernel.org Mailing List, Koen Kooi

>
> The L-O tree is already about 2.6.30, so you're essentially 3
> revisions out and you're just setting yourself up for a bunch of work
> to port numerous changes into your Kernel.
>
> And as Greg KH would probably say, 5 months in Kernel development land
> is a really long period of time. :)
>
> -- Ashwin
>

Thanks for the clarification.  Maybe you could help me understand
something about the l-o tree.  From what I see on the git, the latest
tagged l-o version is 2.6.30-rc2, but my understanding is that only
tags that include "-omapX" have had the latest omap patches applied to
it.  So I'm not sure what the best choice would be for the 'newest
kernel I can find'.  Maybe another way to ask this is which would
offer better, reasonably stable, omap support: tagged tree
v2.6.28-omap1 or v2.6.29, or head omap-2.6.28 or omap-2.6.29 or
omap-fixes?

Thanks.

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

* Re: lcd rotation in omapfb_main.c
  2009-04-22 15:38       ` twebb
@ 2009-04-25 15:31         ` Marek Vasut
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Vasut @ 2009-04-25 15:31 UTC (permalink / raw)
  To: twebb; +Cc: Ashwin Bihari, linux-omap@vger.kernel.org Mailing List, Koen Kooi

On Wednesday 22 of April 2009 17:38:20 twebb wrote:
> > The L-O tree is already about 2.6.30, so you're essentially 3
> > revisions out and you're just setting yourself up for a bunch of work
> > to port numerous changes into your Kernel.
> >
> > And as Greg KH would probably say, 5 months in Kernel development land
> > is a really long period of time. :)
> >
> > -- Ashwin
>
> Thanks for the clarification.  Maybe you could help me understand
> something about the l-o tree.  From what I see on the git, the latest
> tagged l-o version is 2.6.30-rc2, but my understanding is that only
> tags that include "-omapX" have had the latest omap patches applied to
> it.  So I'm not sure what the best choice would be for the 'newest
> kernel I can find'.  Maybe another way to ask this is which would
> offer better, reasonably stable, omap support: tagged tree
> v2.6.28-omap1 or v2.6.29, or head omap-2.6.28 or omap-2.6.29 or
> omap-fixes?

I'm not an omap person anymore (though I'll miss working on my omap devices). 
But, according to README[1], the git address is [2] and you should be fine 
just doing git clone [3] on it.

[1] http://www.muru.com/linux/omap/README_OMAP_GIT
[2] 
http://git.kernel.org/git/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary
[3] git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
>
> Thanks.

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

end of thread, other threads:[~2009-04-25 15:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 22:18 lcd rotation in omapfb_main.c twebb
2009-04-21 22:29 ` Marek Vasut
2009-04-22 12:39   ` twebb
2009-04-22 13:25     ` Ashwin Bihari
2009-04-22 15:38       ` twebb
2009-04-25 15:31         ` Marek Vasut
2009-04-22 13:32     ` Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox