summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/xserver-common/files/Xserver-virtex.patch14
-rw-r--r--recipes/xserver-common/xserver-common_1.33.bb5
2 files changed, 17 insertions, 2 deletions
diff --git a/recipes/xserver-common/files/Xserver-virtex.patch b/recipes/xserver-common/files/Xserver-virtex.patch
new file mode 100644
index 0000000000..c7d6cc2481
--- /dev/null
+++ b/recipes/xserver-common/files/Xserver-virtex.patch
@@ -0,0 +1,14 @@
+Index: xserver-common-1.13/X11/xserver-common
+===================================================================
+--- xserver-common-1.13.orig/X11/xserver-common
++++ xserver-common-1.13/X11/xserver-common
+@@ -181,6 +181,9 @@ else
+ # this is to rotate X display properly, tested with display TX09D71VM1CCA
+ ronetix*pm9261* | ronetix*pm9263*)
+ ARGS="$ARGS -screen 240/54x320/81@90x16" ;;
++ "Xilinx Virtex"*)
++ DPI="96"
++ ARGS="$ARGS" ;;
+ # This is a fallback for PCs
+ "")
+ if [ -f $BINDIR/Xvesa ]; then
diff --git a/recipes/xserver-common/xserver-common_1.33.bb b/recipes/xserver-common/xserver-common_1.33.bb
index cb644a41f0..71fa2314b8 100644
--- a/recipes/xserver-common/xserver-common_1.33.bb
+++ b/recipes/xserver-common/xserver-common_1.33.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r4"
+PR = "r5"
PACKAGE_ARCH = "all"
DEFAULT_PREFERENCE = "-1"
@@ -19,7 +19,8 @@ SRC_URI[sha256sum] = "4576ccca80730f1860a273df38b9f917cf906eca9865e108d76fc5460e
SRC_URI_append = " file://loop.patch;striplevel=3 \
file://rgba.diff \
file://setDPI.sh \
- file://89xdgautostart.sh"
+ file://89xdgautostart.sh \
+ file://Xserver-virtex.patch"
SRC_URI_append_angstrom = " file://xtscal-fix.patch "
RDEPENDS_${PN}_append_angstrom = " tslib-calibrate "