diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-03-16 15:50:02 -0700 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-30 18:07:26 +0200 |
commit | f2c15f1509bec299ce9703b85f76760fab3ea1f1 (patch) | |
tree | 483e6029963c8fb2d4a7e3afa3f0f0a235d806ec | |
parent | 23ead9042d58a8785174128aff80b7fcd440301a (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.conf | 25 |
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" |