From gvs@yeho.yandex.ru  Sat Dec 16 00:41:14 2006
Return-Path: <gvs@yeho.yandex.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B283716A417
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Dec 2006 00:41:14 +0000 (UTC)
	(envelope-from gvs@yeho.yandex.ru)
Received: from yeho.yandex.ru (ppp85-140-205-38.pppoe.mtu-net.ru [85.140.205.38])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A68C843CA9
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Dec 2006 00:39:23 +0000 (GMT)
	(envelope-from gvs@yeho.yandex.ru)
Received: from yeho.yandex.ru (localhost [127.0.0.1])
	by yeho.yandex.ru (8.13.8/8.13.8) with ESMTP id kBG0fQEl001019
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Dec 2006 03:41:27 +0300 (MSK)
	(envelope-from gvs@yeho.yandex.ru)
Received: (from root@localhost)
	by yeho.yandex.ru (8.13.8/8.13.8/Submit) id kBG0fQnp001018;
	Sat, 16 Dec 2006 03:41:26 +0300 (MSK)
	(envelope-from gvs)
Message-Id: <200612160041.kBG0fQnp001018@yeho.yandex.ru>
Date: Sat, 16 Dec 2006 03:41:26 +0300 (MSK)
From: Seva Gluschenko <gvs@rinet.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: drm engine does not detect Radeon X1600 (RS530)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106798
>Category:       kern
>Synopsis:       [drm] [patch] drm engine does not detect Radeon X1600 (RS530)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    anholt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 16 00:50:00 GMT 2006
>Closed-Date:    Mon Dec 18 19:56:58 GMT 2006
>Last-Modified:  Tue Jan 02 10:48:26 GMT 2007
>Originator:     Seva Gluschenko
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Yandex LLC
>Environment:
System: FreeBSD yeho.yandex.ru 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #20: Sat Dec 16 03:30:49 MSK 2006 root@yeho.yandex.ru:/home/obj/home/src/sys/yeho i386


	
>Description:
	Current drm_pciids.h lacks of Radeon X1600 IDs
>How-To-Repeat:
	
>Fix:

	apply patch below:

	# cd /usr/src
	# patch < /path/to/this/message

	rebuild and reinstall kernel. Radeon X1600 must be recognized now by

	device	radeondrm

	The patch itself follows:

--- sys/dev/drm/drm_pciids.h.orig	Fri Dec 15 22:46:12 2006
+++ sys/dev/drm/drm_pciids.h	Sat Dec 16 01:07:31 2006
@@ -134,6 +134,8 @@
 	{0x1002, 0x5e4c, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700 SE"}, \
 	{0x1002, 0x5e4d, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700"}, \
 	{0x1002, 0x5e4f, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700 SE"}, \
+	{0x1002, 0x71c2, CHIP_RS530|CHIP_NEW_MEMMAP, "ATI Radeon RS530 X1600"}, \
+	{0x1002, 0x71e2, CHIP_RS530|CHIP_NEW_MEMMAP, "ATI Radeon RS530 X1600 SE"}, \
 	{0x1002, 0x7834, CHIP_RS300|CHIP_IS_IGP|CHIP_NEW_MEMMAP, "ATI Radeon RS350 9000/9100 IGP"}, \
 	{0x1002, 0x7835, CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY|CHIP_NEW_MEMMAP, "ATI Radeon RS350 Mobility IGP"}, \
 	{0, 0, 0, NULL}
--- sys/dev/drm/radeon_drv.h.orig	Sat Dec 16 01:05:20 2006
+++ sys/dev/drm/radeon_drv.h	Sat Dec 16 01:05:24 2006
@@ -122,6 +122,7 @@
 	CHIP_R420,
 	CHIP_RV410,
 	CHIP_RS400,
+	CHIP_RS530,
 	CHIP_LAST,
 };
 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Mon Dec 18 19:56:07 UTC 2006 
State-Changed-Why:  
Allowing the DRM to attach to the hardware without having any actual support 
for that hardware would be only harmful. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106798 
Responsible-Changed-From-To: freebsd-bugs->anholt 
Responsible-Changed-By: maxim 
Responsible-Changed-When: Tue Jan 2 10:47:59 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer. 

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