Re: Improved DRM support for cant_use_aperture platforms

David Mosberger (davidm@napali.hpl.hp.com)
Mon, 12 May 2003 14:51:08 -0700


Michel> Hmm, isn't there a way to make it work with older kernels as
Michel> well? For reference, we've been using
Michel> http://www.penguinppc.org/~daenzer/DRI/drm-ioremapagp.diff
Michel> by Benjamin Herrenschmidt for a while for Apple UniNorth
Michel> northbridges.

It should be possible to add vmap() and vunmap() to kernel/vmalloc.c
on older kernels. I think those are the only dependencies (apart from
PAGE_AGP, which is taken care of by the latest patch).

Michel> I was hoping to replace it with a cleaner solution like
Michel> yours.

Is there someone else on this list who would be able to look into
backporting vmap()/vunmap() to 2.4? I don't use 2.4 with any
regularity anymore, but I suppose if nobody else is interested, I
could look into it.

Michel> Anyway, after applying your second patch, things looked much
Michel> better, and the attached patch against the DRI CVS trunk
Michel> builds without warnings here.

Great! Does this mean that next time Linus does a pull he'll pick up
this stuff?

--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/