linux/drivers/char/drm
Benjamin Herrenschmidt 6876b3baca drm: fix for non-coherent DMA PowerPC
This patch fixes bits of the DRM so to make the radeon DRI work on
non-cache coherent PCI DMA variants of the PowerPC processors.

It moves the few places that needs change to wrappers to that
other architectures with similar issues can easily add their
own changes to those wrappers, at least until we have more useful
generic kernel API.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2008-03-30 07:57:57 +10:00
..
ati_pcigart.c drm: fix for non-coherent DMA PowerPC 2008-03-30 07:57:57 +10:00
drm_agpsupport.c
drm_auth.c
drm_bufs.c
drm_context.c
drm_core.h
drm_dma.c
drm_drawable.c
drm_drv.c
drm_fops.c drm: Fix race that can lockup the kernel 2008-03-17 09:54:58 +10:00
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_lock.c drm: Fix race that can lockup the kernel 2008-03-17 09:54:58 +10:00
drm_memory_debug.h
drm_memory.c
drm_memory.h
drm_mm.c
drm_os_linux.h
drm_pci.c
drm_pciids.h drm/radeon: fixup RV550 chip family 2008-03-17 10:22:12 +10:00
drm_proc.c
drm_sarea.h
drm_scatter.c drm: fix for non-coherent DMA PowerPC 2008-03-30 07:57:57 +10:00
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysfs.c drm: add support for passing state into the suspend hooks. 2008-02-20 10:05:12 +10:00
drm_vm.c drm: fix for non-coherent DMA PowerPC 2008-03-30 07:57:57 +10:00
drm.h
drmP.h drm/ati_pcigart: fix the PCIGART to use drm_pci to allocate GART table. 2008-03-17 10:24:24 +10:00
i810_dma.c
i810_drm.h
i810_drv.c
i810_drv.h
i830_dma.c Final removal of FASTCALL()/fastcall 2008-02-13 16:21:18 -08:00
i830_drm.h
i830_drv.c
i830_drv.h
i830_irq.c
i915_dma.c drm/i915: fix oops on agp=off 2008-03-30 07:53:58 +10:00
i915_drm.h
i915_drv.c i915: fix AR register restore. 2008-02-22 16:50:29 -08:00
i915_drv.h drm/i915 more registers for S3 (DSPCLK_GATE_D, CACHE_MODE_0, MI_ARB_STATE) 2008-02-20 09:43:43 +10:00
i915_ioc32.c
i915_irq.c
i915_mem.c
Kconfig
Makefile
mga_dma.c
mga_drm.h
mga_drv.c
mga_drv.h
mga_ioc32.c
mga_irq.c
mga_state.c
mga_ucode.h
mga_warp.c
r128_cce.c drm/ati_pcigart: fix the PCIGART to use drm_pci to allocate GART table. 2008-03-17 10:24:24 +10:00
r128_drm.h
r128_drv.c
r128_drv.h
r128_ioc32.c
r128_irq.c
r128_state.c
r300_cmdbuf.c drm/r300: fix bug in r300 userspace hardware wait emission 2008-03-30 07:51:49 +10:00
r300_reg.h
radeon_cp.c drm/ati_pcigart: fix the PCIGART to use drm_pci to allocate GART table. 2008-03-17 10:24:24 +10:00
radeon_drm.h drm/r300: fix bug in r300 userspace hardware wait emission 2008-03-30 07:51:49 +10:00
radeon_drv.c
radeon_drv.h drm/radeon: add initial rs690 support to drm. 2008-02-20 09:35:42 +10:00
radeon_ioc32.c
radeon_irq.c
radeon_mem.c drm: radeon: fix sparse integer as NULL pointer warnings in radeon_mem.c 2008-03-30 07:56:39 +10:00
radeon_state.c
README.drm
savage_bci.c
savage_drm.h
savage_drv.c
savage_drv.h
savage_state.c
sis_drm.h
sis_drv.c
sis_drv.h
sis_mm.c
tdfx_drv.c
tdfx_drv.h
via_3d_reg.h
via_dma.c drm/via: attempt again to stabilise the AGP DMA command submission. 2008-03-17 10:07:20 +10:00
via_dmablit.c drm/via: attempt again to stabilise the AGP DMA command submission. 2008-03-17 10:07:20 +10:00
via_dmablit.h
via_drm.h
via_drv.c
via_drv.h
via_irq.c
via_map.c
via_mm.c
via_verifier.c
via_verifier.h
via_video.c

************************************************************
* For the very latest on DRI development, please see:      *
*     http://dri.freedesktop.org/                          *
************************************************************

The Direct Rendering Manager (drm) is a device-independent kernel-level
device driver that provides support for the XFree86 Direct Rendering
Infrastructure (DRI).

The DRM supports the Direct Rendering Infrastructure (DRI) in four major
ways:

    1. The DRM provides synchronized access to the graphics hardware via
       the use of an optimized two-tiered lock.

    2. The DRM enforces the DRI security policy for access to the graphics
       hardware by only allowing authenticated X11 clients access to
       restricted regions of memory.

    3. The DRM provides a generic DMA engine, complete with multiple
       queues and the ability to detect the need for an OpenGL context
       switch.

    4. The DRM is extensible via the use of small device-specific modules
       that rely extensively on the API exported by the DRM module.


Documentation on the DRI is available from:
    http://dri.freedesktop.org/wiki/Documentation
    http://sourceforge.net/project/showfiles.php?group_id=387
    http://dri.sourceforge.net/doc/

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://dri.sourceforge.net/doc/drm_low_level.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/hardware_locking_low_level.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/security_low_level.html