[ltp] radeon thinkpads LCD plus DVI port

Alex Deucher linux-thinkpad@linux-thinkpad.org
Tue, 3 Oct 2006 09:58:44 -0400


On 10/3/06, Stefan Schmidt <stefan@sostec.de> wrote:
> Hello.
>
> On Mon, 2006-10-02 at 17:02, Alex Deucher wrote:
> >
> > If you are using xorg 7.1, all you need to grab is the xf86-video-ati
> > module from git and your distro's xorg-devel packages.
>
> I got the ati module:
> cg-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
>
> But run in an error during compile:
>
> atidri.c: In function 'ATIDRIAddBuffers':
> atidri.c:1093: error: 'DRM_PCI_BUFFER_RO' undeclared (first use in
> this function)
> atidri.c:1093: error: (Each undeclared identifier is reported only
> once
> atidri.c:1093: error: for each function it appears in.)
> make[2]: *** [atidri.lo] Error 1
> make[2]: Leaving directory `/home/stefan/tmp/xorg/xf86-video-ati/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/stefan/tmp/xorg/xf86-video-ati'
> make: *** [all] Error 2
>
> Do i need a special dri module? Or something magic for autogen.sh or
> configure?

updates to the mach64 driver require libdrm from git.  you can either
grab that, or revert the last 2 commits using git bisect.  Also, all
you should need is ./autogen.sh and make.

Alex

>
> I just run ./autogen.sh && ./configure && make
>
> regards
> Stefan Schmidt
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: http://www.datenfreihafen.org/contact.html
>
> iD8DBQFFImfbbNSsvd31FmURArttAJsF8EyyB08szWq0AuibQB5QGOk0jACfZ29K
> 3Flq1WYvVCREajDV5J7lxHY=
> =yfQ6
> -----END PGP SIGNATURE-----
>
>
>