lcd rotation in omapfb_main.c
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
Quoted 6 lines · 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 inomapfb_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.
Quoted 7 lines
Thanks,
twebb
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Marek Vasut
Quoted 6 lines · 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 inomapfb_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.Quoted 1 line
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 13 lines · twebb
Quoted 11 lines · Marek Vasut
Quoted 6 lines · 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 inomapfb_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.Quoted 1 line
Quoted 5 lines
Since when is linux-omap v2.6.27-omap1 deprecated? It's only 5 months old! Am I missing something here?
And the
def_rotateis 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines
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.
Quoted 9 lines · On Wednesday 22 of April 2009 17:38:20 twebb wrote:
Quoted 8 lines
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
Quoted 9 lines
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 clonegit://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
Quoted 2 lines
Thanks.
Op 22 apr 2009, om 14:39 heeft twebb het volgende geschreven:
Quoted 9 lines · Marek Vasut
Quoted 8 lines · On Wednesday 22 of April 2009 00:18:54 twebb wrote:
Quoted 6 lines
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 inomapfb_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?
Quoted 5 lines
Quoted 3 lines
change it to 1 or something ... btw. this should be configurable through some
platform_data. Also, dont bring up new platform on deprecated kernel.Quoted 1 line
Since when is linux-omap v2.6.27-omap1 deprecated?
It got deprecated when 2.6.28 was released
Quoted 2 lines
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