summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-01-29 12:59:23 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2013-01-29 12:59:23 +0100
commitd289aadb14e92dbd1d88305ffe2a0c6f6e230d74 (patch)
tree6dda6c887f19845702436300937aac7cd8d36839 /recipes
parent0a472d9a4873fece229792c91446aa8141442464 (diff)
xorg.conf: add Apalis-T30
Diffstat (limited to 'recipes')
-rw-r--r--recipes/xorg-xserver/xserver-xf86-config/apalis-t30/xorg.conf92
-rw-r--r--recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend2
2 files changed, 93 insertions, 1 deletions
diff --git a/recipes/xorg-xserver/xserver-xf86-config/apalis-t30/xorg.conf b/recipes/xorg-xserver/xserver-xf86-config/apalis-t30/xorg.conf
new file mode 100644
index 0000000..4cb4f5a
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xf86-config/apalis-t30/xorg.conf
@@ -0,0 +1,92 @@
+# This is the minimal configuration necessary to use the Tegra driver.
+# Please refer to the xorg.conf man page for more configuration
+# options provided by the X server, including display-related options
+# provided by RandR 1.2 and higher.
+
+# Disable extensions not useful on Tegra.
+Section "Module"
+ Disable "dri"
+ Disable "dri2"
+ Disable "glx"
+ SubSection "extmod"
+ Option "omit xfree86-dga"
+ EndSubSection
+EndSection
+
+Section "Device"
+ Identifier "Tegra"
+ Driver "tegra"
+
+# VirtualDesktop indicates which virtual desktops should be used by X.
+# X will use the specified virtual desktop *and* the next one. In
+# order for an external app to share a display with the X server, it
+# needs to use the same virtual desktop. Valid values are integers 0
+# (default) or 1.
+
+# Option "VirtualDesktop" "1"
+
+# OverlayDepth is a 32-bit integer which is used to control overlay
+# stacking order. The overlay with the lowest depth is in front of
+# all others. This value has meaning only when multiple overlays are
+# present on a display.
+
+# Option "OverlayDepth" "255"
+
+# OverlayCombineMode determines how the X overlay is combined with the
+# overlay behind it during scanout. Available modes are: Opaque
+# (default), SourceAlphaBlend, and PremultSourceAlphaBlend. This
+# value has meaning only when an external process has created a
+# display which is behind the X server.
+
+# Option "OverlayCombineMode" "PremultSourceAlphaBlend"
+
+# ARGBHWCursor controls whether the X driver uses an overlay to
+# display 32-bit "true-color" cursors, or whether such cursors are
+# emulated in software. Valid values are "true" (default) to enable
+# hardware cursors, and "false" to disable them.
+
+ Option "ARGBHWCursor" "false"
+EndSection
+
+Section "ServerFlags"
+# Set the basic blanking screen saver timeout in minutes. 0 to disable.
+
+ Option "blank time" "0"
+
+# Set the DPMS timeouts. These are set here because they are global
+# rather than screen-specific. These settings alone don't enable DPMS.
+# It is enabled per-screen (or per-monitor), and even then only when
+# the driver supports it.
+
+ Option "standby time" "0"
+ Option "suspend time" "0"
+ Option "off time" "0"
+EndSection
+
+Section "Monitor"
+ Identifier "LVDS-1"
+ Option "DPMS" "off"
+EndSection
+
+Section "Screen"
+
+ Identifier "Screen LVDS-1"
+ Device "Tegra"
+ Monitor "LVDS-1"
+
+# DefaultDepth 16
+
+# SubSection "Display"
+# Depth 16
+# Modes "1280x720"
+# ViewPort 0 0
+# Virtual 1280 720
+# EndSubsection
+
+EndSection
+
+Section "ServerLayout"
+ Identifier "TouchView"
+ Screen "Screen LVDS-1"
+EndSection
+
diff --git a/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 883a3c2..6772d6b 100644
--- a/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -1,3 +1,3 @@
-PRINC = "3"
+PRINC = "4"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"