From nobody@FreeBSD.org  Fri May 18 22:40:42 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id D376616A403
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2007 22:40:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id C3D9813C45E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2007 22:40:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4IMegpw025135
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 May 2007 22:40:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l4IMZfBq024687;
	Fri, 18 May 2007 22:35:41 GMT
	(envelope-from nobody)
Message-Id: <200705182235.l4IMZfBq024687@www.freebsd.org>
Date: Fri, 18 May 2007 22:35:41 GMT
From: Anatoly Yarinich<mrkoin@ua.fm>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [drm] [patch] add ATI RADEON Express 1150 [chip=0x59751002]
X-Send-Pr-Version: www-3.0

>Number:         112772
>Category:       kern
>Synopsis:       [drm] [patch] add ATI RADEON Express 1150 [chip=0x59751002]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    anholt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 18 22:50:03 GMT 2007
>Closed-Date:    Mon Jul 09 19:11:38 GMT 2007
>Last-Modified:  Mon Jul 09 19:11:38 GMT 2007
>Originator:     Anatoly Yarinich
>Release:        6.2-RELEASE #1
>Organization:
>Environment:
FreeBSD x 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Mon Jan 22 14:16:48 GMT 2007     root@x:/usr/obj/usr/src/sys/xBSD  amd64
>Description:
Patch adds ATI Radeon Express 1150 (which is typically installed in e.g. Dell Inspiron 1501) to drm kernel module. Otherwise drm does not see video card.
>How-To-Repeat:
Try radeon driver for Xorg on ATI Radeon Express 1150 video card
>Fix:


Patch attached with submission follows:

--- /usr/src/sys/dev/drm/drm_pciids.h	Sat Jan 30 01:03:25 2007
+++ /usr/src/sys/dev/drm/drm_pciids.h	Sat May 19 01:02:37 2007
@@ -128,6 +128,7 @@
 	{0x1002, 0x5d50, CHIP_R420|CHIP_NEW_MEMMAP, "ATI unknown Radeon / FireGL R480"}, \
 	{0x1002, 0x5d52, CHIP_R420|CHIP_NEW_MEMMAP, "ATI Radeon R480 X850 XT"}, \
 	{0x1002, 0x5d57, CHIP_R420|CHIP_NEW_MEMMAP, "ATI Radeon R423 X800 XT"}, \
+	{0x1002, 0x5975, CHIP_R420|CHIP_IS_MOBILITY|CHIP_NEW_MEMMAP, "ATI Radeon RS482 X200M"}, \
 	{0x1002, 0x5e48, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI FireGL V5000 RV410"}, \
 	{0x1002, 0x5e4a, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700 XT"}, \
 	{0x1002, 0x5e4b, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700 Pro"}, \

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->anholt 
Responsible-Changed-By: joel 
Responsible-Changed-When: Sun May 20 09:52:03 UTC 2007 
Responsible-Changed-Why:  
Assign to anholt, our drm maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112772 

From: Eric Anholt <eric@anholt.net>
To: bug-followup@FreeBSD.org, mrkoin@ua.fm
Cc:  
Subject: Re: kern/112772: [drm] [patch] add ATI RADEON Express 1150
	[chip=0x59751002]
Date: Fri, 25 May 2007 11:02:52 -0700

 --=-FvuOy8eCvFDGXHlSbFw1
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 =46rom the chipset name, this sounds like it would be part of the x1000
 series, which is very unsupported.  Do you have X and DRI up and running
 with your change?
 
 --=20
 Eric Anholt                             anholt@FreeBSD.org
 eric@anholt.net                         eric.anholt@intel.com
 
 
 --=-FvuOy8eCvFDGXHlSbFw1
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQBGVyTGHUdvYGzw6vcRAiJyAJsGi/ozVnCQc1T7rwCj3yaDLFFnEwCfeeZK
 g2felEnqnK7x/YudeKac1qc=
 =+Rr2
 -----END PGP SIGNATURE-----
 
 --=-FvuOy8eCvFDGXHlSbFw1--

From: "Artem Naluzhny" <tut@nhamon.com.ua>
To: bug-followup@FreeBSD.org, mrkoin@ua.fm, "Eric Anholt" <eric@anholt.net>
Cc:  
Subject: Re: kern/112772: [drm] [patch] add ATI RADEON Express 1150 [chip=0x59751002]
Date: Tue, 29 May 2007 21:45:29 +0300

 hi
 
 Eric Anholt <eric@anholt.net> wrote:
 
 > From the chipset name, this sounds like it would be part of the x1000
 > series, which is very unsupported. Do you have X and DRI up and running
 > with your change?
 
 It does not work: "Direct rendering broken on XPRESS 200 and 200M" in
 Xorg.8.log.
 
 
 As I can see an open source driver does not support the chip yet -
 http://dri.freedesktop.org/wiki/Radeon200M But it is look like
 proprietary ATI driver for Linux does -
 http://www.thinkwiki.org/wiki/ATI_Mobility_Radeon_Xpress_200M
 
 Any chance to use the Linux driver with FreeBSD kernel?
 
 -- 
 /tut

Adding to audit trail from misfiled PR kern/13622:

Date: Tue, 12 Jun 2007 13:05:56 +0300
From: Anatoly Yarinich <mrkoin@ua.fm>

 > From the chipset name, this sounds like it would be part of the x1000
 > series, which is very unsupported.=20
 
 I cannot name the exact family for this chip since different sources give d=
 ifferent information. :(
 Some sources state that it is ATI Radeon Express 200M
 
 > Do you have X and DRI up and running
 > with your change?
 
 Yes. I have X and DRI running well on my notebook. The only limitation is t=
 hat direct rendering is internally disabled, but DRI itself on patched drm =
 module gives very good performance gain in comparison to other drivers trie=
 d on my system. If you need, I can submit here all the requested informatio=
 n.
 
 BTW, As I can see, Artem could not make drm to work well on his card, thus =
 I'd like to note that I am running Xorg 6.9.0 currently.=20
 
 Thank you for your time!
 
 --
 Anatoly Yarinich
 
 -- =F0=E5=EA=EB=E0=EC=E0 --------------------------------------------------=
 ---------
 =CD=E5 =F5=E2=E0=F2=E0=E5=F2 =ED=E0 =CB=E0=EC=E1=EE=F0=E4=E6=E8=ED=E8? =CD=
 =E0=E9=E4=E8 =ED=EE=E2=F3=FE =F0=E0=E1=EE=F2=F3!
 http://www.rabota.ua/JobSearch/Vacancy/Search.xpx?ito=3D1140
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jul 9 19:07:07 UTC 2007 
State-Changed-Why:  
It's not possible for us to use the Linux drivers.  anholt@ has informed 
me that it's not possible for us to support this card. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112772 
>Unformatted:
