Re: [RFC: 2.6 patch] remove the i830 driver

2008-07-15 Thread Adrian Bunk
On Tue, Jul 15, 2008 at 09:14:05PM +0100, Dave Airlie wrote: > > > After seeing that i830_drm.h was just added as a userspace header > > I wondered whether there's really a non-empty intersection of > > kernel >= 2.6.27 users and users of such an ancient X. > > > > I doubt it, and therefore sugge

Re: [RFC: 2.6 patch] remove the i830 driver

2008-07-15 Thread Adrian Bunk
On Tue, Jul 15, 2008 at 03:28:04PM +0100, Keith Whitwell wrote: > You can still buy new i865 boards: > > http://www.ebuyer.com/product/119412 > > So I think this isn't a great idea. Why does the i915 driver not work on this board? > Keith cu Adrian -- "Is there not promise of rain

[2.6 patch] make drm_minors_cleanup() static

2008-04-28 Thread Adrian Bunk
This patch makes the needlessly global drm_minors_cleanup() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 33cfc2c40ea8449f0e36af7107778a2bdaffae19 diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c index fc54140..7166a55 100644 --- a/drivers/char/drm/drm

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-24 Thread Adrian Bunk
On Mon, Oct 22, 2007 at 09:15:43PM -0700, Jesse Barnes wrote: > On Friday, October 19, 2007, Jesse Barnes wrote: > > Dave can you take a look at the new flag and also see what you think > > about supporting suspend/resume in the event X hasn't started yet? > > There's some #if 0'd code to support t

[2.6 patch] make drm_sg_alloc() static

2007-10-24 Thread Adrian Bunk
drm_sg_alloc() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/drmP.h|1 - drivers/char/drm/drm_scatter.c |5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) 20df9d65e0cd1dc699129787b2c4b02a010b1bcc diff --git a/driver

[2.6 patch] radeon_driver_vblank_do_wait() static

2007-07-29 Thread Adrian Bunk
radeon_driver_vblank_do_wait() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/char/drm/radeon_irq.c.old 2007-07-26 08:49:12.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/char/drm/radeon_irq.c 2007-07-26 08:49:46.0

[2.6 patch] drm_rmmap_ioctl(): remove dead code

2007-07-23 Thread Adrian Bunk
This patch removes some obviously dead code spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/drivers/char/drm/drm_bufs.c.old2007-07-23 01:09:04.0 +0200 +++ linux-2.6.22-rc6-mm1/drivers/char/drm/drm_bufs.c2007

[-mm patch] make drivers/char/drm/drm_vm.c:drm_io_prot() static

2007-03-04 Thread Adrian Bunk
On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote: >... > Changes since 2.6.20-mm2: >... > git-drm.patch >... > git trees >... This patch makes the needlessly global drm_io_prot() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.

[RFC: 2.6 patch] drivers/char/drm/drm_mm.c: remove unused exports

2007-02-19 Thread Adrian Bunk
This patch removes two unused exports. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 11 Jan 2007 - 21 Nov 2006 --- linux-2.6.19-rc5-mm2/drivers/char/drm/drm_mm.c.old 2006-11-21 20:08:02.0 +0100 +++ linux-2.6.19-rc5-mm2/drivers/char/drm/dr

[RFC: 2.6 patch] drivers/char/drm/drm_mm.c: remove unused exports

2007-01-11 Thread Adrian Bunk
This patch removes two unused exports. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 21 Nov 2006 --- linux-2.6.19-rc5-mm2/drivers/char/drm/drm_mm.c.old 2006-11-21 20:08:02.0 +0100 +++ linux-2.6.19-rc5-mm2/drivers/char/drm/drm_mm.c 2

[RFC: 2.6 patch] drivers/char/drm/drm_mm.c: remove unused exports

2006-11-21 Thread Adrian Bunk
This patch removes two unused exports. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.19-rc5-mm2/drivers/char/drm/drm_mm.c.old 2006-11-21 20:08:02.0 +0100 +++ linux-2.6.19-rc5-mm2/drivers/char/drm/drm_mm.c 2006-11-21 20:09:19.0 +0100 @@ -177,8

[-mm patch] drivers/char/drm/: cleanups

2006-08-13 Thread Adrian Bunk
NFIG_FB_SIS=y Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/drm_bufs.c |4 ++-- drivers/char/drm/drm_sman.c |2 +- drivers/char/drm/sis_mm.c | 12 +++- 3 files changed, 10 insertions(+), 8 deletions(-) --- linux-2.6.18-rc4-mm1/drivers/char/drm/drm_b

[RFC: 2.6 patch] drivers/char/drm/: possible cleanups

2006-04-19 Thread Adrian Bunk
rmmap - drm_stub.c: drm_get_dev Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/drmP.h |1 - drivers/char/drm/drm_agpsupport.c |2 -- drivers/char/drm/drm_bufs.c |5 + drivers/char/drm/drm_stub.c |2 -- 4 files changed, 1 inse

[-mm patch] drivers/char/drm/drm_memory.c: possible cleanups

2006-04-09 Thread Adrian Bunk
nused global function: - drm_ioremap_nocache() - make the following needlessly global functions static: - agp_remap() - drm_lookup_map() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/drmP.h |4 ++-- drivers/char/drm/drm_memory.c | 25

[-mm patch] drivers/video/intelfb/intelfbhw.c: make struct plls static

2006-03-23 Thread Adrian Bunk
On Thu, Mar 23, 2006 at 01:40:46AM -0800, Andrew Morton wrote: >... > Changes since 2.6.16-rc6-mm2: >... > git-intelfb.patch >... > git trees. >... This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.

[RFC: -mm patch] remove drm_{alloc,free}_pages

2006-03-23 Thread Adrian Bunk
On Thu, Mar 23, 2006 at 01:40:46AM -0800, Andrew Morton wrote: >... > Changes since 2.6.16-rc6-mm2: >... > git-drm.patch >... > git trees. >... drm_alloc_pages and drm_free_pages can now be removed. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --

Re: 2.6.16-rc3: more regressions

2006-02-13 Thread Adrian Bunk
On Mon, Feb 13, 2006 at 10:50:52AM -0800, Linus Torvalds wrote: >... > I just worry whether (a) the other added PCI ID's are any good for that > core and (b) whether the bug was really introduced with some of the other > changes. I admit that (b) is pretty unlikely, but it would be good to > tes

Re: 2.6.16-rc3: more regressions

2006-02-13 Thread Adrian Bunk
On Mon, Feb 13, 2006 at 01:42:09PM -0500, Dave Jones wrote: > On Mon, Feb 13, 2006 at 07:34:45PM +0100, Adrian Bunk wrote: > > On Mon, Feb 13, 2006 at 10:16:59AM -0800, Linus Torvalds wrote: > > > > > > > > > On Mon, 13 Feb 2006, Linus Torvalds wrote:

Re: 2.6.16-rc3: more regressions

2006-02-13 Thread Adrian Bunk
On Mon, Feb 13, 2006 at 10:16:59AM -0800, Linus Torvalds wrote: > > > On Mon, 13 Feb 2006, Linus Torvalds wrote: > > > > DaveA, I'll apply this for now. Comments? > > Btw, the fact that Mauro has the same exact PCI ID (well, lspci stupidly > suppresses the ID entirely, but the string seems to

[2.6 patch] drivers/char/drm/: make some functions static

2006-01-25 Thread Adrian Bunk
This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 19 Jan 2006 drivers/char/drm/i810_dma.c|2 +- drivers/char/drm/i810_drv.h|2 -- drivers/char/drm/i830_dma.c|2 +- d

[2.6 patch] drivers/char/drm/: make some functions static

2006-01-18 Thread Adrian Bunk
This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/i810_dma.c|2 +- drivers/char/drm/i810_drv.h|2 -- drivers/char/drm/i830_dma.c|2 +- drivers/char/drm/i830_drv.h|3 --- driver

[2.6 patch] drivers/char/drm/: small cleanups

2005-09-02 Thread Adrian Bunk
This patch contains the following small cleanups: - make two needlessly global functions static - drm_sysfs.c: every file should #include the header with the prototypes of the global functions it is offering Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This pat

[2.6 patch] drivers/char/drm/: small cleanups

2005-08-24 Thread Adrian Bunk
This patch contains the following small cleanups: - make two needlessly global functions static - drm_sysfs.c: every file should #include the header with the prototypes of the global functions it is offering Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/ch

[2.6 patch] drivers/char/drm/drm_pci.c: fix warnings

2005-07-27 Thread Adrian Bunk
m/drm_pci.c:119:5: warning: "DRM_DEBUG_MEMORY" is not defined drivers/char/drm/drm_pci.c:126:5: warning: "DRM_DEBUG_MEMORY" is not defined drivers/char/drm/drm_pci.c:134:5: warning: "DRM_DEBUG_MEMORY" is not defined ... <-- snip --> Signed-off-by: Adrian Bunk <

[2.6 patch] drivers/char/drm/drm_pci.c: fix -Wundef warnings

2005-07-22 Thread Adrian Bunk
s/char/drm/drm_pci.c:119:5: warning: "DRM_DEBUG_MEMORY" is not defined drivers/char/drm/drm_pci.c:126:5: warning: "DRM_DEBUG_MEMORY" is not defined drivers/char/drm/drm_pci.c:134:5: warning: "DRM_DEBUG_MEMORY" is not defined ... <-- snip --> Signed-off-by: Adr

[2.6 patch] DRM: misc cleanup

2005-07-03 Thread Adrian Bunk
c: drm_read - i915_dma.c: i915_do_cleanup_pageflip Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/ati_pcigart.c |2 drivers/char/drm/drmP.h| 22 --- drivers/char/drm/drm_auth.c|4 - drivers/char/drm/drm_bufs.c| 12 ++-- drivers/char/drm/drm

[2.6 patch] DRM: misc cleanup

2005-05-30 Thread Adrian Bunk
eMem - via_ds.c: via_mmFreeReserved - via_ds.c: via_mmDestroy - remove the followig unused global variable: - via_mm.c: VIA_DEBUG Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/ati_pcigart.c |2 drivers/char/drm/drmP.h| 22 -- drivers/char/drm/drm_a

[2.6 patch] DRM: misc cleanup

2005-04-18 Thread Adrian Bunk
eMem - via_ds.c: via_mmFreeReserved - via_ds.c: via_mmDestroy - remove the followig unused global variable: - via_mm.c: VIA_DEBUG Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/char/drm/ati_pcigart.c |2 drivers/char/drm/drmP.h| 22 -- drivers/char/drm/drm_a

[2.6 patch] drm_memory.h doesn't need to #include tlbflush.h

2005-01-31 Thread Adrian Bunk
The flush_tlb_kernel_range call in drm_memory.h was removed in 2003, so there's no more reason for this #include. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 21 Jan 2005 --- linux-2.6.11-rc1-mm2-full/drivers/char/drm/drm_memory.h.old 2005-0

[2.6 patch] drm_memory.h doesn't need to #include tlbflush.h

2005-01-21 Thread Adrian Bunk
The flush_tlb_kernel_range call in drm_memory.h was removed in 2003, so there's no more reason for this #include. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.11-rc1-mm2-full/drivers/char/drm/drm_memory.h.old 2005-01-21 11:21:15.0 +0100 +++ linux-2.6.11-r

Re: [BUG] Compile bug in Direct Rendering Manager (kernel 2.6.11-rc1)

2005-01-13 Thread Adrian Bunk
On Thu, Jan 13, 2005 at 11:50:06AM +0100, Luca Falavigna wrote: > > While compiling kernel 2.6.11-rc1, make exits with a lot of errors concerning > Direct Rendering Manager. Here is some info I've grabbed: > > [...] > CC [M] drivers/char/drm/gamma_drv.o > drivers/char/drm/gamma_drv.c:39:22: drm_

[2.6 patch] DRM: remove unused functions (fwd)

2004-12-06 Thread Adrian Bunk
The patch forwarded below still applies and compiles against 2.6.10-rc2-mm4. Please apply. - Forwarded message from Adrian Bunk <[EMAIL PROTECTED]> - Date: Fri, 29 Oct 2004 02:16:18 +0200 From: Adrian Bunk <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTEC

2.6.10-rc1-mm3: drm_ati_pcigart_{init,cleanup} multiple definition

2004-11-05 Thread Adrian Bunk
On Fri, Nov 05, 2004 at 12:13:28AM -0800, Andrew Morton wrote: >... > Changes since 2.6.10-rc1-mm2: >... > bk-drm.patch >... This causes the following compile error: <-- snip --> ... LD drivers/char/drm/built-in.o drivers/char/drm/radeon.o(.text+0x120): In function `drm_ati_pcigart_ini

[2.6 patch] DRM: remove unused functions

2004-10-28 Thread Adrian Bunk
-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.10-rc1-mm1-full/drivers/char/drm/i810_dma.c.old 2004-10-28 22:55:34.0 +0200 +++ linux-2.6.10-rc1-mm1-full/drivers/char/drm/i810_dma.c 2004-10-28 22:55:45.0 +0200 @@ -51,24 +51,6 @@ #define up_write up #endif -

[2.6 patch] DRM: remove unused functions

2004-10-28 Thread Adrian Bunk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The patch below removes two unused functions from DRM. diffstat output: drivers/char/drm/i810_dma.c | 18 -- drivers/char/drm/i915_dma.c | 18 -- 2 files changed, 36 deletions(-) Signed-off-by: Adrian Bunk

[Dri-devel] [patch] 2.6.6-rc2-mm1: drm_irq.h has useless __NO_VERSION__

2004-04-25 Thread Adrian Bunk
On Wed, Apr 21, 2004 at 01:45:44AM -0700, Andrew Morton wrote: >... > All 222 patches: >... > bk-drm.patch >... The drivers/char/drm/drm_irq.h in this patch contains a #define __NO_VERSION__ which is useless since ages. The patch below removes it. Please apply Adrian --- linux-2.6.6-rc2-mm1-

Re: [Dri-devel] [2.6 patch] disallow DRM on 386

2004-01-20 Thread Adrian Bunk
On Wed, Jan 21, 2004 at 12:04:59AM +, Alan Cox wrote: > On Maw, 2004-01-20 at 21:24, Adrian Bunk wrote: > > I got the following compile error in 2.6.1-mm5 with X86_CMPXCHG=n. > > This problem is not specific to -mm, and it always occurs when you > > include support for t

[Dri-devel] [2.6 patch] disallow DRM on 386

2004-01-20 Thread Adrian Bunk
I got the following compile error in 2.6.1-mm5 with X86_CMPXCHG=n. This problem is not specific to -mm, and it always occurs when you include support for the 386 cpu (oposed to the 486 or later cpus) since in this case X86_CMPXCHG=n and therefoore cmpxchg isn't defined in include/asm-i386/system

[Dri-devel] 2.6.1-rc2-mm1: drm/sis_mm.c compile error

2004-01-08 Thread Adrian Bunk
On Wed, Jan 07, 2004 at 11:28:31PM -0800, Andrew Morton wrote: >... > - Added the latest code drop from DRM CVS. People who use DRM, please test > it. >... I got the following compile error: <-- snip --> ... CC drivers/char/drm/sis_mm.o drivers/char/drm/sis_mm.c:37:25: linux/sisfb.h: