Skip to contentSkip to conversation

Console Rotation

PATCH New Antonino Daplas 1 participant 1 message Sep 9, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Console Rotation

The patch (vesafb_rotate.diff) adds console rotation support to vesafb. The main change is addition of vesafb_check_var to check for the flags, and swapping xres, yres, etc where appropriate.

ypan should work okay, I'm not so sure about ywrap.

Tony

<<------------------------------------------------------------------------>>

drivers/video/Config.in +7 -0
diff -Naur linux-2.5.33/drivers/video/Config.in linux/drivers/video/Config.in
@@ -370,6 +370,13 @@
 	    define_tristate CONFIG_FBCON_ACCEL m
          fi       
       fi
+      if [ "$CONFIG_FB_VESA" = "y" ]; then
+	 define_tristate CONFIG_FBCON_ROTATE y
+      else
+	 if [ "$CONFIG_FB_VESA" = "m" ]; then 
+	    define_tristate CONFIG_FBCON_ROTATE m
+         fi       
+      fi
       if [ "$CONFIG_FB_AMIGA" = "y" ]; then
 	 define_tristate CONFIG_FBCON_AFB y
 	 define_tristate CONFIG_FBCON_ILBM y
drivers/video/vesafb.c +67 -2

109 lines not on this page · raw message

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390