1
linux/drivers/char/drm
Dave Airlie cda1738066 drm: add test for AGP devices and driver override for it.
Added device_is_agp callback to drm_driver.  This function is called by the
platform-specific drm_device_is_agp function.  Added implementation of this
function the the Linux-specific portion of the MGA driver to detect PCI G450
cards.  Added code to the Linux-specific portion of the generic DRM layer to
not initialize AGP infrastructure if the card is not AGP (this matches what
already existed in BSD).

Fix up i810/i830 and i915 drivers to always return AGP as they don't always
report the capability.

Fix the MGA to not report AGP for a card that has an AGP chip behind a PCI
bridge.

From: Ian Romanick, Dave Airlie, Alan Hourihane
Signed-off-by: Dave Airlie <airlied@linux.ie>
2005-07-10 17:31:26 +10:00
..
ati_pcigart.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
drm_agpsupport.c drm: export symbols for use by drivers 2005-07-10 17:04:22 +10:00
drm_auth.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
drm_bufs.c drm: destatic exported function. 2005-07-10 17:07:23 +10:00
drm_context.c drm: misc cleanup 2005-07-07 21:03:38 +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: fix minor function header issue 2005-07-10 16:58:40 +10:00
drm_fops.c drm: misc cleanup 2005-07-07 21:03:38 +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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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_debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_memory.c drm: export symbols for use by drivers 2005-07-10 17:04:22 +10:00
drm_memory.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: update support for drm pci buffers 2005-07-10 15:38:56 +10:00
drm_pciids.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
drm_proc.c drm: add _DRM_CONSISTENT map type 2005-07-10 14:34:13 +10:00
drm_sarea.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_scatter.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_stub.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
drm_sysfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_vm.c drm: update support for drm pci buffers 2005-07-10 15:38:56 +10:00
drm.h drm: add framebuffer maps 2005-07-10 14:46:12 +10:00
drmP.h drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
ffb_context.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ffb_drv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ffb_drv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_context.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_drv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_drv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_lists.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_lock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gamma_old_dma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_dma.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +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: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +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 via unichrome support 2005-06-28 22:48:56 +10:00
Makefile Merge head 'drm-3264' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 2005-07-09 09:58:47 -07:00
mga_dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mga_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mga_drv.c drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
mga_drv.h drm: add test for AGP devices and driver override for it. 2005-07-10 17:31:26 +10:00
mga_ioc32.c drm: add 32/64 support for MGA/R128/i915 2005-07-07 21:51:26 +10:00
mga_irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mga_state.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mga_ucode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mga_warp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
r128_cce.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
r128_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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
radeon_cp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeon_drm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeon_drv.c drm: 32/64-bit DRM ioctl compatibility patch 2005-06-23 21:29:18 +10:00
radeon_drv.h drm: 32/64-bit DRM ioctl compatibility patch 2005-06-23 21:29:18 +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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README.drm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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 drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_drm.h drm: Add via unichrome support 2005-06-28 22:48:56 +10: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 drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_ds.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_irq.c drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_map.c drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_mm.c drm: Add via unichrome support 2005-06-28 22:48:56 +10: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 drm: Add via unichrome support 2005-06-28 22:48:56 +10: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/                          *
************************************************************