From owner-freebsd-hardware@FreeBSD.ORG Sun Apr 6 22:16:57 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77E4E37B401 for ; Sun, 6 Apr 2003 22:16:57 -0700 (PDT) Received: from empire.explosive.mail.net (empire.explosive.mail.net [205.205.25.120]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E3E243F85 for ; Sun, 6 Apr 2003 22:16:53 -0700 (PDT) (envelope-from mykroft@explosive.mail.net) Received: (qmail 18275 invoked from network); 7 Apr 2003 05:12:27 -0000 Received: from ticking.explosive.mail.net (HELO ticking) (205.205.25.116) by empire.explosive.mail.net with SMTP; 7 Apr 2003 05:12:27 -0000 Message-ID: <001001c2fcc4$ffb61db0$7419cdcd@ticking> From: "Adam Maas" To: "Martin Wenzlick" , References: <200304071658.31251.mgw@clear.net.nz> Date: Mon, 7 Apr 2003 01:17:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: ATI Radeon QL 8500, DRM support, 5.0-RELEASE X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 05:16:57 -0000 ----- Original Message ----- From: "Martin Wenzlick" To: Sent: Monday, April 07, 2003 12:58 PM Subject: ATI Radeon QL 8500, DRM support, 5.0-RELEASE > Any known plans for DRM support for "ATI Radeon QL 8500" AGP card ? > Might this already be covered in -CURRENT ? I haven't had the guts to try > -CURRENT yet. > > Some info: > su-2.05b# dmesg |grep info > info: [drm] ATI Radeon QL 8500 (AGP) not supported > > su-2.05b# uname -a > FreeBSD cerbera.localdomain 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Sat Apr 5 > 21:52:56 GMT 2003 > marty@cerbera.localdomain:/usr/src/sys/i386/compile/CERBERADRM i386 > > su-2.05b# scanpci -v > ---- * snip * ---- > pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x514c > ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE] > CardVendor 0x17af card 0x2003 (Hightech Information System Ltd., Card > unknown) > STATUS 0x02b0 COMMAND 0x0087 > CLASS 0x03 0x00 0x00 REVISION 0x00 > BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x08 > BASE0 0xc0000008 addr 0xc0000000 MEM PREFETCHABLE > BASE1 0x00009801 addr 0x00009800 I/O > BASE2 0xdfef0000 addr 0xdfef0000 MEM > BASEROM 0xdfec0000 addr 0xdfec0000 not-decode-enabled > MAX_LAT 0x00 MIN_GNT 0x08 INT_PIN 0x01 INT_LINE 0x0b > > su-2.05b# cat /usr/src/sys/dev/drm/radeon_drv.c |grep Radeon > /* radeon_drv.c -- ATI Radeon driver -*- linux-c -*- > #define DRIVER_DESC "ATI Radeon" > {0x1002, 0x4242, 0, "ATI Radeon BB 8500 (AGP)"}, > {0x1002, 0x4C57, 1, "ATI Radeon LW Mobility 7 (AGP)"}, > {0x1002, 0x4C59, 1, "ATI Radeon LY Mobility 6 (AGP)"}, > {0x1002, 0x4C5A, 1, "ATI Radeon LZ Mobility 6 (AGP)"}, > {0x1002, 0x5144, 1, "ATI Radeon QD (AGP)"}, > {0x1002, 0x5145, 1, "ATI Radeon QE (AGP)"}, > {0x1002, 0x5146, 1, "ATI Radeon QF (AGP)"}, > {0x1002, 0x5147, 1, "ATI Radeon QG (AGP)"}, > {0x1002, 0x514C, 0, "ATI Radeon QL 8500 (AGP)"}, <-------( not > supported?) > {0x1002, 0x514E, 0, "ATI Radeon QN 8500 (AGP)"}, > {0x1002, 0x514F, 0, "ATI Radeon QO 8500 (AGP)"}, > {0x1002, 0x5157, 1, "ATI Radeon QW 7500 (AGP)"}, > {0x1002, 0x5159, 1, "ATI Radeon QY VE (AGP)"}, > {0x1002, 0x515A, 1, "ATI Radeon QZ VE (AGP)"}, > {0x1002, 0x516C, 0, "ATI Radeon Ql 8500 (AGP)"}, > > Sounds like it's simply not detecting the card 100% correctly. This likely means that you just need to add a line with the correct Vendor and Card ID (The ATI ones are there, but your card is a 3rd party card with different codes) to radeon_drv.c Try this: {0x17af, 0x2003, 0, "ATI Radeon QL 8500 (AGP)"}, Adam