pandaboard: use xf86-video-omap by default in XSERVER config
authorNicolas Dechesne <n-dechesne@ti.com>
Fri, 19 Oct 2012 13:51:26 +0000 (15:51 +0200)
committerDenys Dmytriyenko <denys@ti.com>
Thu, 25 Oct 2012 00:57:37 +0000 (20:57 -0400)
Also we need to pull in module-exa as xf86-video-omap relies
on it, at run time.

And replaced the default xorg.conf for 'omap4' machine to take
new driver into account. Do not enable HWcursor (e.g. mouse
using DSS overlay) to keep things simple for now..

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
conf/machine/include/omap4.inc
recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf

index 96eaae76a0025838c575dcd5ba3513bd40300e56..ecd23c40b1ba25d6454d27abe9e2b2b5b79c83b6 100644 (file)
@@ -11,8 +11,9 @@ XSERVER = "xserver-xorg \
            xserver-xorg-extension-dri \
            xserver-xorg-extension-dri2 \
            xserver-xorg-extension-glx \
+           xserver-xorg-module-exa \
            xf86-input-evdev \
-           xf86-video-fbdev" 
+           xf86-video-omap"
 
 # Increase this everytime you change something in the kernel
 MACHINE_KERNEL_PR = "r1"
index 0d6ab4359a333fdcec79ca6dbd8cada82f33252e..87ded4dd6951203ed3e8d312552d3cd6a795c457 100644 (file)
@@ -1,29 +1,15 @@
-Section "Module"                                       
-        Load    "extmod"                                
-        Load    "dbe"                           
-        Load    "glx"                                           
-        Load    "freetype"                             
-        Load    "type1"                        
-        Load    "record"                    
-        Load    "dri"                       
-EndSection                            
-
-Section "Monitor"                                                                    
-        Identifier      "Builtin Default Monitor"
-EndSection                                       
-
-Section "Device"                                  
-        Identifier      "Builtin Default fbdev Device 0"
-        Driver  "fbdev"
-EndSection                                                
-
-Section "Screen"                                        
-        Identifier      "Builtin Default fbdev Screen 0"     
-        Device  "Builtin Default fbdev Device 0"            
-        Monitor "Builtin Default Monitor"               
-EndSection                                              
-
-Section "ServerLayout"                                 
-        Identifier      "Builtin Default Layout"                                     
-        Screen  "Builtin Default fbdev Screen 0"        
-EndSection                                              
+# more /usr/share/X11/xorg.conf.d/99-omap.conf 
+# X.Org X server configuration file
+
+Section "Device"
+        Identifier      "Video Device"
+        Driver          "omap"
+        Option          "Debug"         "false"
+        Option          "HWcursor"      "false"
+EndSection
+
+Section "Screen"
+        Identifier      "Screen"
+        Monitor         "Monitor"
+        Device          "Video Device"
+EndSection