[oe-commits] org.oe.dev xserver-kdrive 1.2.0: Add patch to actually enable offscreen pixmap acceleration in Xw100.
pfalcon commit
openembedded-commits at lists.openembedded.org
Fri Apr 6 16:27:28 UTC 2007
xserver-kdrive 1.2.0: Add patch to actually enable offscreen pixmap acceleration in Xw100.
* Courtesy of Manuel Teira (sirfred).
* Tested on hx4700.
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: b359807f888dcaec0bff04957a0ab969e8a65044
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b359807f888dcaec0bff04957a0ab969e8a65044
Files:
1
packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch
packages/xorg-xserver/xserver-kdrive_1.2.0.bb
Diffs:
#
# mt diff -r23ea6727fc6e79bd76e1f20612e1937b0dc8e45c -rb359807f888dcaec0bff04957a0ab969e8a65044
#
#
#
# add_file "packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch"
# content [9d04d580de665717b88c4dabface9ced1fc9394c]
#
# patch "packages/xorg-xserver/xserver-kdrive_1.2.0.bb"
# from [b2a43c19191f4ba05b3b4318442bd2756f496e61]
# to [c49383b7f1e00439ffd42dd8f3e7b2395987381c]
#
============================================================
--- packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch 9d04d580de665717b88c4dabface9ced1fc9394c
+++ packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch 9d04d580de665717b88c4dabface9ced1fc9394c
@@ -0,0 +1,15 @@
+Patch suggested by Manuel Teira to actually enable offscreen pixmap
+acceleration in Xw100. Value 16 is empirical, works well on hx4700,
+but in case of issues, consider double it (other accelerated drivers
+use bigger values than 16).
+
+--- xorg-server-1.2.0/hw/kdrive/w100/ati_draw.c.org 2007-04-04 10:28:57.000000000 +0000
++++ xorg-server-1.2.0/hw/kdrive/w100/ati_draw.c 2007-04-06 14:43:40.000000000 +0000
+@@ -433,6 +433,7 @@
+ * or kaaPixmapUseScreen. But this is probably caused by some bug in this
+ * driver... */
+ atis->kaa.flags |= KAA_OFFSCREEN_PIXMAPS;
++ atis->kaa.pitchAlign = 16;
+ if (!kaaDrawInit(pScreen, &atis->kaa))
+ return FALSE;
+
============================================================
--- packages/xorg-xserver/xserver-kdrive_1.2.0.bb b2a43c19191f4ba05b3b4318442bd2756f496e61
+++ packages/xorg-xserver/xserver-kdrive_1.2.0.bb c49383b7f1e00439ffd42dd8f3e7b2395987381c
@@ -1,14 +1,15 @@ PE = "1"
require xserver-kdrive-common.inc
DEPENDS += "libxkbfile libxcalibrate"
PE = "1"
-PR = "r5"
+PR = "r6"
SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
${KDRIVE_COMMON_PATCHES} \
file://enable-xcalibrate.patch;patch=1 \
file://w100.patch;patch=1 \
+ file://w100-fix-offscreen-bmp.patch;patch=1 \
"
S = "${WORKDIR}/xorg-server-${PV}"
More information about the Openembedded-commits
mailing list