From c1dd1f84dbee8ffe2db531a745bfc3b58c185fdb Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 3 Jun 2012 10:07:58 +0200 Subject: Initial commit --- .../xserver-xf86-config/colibri-t20/xorg.conf | 97 ++++++++++++++++++++++ .../xserver-xf86-config/colibri-t30/xorg.conf | 92 ++++++++++++++++++++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 5 ++ 3 files changed, 194 insertions(+) create mode 100644 recipes/xorg-xserver/xserver-xf86-config/colibri-t20/xorg.conf create mode 100644 recipes/xorg-xserver/xserver-xf86-config/colibri-t30/xorg.conf create mode 100644 recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend (limited to 'recipes/xorg-xserver') diff --git a/recipes/xorg-xserver/xserver-xf86-config/colibri-t20/xorg.conf b/recipes/xorg-xserver/xserver-xf86-config/colibri-t20/xorg.conf new file mode 100644 index 0000000..cfe8d01 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xf86-config/colibri-t20/xorg.conf @@ -0,0 +1,97 @@ +# 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 "HDMI" + +EndSection + +Section "Monitor" + + Identifier "TFTLCD" + +EndSection + +Section "Screen" + + Identifier "Screen HDMI" + Device "Tegra" + Monitor "HDMI" + + DefaultDepth 16 + +EndSection + +Section "Screen" + + Identifier "Screen TFTLCD" + Device "Tegra" + Monitor "TFTLCD" + + DefaultDepth 16 + +EndSection + diff --git a/recipes/xorg-xserver/xserver-xf86-config/colibri-t30/xorg.conf b/recipes/xorg-xserver/xserver-xf86-config/colibri-t30/xorg.conf new file mode 100644 index 0000000..4cb4f5a --- /dev/null +++ b/recipes/xorg-xserver/xserver-xf86-config/colibri-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 new file mode 100644 index 0000000..1615df3 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -0,0 +1,5 @@ +PRINC = "2" + +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" + -- cgit v1.2.3