summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-03-16 15:50:02 -0700
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-30 18:07:26 +0200
commitc28db475eb0e0b3e1e07a82d6d3a693a234048e4 (patch)
tree642ffee985717eb87e38584035fefcea7d9a7d97
parente7e8f80cdb41c5ac04a3a250c5de283072a5bfc3 (diff)
xorg-xserver: switch Vybrid to DRM based DCU driver (modesetting)
With the Linux 4.4 kernel a new DRM driver for the Display Controller Unit (DCU) is available. To make direct use of the DRM driver use the Xorg modesetting driver instead of the fbdev driver. This also allows to use xrandr. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--recipes/xorg-xserver/xserver-xf86-config/colibri-vf/xorg.conf25
1 files changed, 22 insertions, 3 deletions
diff --git a/recipes/xorg-xserver/xserver-xf86-config/colibri-vf/xorg.conf b/recipes/xorg-xserver/xserver-xf86-config/colibri-vf/xorg.conf
index 7bb8b11..ee77e84 100644
--- a/recipes/xorg-xserver/xserver-xf86-config/colibri-vf/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xf86-config/colibri-vf/xorg.conf
@@ -1,7 +1,26 @@
+# Default Xorg configuration for Toradex Colibri VF50/VF61 modules
+# (Freescale/NXP Vybrid based modules)
+#
+# This configuration uses the Xorg modesetting DDX driver, which requires
+# the DRM based DCU kernel driver (CONFIG_DRM_FSL_DCU)
+#
+
Section "Device"
- Identifier "Kernel Framebuffer Device"
- Driver "fbdev"
- Option "fbdev" "/dev/fb0"
+ Identifier "FSL-DCU"
+ Driver "modesetting"
+ Option "kmsdev" "/dev/dri/card0"
+EndSection
+
+Section "Monitor"
+ Identifier "LCD"
+ Option "DPMS" "off"
+EndSection
+
+Section "Screen"
+ Identifier "Main"
+ Device "FSL-DCU"
+ Monitor "LCD"
+ DefaultDepth 16
EndSection
Section "ServerFlags"