From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 3 18:06:27 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC1B016A455 for ; Tue, 3 Jan 2006 18:06:27 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 443A743D68 for ; Tue, 3 Jan 2006 18:06:02 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 5182139 for multiple; Tue, 03 Jan 2006 13:03:51 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k03I5bO3094388; Tue, 3 Jan 2006 13:05:39 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Tue, 3 Jan 2006 13:00:07 -0500 User-Agent: KMail/1.8.2 References: <20060101214301.319c7c9e.uchman@home.se> In-Reply-To: <20060101214301.319c7c9e.uchman@home.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601031300.08319.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1225/Mon Jan 2 12:54:07 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Peter =?iso-8859-1?q?Ankerst=E5l?= Subject: Re: Fujitsu P7010 drm problems. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 18:06:28 -0000 On Sunday 01 January 2006 03:43 pm, Peter Ankerst=E5l wrote: > I want to enable direct renering on my Fujitsu Siemens P7010PM but when I > include the i915drm to the kernel I get the following messages at > boot-time: > > drmsub0: port 0x2430-0x2437 mem > 0xd8000000-0xdfffffff ,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0 > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize > AGP. device_attach: drmsub0 attach returned 12 > drmsub1: mem > 0xe0000000-0xe7ffffff,0xd0080000-0xd00ff fff at device 2.1 on pci0 > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize > AGP. device_attach: drmsub1 attach returned 12 > > Huh, really? THIS is the message I get when I don't have the i915drm in t= he > kernel: > > agp0: port 0x2430-0x2437 m= em > 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0 > detected 8060k stolen memory > aperture size is 128M > > So, what I want to do is to "steal" more memory to enable drm and dri. > What could be the problem? This is fixed in HEAD. I think the quick hack that might work is to change= =20 the i915_drm.c file to attach to drmsub rather than pci in the=20 DRIVER_MODULE() line. =2D-=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org