* [PATCH] Intel 830m backport (2.5 -> 2.4)
@ 2002-08-23 13:32 Federico Di Gregorio
2002-08-23 14:30 ` Christoph Hellwig
0 siblings, 1 reply; 5+ messages in thread
From: Federico Di Gregorio @ 2002-08-23 13:32 UTC (permalink / raw)
To: faith; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]
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 fog@debian.org
INIT.D Developer fog@initd.org
I came like Water, and like Wind I go. -- Omar Khayam
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] Intel 830m backport (2.5 -> 2.4)
2002-08-23 13:32 [PATCH] Intel 830m backport (2.5 -> 2.4) Federico Di Gregorio
@ 2002-08-23 14:30 ` Christoph Hellwig
2002-08-23 15:23 ` Alan Cox
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2002-08-23 14:30 UTC (permalink / raw)
To: Federico Di Gregorio; +Cc: faith, linux-kernel
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Intel 830m backport (2.5 -> 2.4)
2002-08-23 14:30 ` Christoph Hellwig
@ 2002-08-23 15:23 ` Alan Cox
2002-08-23 16:01 ` Christoph Hellwig
2002-08-23 16:08 ` Rik van Riel
0 siblings, 2 replies; 5+ messages in thread
From: Alan Cox @ 2002-08-23 15:23 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Federico Di Gregorio, faith, linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Intel 830m backport (2.5 -> 2.4)
2002-08-23 15:23 ` Alan Cox
@ 2002-08-23 16:01 ` Christoph Hellwig
2002-08-23 16:08 ` Rik van Riel
1 sibling, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2002-08-23 16:01 UTC (permalink / raw)
To: Alan Cox; +Cc: Federico Di Gregorio, faith, linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Intel 830m backport (2.5 -> 2.4)
2002-08-23 15:23 ` Alan Cox
2002-08-23 16:01 ` Christoph Hellwig
@ 2002-08-23 16:08 ` Rik van Riel
1 sibling, 0 replies; 5+ messages in thread
From: Rik van Riel @ 2002-08-23 16:08 UTC (permalink / raw)
To: Alan Cox; +Cc: Christoph Hellwig, Federico Di Gregorio, faith, linux-kernel
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-08-23 16:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-23 13:32 [PATCH] Intel 830m backport (2.5 -> 2.4) Federico Di Gregorio
2002-08-23 14:30 ` Christoph Hellwig
2002-08-23 15:23 ` Alan Cox
2002-08-23 16:01 ` Christoph Hellwig
2002-08-23 16:08 ` Rik van Riel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.