Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2005 09:23:21 -0800
From:      Eric Anholt <eta@lclark.edu>
To:        "O. Hartmann" <ohartman@mail.uni-mainz.de>
Cc:        freebsd-amd64@freebsd.org, Jung-uk Kim <jkim@freebsd.org>
Subject:   Re: device drm with PCIe?
Message-ID:  <1134840201.1404.109.camel@leguin>
In-Reply-To: <43A3EC1A.5050209@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> <1134778435.1404.100.camel@leguin> <43A3EC1A.5050209@mail.uni-mainz.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-T1co2wTx0R0GkeKy/6Ug
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2005-12-17 at 11:44 +0100, O. Hartmann wrote:
> >>>>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
> >>>>
> >>>>       =20
> >>>>
> >>>Did you try 'make clean; make cleandepend; make depend; make'?
> >>>=20
> >>>
> >>>     =20
> >>>
> >>Doesn't work without device agp in kernel config file!
> >>
> >>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':
> >>   =20
> >>
> >
> >Correct, the DRM module requires AGP.
> >
> > =20
> >
>=20
> So, due to this limitation, drm on any PCIe-based AMD64 platform is
> useless so far?

No, you simply need the agp device compiled into the kernel.  It doesn't
mean it will actually be used with your specific card at runtime.

And anyways, you never need to build drm and your device-specific drm
built into the kernel.  X loads it for you so you don't have to worry.

--=20
Eric Anholt                                     eta@lclark.edu
http://people.freebsd.org/~anholt/              anholt@FreeBSD.org

--=-T1co2wTx0R0GkeKy/6Ug
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)

iD8DBQBDpEmJHUdvYGzw6vcRAu0nAJ9qXg9L2ur3o5R/bbUypT9oC00XsgCfTDJx
uEqsFmLj8n8p7uehsdG825M=
=wBAJ
-----END PGP SIGNATURE-----

--=-T1co2wTx0R0GkeKy/6Ug--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1134840201.1404.109.camel>