From f2c15f1509bec299ce9703b85f76760fab3ea1f1 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 16 Mar 2016 15:50:02 -0700 Subject: 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 --- .../xserver-xf86-config/colibri-vf/xorg.conf | 25 +++++++++++++++++++--- 1 file 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" -- cgit v1.2.3