From 134dd6f9d8d9a8fd153dde6467a412651742d4a4 Mon Sep 17 00:00:00 2001 From: Manjukumar Matha Date: Thu, 17 Nov 2016 15:12:12 -0800 Subject: xserver-xf86-config: Add xorg.conf Add X configuration for MPSoC Signed-off-by: Manjukumar Matha Signed-off-by: Nathan Rossi --- .../xserver-xf86-config/zynqmp/xorg.conf | 27 ++++++++++++++++++++++ .../xorg-xserver/xserver-xf86-config_%.bbappend | 1 + 2 files changed, 28 insertions(+) create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf new file mode 100644 index 00000000..9ef39462 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf @@ -0,0 +1,27 @@ +Section "InputDevice" + Identifier "System Mouse" + Driver "mouse" + Option "Device" "/dev/input/mouse0" +EndSection + +Section "InputDevice" + Identifier "System Keyboard" + Driver "kbd" + Option "Device" "/dev/input/event0" +EndSection + +Section "Device" + Identifier "ZynqMP" + Driver "armsoc" + Option "DRI2" "true" + Option "DRI2_PAGE_FLIP" "false" + Option "DRI2_WAIT_VSYNC" "true" + Option "SWcursorLCD" "false" + Option "DEBUG" "false" +EndSection + +Section "Screen" + Identifier "DefaultScreen" + Device "ZynqMP" + DefaultDepth 16 +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend new file mode 100644 index 00000000..72d991c7 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -- cgit v1.2.3-54-g00ecf