- 23 Apr, 2006 2 commits
-
-
Dave Airlie authored
This patch contains the following possible cleanups: - make the following needlessly global function static: - drm_bufs.c: drm_addbufs_fb() - remove the following unused EXPORT_SYMBOL's: - drm_agpsupport.c: drm_agp_bind_memory - drm_bufs.c: drm_rmmap_locked - drm_bufs.c: drm_rmmap - drm_stub.c: drm_get_dev Signed-off-by:
Adrian Bunk <bunk@stusta.de> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
This fixes the r300 scratch stuff to work on PPC, from Ben Herrenschmidt on IRC. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 18 Apr, 2006 2 commits
-
-
Jayachandran C authored
Fix de-reference of 'dev_priv' before NULL check. Signed-off-by:
Jayachandran C. <c.jayachandran@gmail.com> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by:
Andrew Morton <akpm@osdl.org>
-
Adrian Bunk authored
- #if 0 the following unused global function: - drm_ioremap_nocache() - make the following needlessly global functions static: - agp_remap() - drm_lookup_map() Signed-off-by:
Adrian Bunk <bunk@stusta.de> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by:
Andrew Morton <akpm@osdl.org>
-
- 07 Apr, 2006 1 commit
-
-
Dave Airlie authored
This patch moves a few large functions from drm_memory.h to drm_memory.c, with the following effect: text data bss dec hex filename 46305 1304 20 47629 ba0d new/drm.ko 46367 1304 20 47691 ba4b org/drm.ko 12969 1372 0 14341 3805 new/i810.ko 14712 1372 0 16084 3ed4 org/i810.ko 16447 1364 0 17811 4593 new/i830.ko 18198 1364 0 19562 4c6a org/i830.ko 11875 1324 0 13199 338f new/i915.ko 13025 1324 0 14349 380d org/i915.ko 23936 29288 0 53224 cfe8 new/mga.ko 27280 29288 0 56568 dcf8 org/mga.ko Please apply. Signed-off-by:
Denis Vlasenko <vda@ilport.com.ua> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 05 Apr, 2006 3 commits
-
-
Dave Airlie authored
Clients can do this in the miniglx setups. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
On alpha: WARNING: "dma_free_coherent" [drivers/char/drm/drm.ko] undefined! WARNING: "dma_alloc_coherent" [drivers/char/drm/drm.ko] undefined! Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
This patch tries to fix an issue reported in drivers/char/drm/via_irq.c by Coverity, please review and apply if correct. Error reported: CID: 3444 Checker: REVERSE_INULL (help) File: /export2/p4-coverity/mc2/linux26/drivers/char/drm/via_irq.c Function: via_driver_irq_wait Description: Pointer "dev_priv" dereferenced before NULL check Patch Description: Move de-referencing dev_priv to after the NULL check. Signed-off-by: Jayachandran C. <c.jayachandran at gmail.com> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 28 Mar, 2006 3 commits
-
-
Dave Airlie authored
drm_alloc_pages and drm_free_pages can now be removed. Signed-off-by:
Adrian Bunk <bunk@stusta.de> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
Prevent a gcc warning in the SIS DRM driver. offset is a unsigned int and the printk wants a long. Signed-off-by:
Jon Mason <jdmason@us.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Arjan van de Ven authored
Mark the f_ops members of inodes as const, as well as fix the ripple-through this causes by places that copy this f_ops and then "do stuff" with it. Signed-off-by:
Arjan van de Ven <arjan@infradead.org> Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 25 Mar, 2006 1 commit
-
-
Dave Airlie authored
This adds all the r300 and r400 PCI ids from DRM CVS, it also makes these cards only initialise when the new xorg driver is used, as otherwise the DRM can cause lockups. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 22 Mar, 2006 1 commit
-
-
David S. Miller authored
Make sure the callers do a pgprot_noncached() on vma->vm_page_prot. Pointed out by Hugh Dickens. Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 20 Mar, 2006 2 commits
-
-
Adrian Bunk authored
This patch removes a dead Radeon URL from two Kconfig files. This isue was noted by Reto Gantenbein <ganto82@gmx.ch> in Kernel Bugzilla #4446. Signed-off-by:
Adrian Bunk <bunk@stusta.de>
-
Dave Airlie authored
From: Keith Whitwell <keithw@tungstengraphics.com> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 19 Mar, 2006 8 commits
-
-
Dave Airlie authored
Some minor issues in the i915 breadcrumb code. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
If these were valid checks, we'd have already oopsed several lines above where we were already dereferencing them. DA: these used to be valid but other changes made them unnecessary. Coverity: 776,777,778 Signed-off-by:
Dave Jones <davej@redhat.com> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
This is the start of some work from Roland Scheidegger to align the X DDX pci ids and the drm ones, however we don't want to put r300 ids in the kernel just yet, they destabilise a few machines. From: Roland Scheidegger (via DRM CVS) Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Aapo Tahkola (via DRM CVS) Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
This code reworks the radeon memory map so it works better for newer r300 chips and for a lot of older PCI chips. It really requires a new X driver in order to take advantage of this code. From: Ben Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
Update some of the DRM register names from DRM CVS Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
This patch makes the PCI support use the correct Linux interfaces finally. Tested in DRM CVS on PCI MGA card. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 17 Feb, 2006 3 commits
-
-
Dave Airlie authored
Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
The Xgl on r300 doesn't work unless you add a verify bitblt function to the DRM, and we need to pass TX_CNTL to flush texture caches. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
Fixes: IRQ disabled (i915?) when switchig between gnome themes (gnome-theme-manager) Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 13 Feb, 2006 1 commit
-
-
Dave Jones authored
I get a machine check exception, triple fault, or NMI watchdog lockup when DRI gets enabled on this card. (And Mauro Tassinari <mtassinari@cmanet.it> reports hung kernels too in http://lkml.org/lkml/2006/1/26/97 ) [ Adrian Bunk also states that this is the only RV350 entry for an RV370 in our lists, which implies that it's just buggy ] Cc: Adrian Bunk <bunk@stusta.de> Cc: Dave Jones <davej@redhat.com> Cc: Mauro Tassinari <mtassinari@cmanet.it> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 06 Feb, 2006 1 commit
-
-
Greg Kroah-Hartman authored
Current drm code doesn't work with userspace programs that listen only to the kernel event netlink socket as it is trying to create its own dev interface. Turns out lots of code can just be deleted as the driver core can do all of this work automatically for you. Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 02 Feb, 2006 2 commits
-
-
Dave Airlie authored
From: Arjan van de Ven <arjan@infradead.org> Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by:
Arjan van de Ven <arjan@infradead.org> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Adrian Bunk <bunk@stusta.de> This patch makes some needlessly global functions static. Signed-off-by:
Adrian Bunk <bunk@stusta.de> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 25 Jan, 2006 1 commit
-
-
Dave Airlie authored
Fixes the following sparse warnings: drivers/char/drm/via_dmablit.c:111:35: warning: Using plain integer as NULL pointer drivers/char/drm/via_dmablit.c:584:23: warning: Using plain integer as NULL pointer Signed-off-by:
Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 24 Jan, 2006 6 commits
-
-
Dave Airlie authored
Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation (Tungsten Graphics) From: Alan Hourihane <alanh@tungstengraphics.com> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Nick Piggin <npiggin@suse.de> Allocate a compound page for the user mapping instead of tweaking the page refcounts. Signed-off-by:
Nick Piggin <npiggin@suse.de> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Randy Dunlap <rdunlap@xenotime.net> Use NULL instead of 0 (sparse warnings): drivers/char/drm/ati_pcigart.c:64:10: warning: Using plain integer as NULL pointer drivers/char/drm/ati_pcigart.c:130:21: warning: Using plain integer as NULL pointer drivers/char/drm/ati_pcigart.c:171:14: warning: Using plain integer as NULL pointer Signed-off-by:
Randy Dunlap <rdunlap@xenotime.net> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Brice Goglin <Brice.Goglin@ens-lyon.org> Now that Xorg 6.9/7.0 has been released, DRI is supported on more Radeon cards without ATI proprietary drivers. I got my X300 to work without problem. But, another Radeon X600 required to add its PCI ids to the Radeon driver. Patch is attached. I can't be sure about the "CHIP_RV350", I copied it from the X300 entry (from http://dri.freedesktop.org/wiki/ATIRadeon , X600 is a rv380 chip while X300 is a rv370). But, at least it works now. Signed-off-by:
Brice Goglin <Brice.Goglin@ens-lyon.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Charles F. Johnson <charles.f.johnson@intel.com> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
From: Luiz Fernando Capitulino <lcapitulino@mandriva.com.br> drivers/char/drm/radeon_cp.c:1643:31: warning: Using plain integer as NULL pointer Signed-off-by:
Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 14 Jan, 2006 1 commit
-
-
Arjan van de Ven authored
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by:
Arjan van de Ven <arjan@infradead.org> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Acked-by:
Jeff Garzik <jgarzik@pobox.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 12 Jan, 2006 1 commit
-
-
Dave Airlie authored
On systems with no MTRR we should still define the interface. Original bug from apkm. Signed-off-by:
Dave Airlie <airlied@linux.ie>
-
- 11 Jan, 2006 1 commit
-
-
Dave Airlie authored
Cleanup multiple cards properly Signed-off-by:
Dave Airlie <airlied@linux.ie>
-