"Jos� Fonseca" wrote:
> On 2002.04.04 11:46 Tony Rogvall wrote:
> > ...
> >
> > Found it, I assumed it was a printk and removed DRM_INFO voila it started
> > without
> > a crash. In mach64_dma there is code for printing AGP_BASE !! Just put
> > some
> > __REALLY_HAVE_AGP around it.
> >
>
> __REALLY_HAVE_AGP is a constant macro. It must be some variable that
> indicates wether agpgart is or not loaded.
well nearly constant it is defined by:
#define __REALLY_HAVE_AGP (__HAVE_AGP && (defined(CONFIG_AGP) || \
defined(CONFIG_AGP_MODULE)))
And for my system (running redhat) agpgart is compiled into the kernel, but
that
does not say anything about if I have AGP or not!
One could try read the AGP_BASE and see if it's 0 (as indicated by the crash
:-)
This should be done in runtime, otherwise we must build different kernel
modules
for different systems etc.
>
>
> Thanks for your valuable help Tony! I'll look deeper into it as soon as I
> return from vacations (next Monday).
>
Sound nice!!!!
Regards
/Tony
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel