diff options
author | marius <marius@FreeBSD.org> | 2009-04-01 04:10:00 +0800 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2009-04-01 04:10:00 +0800 |
commit | bf18bceee6285973205d1567265c607f8786266c (patch) | |
tree | d275c62def4d11b6ea3f836907359446684f353c /x11-drivers | |
parent | f8c24d79559cd0cad445e29c78ee280be8c873a9 (diff) | |
download | freebsd-ports-gnome-bf18bceee6285973205d1567265c607f8786266c.tar.gz freebsd-ports-gnome-bf18bceee6285973205d1567265c607f8786266c.tar.zst freebsd-ports-gnome-bf18bceee6285973205d1567265c607f8786266c.zip |
Keep the code from turning off the FPU - cures excessive traps that
made acceleration unusable.
Approved by: flz
Obtained from: NetBSD (basic approach)
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-sunffb/Makefile | 1 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-sunffb/Makefile b/x11-drivers/xf86-video-sunffb/Makefile index 9c91c51d7ae1..3ea3dcc88abf 100644 --- a/x11-drivers/xf86-video-sunffb/Makefile +++ b/x11-drivers/xf86-video-sunffb/Makefile @@ -7,6 +7,7 @@ PORTNAME= xf86-video-sunffb PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org diff --git a/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s b/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s new file mode 100644 index 000000000000..f58ddad51523 --- /dev/null +++ b/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s @@ -0,0 +1,26 @@ +--- src/VISmoveImage.s.orig 2008-08-15 19:49:00.000000000 +0000 ++++ src/VISmoveImage.s 2009-03-29 14:08:42.000000000 +0000 +@@ -779,7 +779,11 @@ + sub %tmp3, %rightw, %curw + + return: return %i7+8 ++#if defined(__FreeBSD__) ++ nop ++#else + wr %g0, 0, %fprs ++#endif + + narrowst: + and %leftw, 0x38, %tmp1 +@@ -2174,7 +2178,11 @@ + sub %curw, %rightw, %curw + + rreturn:return %i7+8 ++#if defined(__FreeBSD__) ++ nop ++#else + wr %g0, 0, %fprs ++#endif + + narrowstr: + cmp %rightw, 64 |