[Bug 1145] add hw assisted rotation support to xglamo via randr

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Dec 25 22:17:36 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1145

dodji at openedhand.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #456 is|0                           |1
           obsolete|                            |



------- Additional Comments From dodji at openedhand.com  2007-12-25 22:17 -------
Created an attachment (id=459)
 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=459&action=view)
enhanced support of rotation and geometry setting in the glamo fb kernel driver

This is a reworked patch to support geometry setting and rotation in the
kernel.
Basically, to rotate the framebuffer, the user just has to set the "rotate"
member of struct fb_var_screeninfo and issue an FBIOPUT_SCREENVINFO ioctl.

The kernel will then set the fb geometry to what is set in the struct
fb_var_screeninfo passed in parameter to the ioctl call, and perform the
rotation according to what is set in the "rotate" member of that parameter.

As a result, the geometry/orientation of the framebuffer might have changed -
for instance, going from landscape to portrait. If the geometry changes, the
kernel driver sets the struct fb_var_screeninfo to reflect that change. So the
user code needs to read the parameter back to learn about the possible change
in geometry.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list