linux-hardened/drivers/char/drm
Dave Airlie 7a9aff3cff drm: fix a bad VERSION check.
I found why my G5 was crashing when using the linux-2.6 version of the
DRM + git-drm.patch from 2.6.13-rc6-mm1, but not with the CVS DRM.
The reason was that dev->agp->cant_use_aperture wasn't getting set,
and the reason for that was that <linux/version.h> no longer gets
included and the #if LINUX_VERSION_CODE < 0x020408 in drm_agpsupport.c
was going the wrong way.  With this patch (and a few others) a 32-bit
server works correctly, as does DRI.

From: Paul Mackerras <paulus@samba.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2005-08-23 12:15:43 +10:00
..
ati_pcigart.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
drm.h drm: switch drm_handle_t to unsigned int 2005-08-05 22:13:15 +10:00
drm_agpsupport.c drm: fix a bad VERSION check. 2005-08-23 12:15:43 +10:00
drm_auth.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
drm_bufs.c drm: fixes for powerpc 2005-08-20 17:43:33 +10:00
drm_context.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
drm_core.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_drawable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_drv.c drm: cleanup buffer/map code 2005-07-10 19:27:04 +10:00
drm_fops.c drm: cleanup buffer/map code 2005-07-10 19:27:04 +10:00
drm_init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_ioc32.c drm: 32/64-bit DRM ioctl compatibility patch 2005-06-23 21:29:18 +10:00
drm_ioctl.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
drm_irq.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
drm_lock.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
drm_memory.c drm: make drm_alloc_agp take a dev arg. 2005-07-10 18:17:42 +10:00
drm_memory.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_memory_debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_os_linux.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_pci.c drm: fix warning in drm_pci.c 2005-08-05 23:09:14 +10:00
drm_pciids.h drm: update pci ids for savage and via 2005-08-16 20:54:18 +10:00
drm_proc.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
drm_sarea.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_scatter.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
drm_stub.c drm: cleanup buffer/map code 2005-07-10 19:27:04 +10:00
drm_sysfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_vm.c drm: fixes for powerpc 2005-08-20 17:43:33 +10:00
drmP.h drm: remove version.h and any version checks.. 2005-08-07 15:19:58 +10:00
ffb_context.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ffb_drv.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
ffb_drv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_dma.c drm: remove version.h and any version checks.. 2005-08-07 15:19:58 +10:00
i810_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_drv.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i810_drv.h drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i830_dma.c drm: remove version.h and any version checks.. 2005-08-07 15:19:58 +10:00
i830_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i830_drv.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i830_drv.h drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i830_irq.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
i915_dma.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i915_drm.h Add missing license texts from Tungsten Graphics. 2005-06-23 22:46:46 +10:00
i915_drv.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i915_drv.h drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
i915_ioc32.c drm: add 32/64 support for MGA/R128/i915 2005-07-07 21:51:26 +10:00
i915_irq.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
i915_mem.c Add missing license texts from Tungsten Graphics. 2005-06-23 22:46:46 +10:00
Kconfig drm: add savage driver 2005-08-07 15:43:54 +10:00
Makefile drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
mga_dma.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
mga_drm.h drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
mga_drv.c drm: add mga driver callbacks 2005-07-10 19:24:35 +10:00
mga_drv.h Add support for PCI MGA cards to MGA DRM. 2005-07-10 18:20:09 +10:00
mga_ioc32.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
mga_irq.c Add support for PCI MGA cards to MGA DRM. 2005-07-10 18:20:09 +10:00
mga_state.c Add support for PCI MGA cards to MGA DRM. 2005-07-10 18:20:09 +10:00
mga_ucode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mga_warp.c Add support for PCI MGA cards to MGA DRM. 2005-07-10 18:20:09 +10:00
r128_cce.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
r128_drm.h drm: fix ioctl direction in r128 getparam 2005-08-05 21:52:18 +10:00
r128_drv.c drm: add 32/64 support for MGA/R128/i915 2005-07-07 21:51:26 +10:00
r128_drv.h drm: add 32/64 support for MGA/R128/i915 2005-07-07 21:51:26 +10:00
r128_ioc32.c drm: add 32/64 support for MGA/R128/i915 2005-07-07 21:51:26 +10:00
r128_irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
r128_state.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
r300_cmdbuf.c drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
r300_reg.h drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
radeon_cp.c drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
radeon_drm.h drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
radeon_drv.c drm: cleanup buffer/map code 2005-07-10 19:27:04 +10:00
radeon_drv.h drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
radeon_ioc32.c drm: 32/64-bit DRM ioctl compatibility patch 2005-06-23 21:29:18 +10:00
radeon_irq.c drm: fix radeon irq properly 2005-06-26 21:05:59 +10:00
radeon_mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeon_state.c drm: add new texture upload code from r300 project 2005-08-20 17:40:04 +10:00
README.drm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
savage_bci.c drm: add savage driver 2005-08-07 15:43:54 +10:00
savage_drm.h drm: add savage driver 2005-08-07 15:43:54 +10:00
savage_drv.c drm: add savage driver 2005-08-07 15:43:54 +10:00
savage_drv.h drm: add savage driver 2005-08-07 15:43:54 +10:00
savage_state.c drm: add savage driver 2005-08-07 15:43:54 +10:00
sis_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis_drv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis_drv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis_ds.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis_ds.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis_mm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tdfx_drv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tdfx_drv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via_3d_reg.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_dma.c [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_drm.h [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_drv.c drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_drv.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_ds.c [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_ds.h [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_irq.c drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_map.c [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_mm.c [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_mm.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_verifier.c drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_verifier.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_video.c [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00

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

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://precisioninsight.com/piinsights.html

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://precisioninsight.com/dr/drm.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://precisioninsight.com/dr/locking.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://precisioninsight.com/dr/security.html

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