From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 17 00:13:59 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DBC916A420; Sat, 17 Dec 2005 00:13:59 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from leguin.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8080043D64; Sat, 17 Dec 2005 00:13:58 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from leguin.anholt.net (localhost [127.0.0.1]) by leguin.anholt.net (8.13.4/8.13.1) with ESMTP id jBH0DvrR010062; Fri, 16 Dec 2005 16:13:57 -0800 (PST) (envelope-from eta@lclark.edu) Received: (from anholt@localhost) by leguin.anholt.net (8.13.4/8.13.1/Submit) id jBH0DvcN010061; Fri, 16 Dec 2005 16:13:57 -0800 (PST) (envelope-from eta@lclark.edu) X-Authentication-Warning: leguin.anholt.net: anholt set sender to eta@lclark.edu using -f From: Eric Anholt To: "O. Hartmann" In-Reply-To: <43A34647.1030404@mail.uni-mainz.de> References: <43A1636A.6030108@mail.uni-mainz.de> <200512161230.41499.jkim@FreeBSD.org> <43A30B25.3030102@mail.uni-mainz.de> <200512161422.00688.jkim@FreeBSD.org> <43A34647.1030404@mail.uni-mainz.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dAZX90k87VIdAZ0i8ARB" Date: Fri, 16 Dec 2005 16:13:55 -0800 Message-Id: <1134778435.1404.100.camel@leguin> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2 FreeBSD GNOME Team Port Cc: freebsd-amd64@freebsd.org, Jung-uk Kim Subject: Re: device drm with PCIe? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 00:13:59 -0000 --=-dAZX90k87VIdAZ0i8ARB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-12-16 at 23:57 +0100, O. Hartmann wrote: > Jung-uk Kim wrote: >=20 > >On Friday 16 December 2005 01:44 pm, O. Hartmann wrote: > > =20 > > > >>Jung-uk Kim schrieb: > >> =20 > >> > >>>On Thursday 15 December 2005 07:36 am, O. Hartmann wrote: > >>> =20 > >>> > >>>>Normally 'device drm' is only useable in conjunction with 'device > >>>>agp'. A lot of amd64 based boxes now use PEG slots for their > >>>>graphics accelerators. Is it possible to utilize 'drm' with PCIe > >>>>devices? > >>>> =20 > >>>> > >>>Yes. It should work, at least in theory. ;-) > >>> > >>> =20 > >>> > >>>>Does device agp has any effect on PCIe graphics accelerators? > >>>> =20 > >>>> > >>>No. You don't need it for PCI-Express controller. > >>> =20 > >>> > >>Ok, but without AGP (device agp) in my kernel config file, I get a > >>lot of errors while linking the kernel of missing agp_xxxxx > >>routines (FreeBSD 6.0-STABLE/amd64). So, device drm alone seems to > >>be useless (although in conjunction with device pci). > >> =20 > >> > > > >Did you try 'make clean; make cleandepend; make depend; make'? > > =20 > > >=20 > Doesn't work without device agp in kernel config file! >=20 > linking kernel > drm_agpsupport.o(.text+0x22c): In function `drm_agp_info': > : undefined reference to `agp_get_info' > drm_agpsupport.o(.text+0x324): In function `drm_agp_acquire': > : undefined reference to `agp_acquire' > drm_agpsupport.o(.text+0x374): In function `drm_agp_release': > : undefined reference to `agp_release' > drm_agpsupport.o(.text+0x3cf): In function `drm_agp_enable': > : undefined reference to `agp_enable' > drm_agpsupport.o(.text+0x45b): In function `drm_agp_init': > : undefined reference to `agp_find_device' > drm_agpsupport.o(.text+0x4ed): In function `drm_agp_init': > : undefined reference to `agp_get_info' > drm_agpsupport.o(.text+0x534): In function `drm_agp_allocate_memory': Correct, the DRM module requires AGP. --=20 Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org --=-dAZX90k87VIdAZ0i8ARB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDo1hDHUdvYGzw6vcRAso0AJ9p0a7UVCg+bDLHL8syDvylY6dnpQCeLh62 TOLjaKWWC5KbQqoCw6Fc4YQ= =wNQd -----END PGP SIGNATURE----- --=-dAZX90k87VIdAZ0i8ARB--