hi,
this is my first try at a kernel patch, i hope i am doing everything
right; if not, please just tell me. (i sent this patch to both the drm
maintainer and the linux-kernel ML. should i send 2.4 patches directly
to marcelo? mm..)
anyway, this is just a backport of the 2.5 DRM driver for Intel 830M to
the 2.4 series. It is against 2.4.19 but, consisting only of added files
it should work clean on later kernels (tested on 2.4.20pre). The patch
is quite big (67252 bytes) and can be downloaded from:
http://people.initd.org/fog/linux-2.4.19-i830.diff
* Added files:
linux-2.4.19/drivers/char/drm/i830_dma.c
linux-2.4.19/drivers/char/drm/i830_drm.h
linux-2.4.19/drivers/char/drm/i830_drv.c
linux-2.4.19/drivers/char/drm/i830_drv.h
linux-2.4.19/drivers/char/drm/i830.h
* Modified files:
linux-2.4.19/Documentation/Configure.help
linux-2.4.19/drivers/char/drm/Config.in
linux-2.4.19/drivers/char/drm/Makefile
The only noteworthy change is the removal of some 2.5 specific code from
i830_free_page (file i830_dma.c) and the replacement of unlock_page by
UnlockPage.
I am not subscribed to the kernel ML, so please keep me in cc:.
ciao,
federico
--
Federico Di Gregorio
Debian GNU/Linux Developer [email protected]
INIT.D Developer [email protected]
I came like Water, and like Wind I go. -- Omar Khayam
On Fri, Aug 23, 2002 at 03:32:28PM +0200, Federico Di Gregorio wrote:
> hi,
>
> this is my first try at a kernel patch, i hope i am doing everything
> right; if not, please just tell me. (i sent this patch to both the drm
> maintainer and the linux-kernel ML. should i send 2.4 patches directly
> to marcelo? mm..)
>
> anyway, this is just a backport of the 2.5 DRM driver for Intel 830M to
> the 2.4 series. It is against 2.4.19 but, consisting only of added files
> it should work clean on later kernels (tested on 2.4.20pre). The patch
> is quite big (67252 bytes) and can be downloaded from:
Please don't do this. The 2.5 drm code is a piece of shit and even crappier
than the one in 2.4.
Alan, is there any chance you could send marcelo the -ac drm code?
On Fri, 2002-08-23 at 15:30, Christoph Hellwig wrote:
> Alan, is there any chance you could send marcelo the -ac drm code?
It needs untangling from any rmap macro dependancies. Go ahead
On Fri, Aug 23, 2002 at 04:23:05PM +0100, Alan Cox wrote:
> On Fri, 2002-08-23 at 15:30, Christoph Hellwig wrote:
>
> > Alan, is there any chance you could send marcelo the -ac drm code?
>
> It needs untangling from any rmap macro dependancies. Go ahead
There are no -rmap depencies, just on a few -ac features (new scheduler,
strict overcommit).
I've uploaded a patch that updates the mainline drm code to -ac, fixes
all compiler warnings and removes the remaining LINUX_VERSION_CODE checks
after most have already been removed in -ac.
It's at http://verein.lst.de/~hch/misc/linux-2.4.20-pre4-drm.patch
On 23 Aug 2002, Alan Cox wrote:
> On Fri, 2002-08-23 at 15:30, Christoph Hellwig wrote:
>
> > Alan, is there any chance you could send marcelo the -ac drm code?
>
> It needs untangling from any rmap macro dependancies. Go ahead
Those "rmap macro dependencies" have been merged into 2.4 mainline
a few months ago ;)
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/