[yocto] [PATCH 05/13] meta-cedartrail: seperate xorg.conf files for pvr and no-pvr cases
rahul.saxena at intel.com
rahul.saxena at intel.com
Thu Mar 22 10:32:18 PDT 2012
From: Rahul Saxena <rahul.saxena at intel.com>
Seperate xserver configuration files, one file each for the case of with pvr graphics
driver and for "no pvr" (i.e. with VESA driver)
Signed-off-by: Rahul Saxena <rahul.saxena at .intel.com>
---
.../xserver-xf86-config/cedartrail-nopvr/xorg.conf | 26 ++++++++++++++++++++
.../xserver-xf86-config/cedartrail/xorg.conf | 24 ++++++------------
2 files changed, 34 insertions(+), 16 deletions(-)
create mode 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
mode change 100755 => 100644 meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
new file mode 100644
index 0000000..da4fc3c
--- /dev/null
+++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
@@ -0,0 +1,26 @@
+Section "Device"
+ Identifier "Generic VESA"
+ Driver "vesa"
+EndSection
+
+Section "Monitor"
+ Identifier "Generic Monitor"
+ Option "DPMS"
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Device "Generic VESA"
+ Monitor "Generic Monitor"
+ DefaultDepth 24
+EndSection
+
+Section "ServerLayout"
+ Identifier "Default Layout"
+ Screen "Default Screen"
+EndSection
+
+Section "ServerFlags"
+ Option "DontZap" "0"
+ Option "AutoAddDevices" "False"
+EndSection
diff --git a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
old mode 100755
new mode 100644
index da4fc3c..1d085a4
--- a/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
+++ b/meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
@@ -1,23 +1,15 @@
Section "Device"
- Identifier "Generic VESA"
- Driver "vesa"
-EndSection
-
-Section "Monitor"
- Identifier "Generic Monitor"
- Option "DPMS"
-EndSection
-
-Section "Screen"
- Identifier "Default Screen"
- Device "Generic VESA"
- Monitor "Generic Monitor"
- DefaultDepth 24
+ Option "DRIDisableVSync" "False"
+ Identifier "Card0"
+ Driver "pvr"
+ BusID "PCI:0:2:0"
+ Option "SoftEXA" "Off"
+ Option "FlipChain" "On"
EndSection
Section "ServerLayout"
- Identifier "Default Layout"
- Screen "Default Screen"
+ Identifier "default screen"
+ Option "AIGLX" "on"
EndSection
Section "ServerFlags"
--
1.7.4.1
More information about the yocto
mailing list