Re: Radeon PCI support

Nathaniel Wesley Filardo (nwf@andrew.cmu.edu)
Fri, 31 Jan 2003 01:38:24 -0500


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-15440-1043995200-0001-2
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Chris Ison wrote:
> I am looking for any information that may help in getting my Radeon PCI
> card working in linux with acceloration.
>
> I am in the process of trying to obtain information from ATI about the
> chipset but apart from that I haven't been successful in any other way
> except I have determined the card becomes locked and often its FIFO read
> pointer is occassionally at 0 when it has locked (with the FIFO write
> pointer often several kilobytes ahead of it).
>
> I have had no luck with DRI or XFree86 people as PCI support for Radeons
> on x86 platform isn't a priority at this time.
>
> The suggestion is that the problem is in the DRM but I can't find
> information confirming that in the lkml at this time.
>
> If you do have any information/patches that could help for the x86
> platform could you please CC me as I am not on the lkml due to its
> traffic volume.
>
> I am determined to have this fixed so please help if you can.
>
>
> Thank you in advance
> Chris Ison

You have to enable PCIGART in drivers/char/drm/radeon_cp.c:

There should be a block that looks like this, near the top of the file:
#if defined(__alpha__)
# define PCIGART_ENABLED
#else
# undef PCIGART_ENABLED
#endif

Either replace it with, or add below it, "#define PCIGART_ENABLED" without the ""s. This has worked fine for me, though I do
not know if it is the technically "right" solution. There is a leftover quirk that I have not looked into investigating that
the module "agpgart" will still be loaded and ISTR that the radeon driver still registers itself as an AGP device. However,
this is not really a big deal.

Unfortunately, I think you also need to recompile X and I do not remember where in the source tree PCIGART_ENABLED needs to be
defined - probably in the ati/ driver directory somewhere. Hope that is enough of a pointer to get you looking in the right place.

--NWF;

--=_courier-15440-1043995200-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+OhnjR4WVIgmDWjIRAjI1AKCX8i/5mdMwpm0AZTxjKEPezLhEQwCgjs8C
xM/OaWTaCfjbnt0F7eamIgQ=
=TV0t
-----END PGP SIGNATURE-----

--=_courier-15440-1043995200-0001-2--