kern/60474: Temporary fix for DRM support for Radeon 9200
Mikhail Teterin
mi+mxmoz at aldan.algebra.com
Fri Oct 8 16:00:51 PDT 2004
The following reply was made to PR kern/60474; it has been noted by GNATS.
From: Mikhail Teterin <mi+mxmoz at aldan.algebra.com>
To: Vladimir Dergachev <volodya at mindspring.com>
Cc: Eric Anholt <eta at lclark.edu>,
Mikhail Teterin <mi+mx at aldan.algebra.com>,
gnats <freebsd-gnats-submit at FreeBSD.ORG>, dotz at irc.pl,
DRI <dri-devel at lists.sourceforge.net>
Subject: Re: kern/60474: Temporary fix for DRM support for Radeon 9200
Date: Fri, 08 Oct 2004 18:58:46 -0400
This is a multi-part message in MIME format.
--------------080409090205000400060509
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Vladimir Dergachev wrote:
>
>
> On Fri, 8 Oct 2004, Eric Anholt wrote:
>
>> On Fri, 2004-10-08 at 11:17, Mikhail Teterin wrote:
>>
>>> Hi, Eric!
>>>
>>> Can this be assigned back to you? I have another pair of PCI IDs,
>>> BTW, and I am sure, there are people with shiny new Radeon-9800 out
>>> there too... Yours,
>>
>>
>> This is not a bug. The DRM does not support r300-series hardware.
>> Among other things, trying to initialize it with r100 or r200 microcode
>> will probably make it explode in your face. Now, if this was part of an
>> attempt at getting http://r300.sf.net/ stuff working on FreeBSD, that'd
>> be another thing :)
>
>
> http://r300.sf.net/ already works on BSD. You just need to pass an
> option to r300_demo to find the BSD analog of /dev/dri/card0 (see
> README).
>
> best
>
> Vladimir Dergachev
Ok, should the following help get DRI to work, then? Thanks!
-mi
--------------080409090205000400060509
Content-Type: text/plain;
name="xorg-server-diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="xorg-server-diff"
? work
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-servers/xorg-server/Makefile,v
retrieving revision 1.17
diff -U2 -r1.17 Makefile
--- Makefile 26 Sep 2004 14:18:42 -0000 1.17
+++ Makefile 8 Oct 2004 22:57:38 -0000
@@ -8,5 +8,5 @@
PORTNAME= server
PORTVERSION= 6.7.0
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= x11-servers
MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ \
@@ -17,4 +17,7 @@
X11R6.7.0-src3.tar.gz
+PATCH_SITES= http://r300.sourceforge.net/files/
+PATCHFILES= ati.patch.3
+
MAINTAINER= x11 at FreeBSD.org
COMMENT= X.Org X server and related programs
@@ -72,4 +75,7 @@
XMAN_DIRS= programs/Xserver
+PATCH_DIST_ARGS=-b ${DISTORIG} -E -p0 \
+ -d ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/ati
+
NOT_FOR_ARCHS= ia64
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
@@ -86,5 +92,5 @@
MAN4+= vesa.4
.endif
-
+
.if ${ARCH} == ia64
PLIST_SUB+= IA64_NA="@comment "
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/x11-servers/xorg-server/distinfo,v
retrieving revision 1.1
diff -U2 -r1.1 distinfo
--- distinfo 10 May 2004 05:04:59 -0000 1.1
+++ distinfo 8 Oct 2004 22:57:38 -0000
@@ -1,8 +1,6 @@
MD5 (xorg/X11R6.7.0-src1.tar.gz) = 22465263bae7a2e9f5ad77e172cf1ab5
SIZE (xorg/X11R6.7.0-src1.tar.gz) = 30039655
-MD5 (xorg/X11R6.7.0-src2.tar.gz) = 6ef4e8f7647a28f080c10ea1bcf01f79
-SIZE (xorg/X11R6.7.0-src2.tar.gz) = 5739983
MD5 (xorg/X11R6.7.0-src3.tar.gz) = 4c7144786522bbce383b21ace72bf669
SIZE (xorg/X11R6.7.0-src3.tar.gz) = 10855793
-MD5 (xorg/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
-SIZE (xorg/Wraphelp2.gz) = 3376
+MD5 (xorg/ati.patch.3) = c400bb83ec811a9722c02fcc3ea42ac4
+SIZE (xorg/ati.patch.3) = 5682
--------------080409090205000400060509--
More information about the freebsd-bugs
mailing list