Date: Thu, 30 Aug 2012 13:10:42 +0400 From: Boris Samorodov <bsam@passap.ru> To: schultz@ime.usp.br Cc: freebsd-x11@freebsd.org Subject: Re: Radeon HD 6250 Support Message-ID: <503F2E12.80403@passap.ru> In-Reply-To: <20120829124352.42122ebmrgeuzkjc@webmail.ime.usp.br> References: <20120829124352.42122ebmrgeuzkjc@webmail.ime.usp.br>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 29.08.2012 19:43, schultz@ime.usp.br пишет: > > I would like to test newer drivers before I give up. Does anyone have > an idea of when the ports collection will include xf86-video-ati-6.14.6, > which will be the last driver with UMS support? I've created a patch per your request. The patch is only build tested (at redports). Please give it a try. Awaithing for a feedback. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve [-- Attachment #2 --] Index: distinfo =================================================================== --- distinfo (revision 302290) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (xorg/driver/xf86-video-ati-6.14.3.tar.bz2) = 844a2649eff6a3e92aff3e1837ea864f1561b4822b3e5d5ccb27b3b7fb8137b4 -SIZE (xorg/driver/xf86-video-ati-6.14.3.tar.bz2) = 1113119 +SHA256 (xorg/driver/xf86-video-ati-6.14.6.tar.bz2) = aa5286b3e4f0187d7df14785c06dd800255d9405205dbf061da5d77df86bec36 +SIZE (xorg/driver/xf86-video-ati-6.14.6.tar.bz2) = 1139495 Index: files/patch-src_radeon_accel.c =================================================================== --- files/patch-src_radeon_accel.c (revision 302290) +++ files/patch-src_radeon_accel.c (working copy) @@ -1,17 +1,15 @@ ---- src/radeon_accel.c.orig 2012-04-15 19:36:08.000000000 +0200 -+++ src/radeon_accel.c 2012-04-15 19:36:15.000000000 +0200 -@@ -982,10 +982,9 @@ +--- src/radeon_accel.c.orig 2012-06-25 12:19:41.000000000 +0400 ++++ src/radeon_accel.c 2012-08-30 12:33:42.048688060 +0400 +@@ -967,10 +967,9 @@ void RADEONCopySwap(uint8_t *dst, uint8_ for (; nwords > 0; --nwords, ++d, ++s) #ifdef __powerpc__ - asm volatile("stwbrx %0,0,%1" : : "r" (*s), "r" (d)); + asm volatile("sthbrx %0,0,%1" : : "r" (*s), "r" (d)); #else -- *d = ((*s >> 24) & 0xff) | ((*s >> 8) & 0xff00) +- *d = ((*s >> 24) & 0xff) | ((*s >> 8) & 0xff00) - | ((*s & 0xff00) << 8) | ((*s & 0xff) << 24); + *d = (*s >> 8) | (*s << 8); #endif return; - } - - + } Index: Makefile =================================================================== --- Makefile (revision 302290) +++ Makefile (working copy) @@ -6,8 +6,7 @@ # PORTNAME= xf86-video-ati -PORTVERSION= 6.14.3 -PORTREVISION= 1 +PORTVERSION= 6.14.6 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503F2E12.80403>
