alistair23-linux/drivers/gpu/drm
Keith Packard c2873e9633 drm/i915: Free hardware status page on unload when physically mapped
A physically mapped hardware status page is allocated at driver load
time but was never freed. Call the existing code to free this page at
driver unload time on hardware which uses this kind.

Signed-off-by: Keith Packard <keithp@keithp.com>
[ickle: call before tearing down registers on KMS-only path, as pointed
out by Dave Airlie]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
2010-10-07 10:00:18 +01:00
..
i2c
i810 Merge remote branch 'korg/drm-fixes' into drm-vmware-next 2010-10-06 11:10:48 +10:00
i830 Merge remote branch 'korg/drm-fixes' into drm-vmware-next 2010-10-06 11:10:48 +10:00
i915 drm/i915: Free hardware status page on unload when physically mapped 2010-10-07 10:00:18 +01:00
mga drm: kill get_reg_ofs callback 2010-08-30 09:44:56 +10:00
nouveau Merge branch 'drm-kdb-next' into drm-core-next 2010-10-06 12:57:50 +10:00
r128 drm: kill get_reg_ofs callback 2010-08-30 09:44:56 +10:00
radeon Merge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next 2010-10-06 12:57:54 +10:00
savage drm: kill get_reg_ofs callback 2010-08-30 09:44:56 +10:00
sis drm: kill get_reg_ofs callback 2010-08-30 09:44:56 +10:00
tdfx drm: kill get_reg_ofs callback 2010-08-30 09:44:56 +10:00
ttm Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-core-next 2010-10-06 12:57:11 +10:00
via drm: kill get_reg_ofs callback 2010-08-30 09:44:56 +10:00
vmwgfx Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-core-next 2010-10-06 12:57:11 +10:00
ati_pcigart.c drm/radeon: Fix pci_map_page() error checking 2010-08-12 09:38:29 +10:00
drm_agpsupport.c drm: kill agp indirection mess 2010-08-30 09:44:40 +10:00
drm_auth.c
drm_buffer.c drm: fix trivial coding errors 2010-09-24 10:10:23 +10:00
drm_bufs.c DRM: Replace kmalloc/memset combos with kzalloc 2010-08-12 09:12:30 +10:00
drm_cache.c
drm_context.c drm: kill context_ctor callback 2010-08-30 09:38:25 +10:00
drm_crtc.c drm: vmwgfx: Add a struct drm_file parameter to the dirty framebuffer callback 2010-10-06 11:29:41 +10:00
drm_crtc_helper.c drm: Use a nondestructive mode for output detect when polling (v2) 2010-09-14 20:38:48 +10:00
drm_debugfs.c drm: Move the GTT accounting to i915 2010-10-01 14:45:20 +01:00
drm_dma.c
drm_dp_i2c_helper.c
drm_drv.c drm: kill dev->timer 2010-08-30 09:44:54 +10:00
drm_edid.c drm/i915: use GMBUS to manage i2c links 2010-09-18 15:46:19 +01:00
drm_edid_modes.h drm/edid: Split mode lists out to their own header for readability 2010-08-10 10:47:00 +10:00
drm_encoder_slave.c
drm_fb_helper.c drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API 2010-10-06 11:50:31 +10:00
drm_fops.c Merge remote branch 'nouveau/for-airlied' of /ssd/git/drm-nouveau-next into drm-fixes 2010-08-27 09:09:46 +10:00
drm_gem.c Merge remote branch 'korg/drm-fixes' into drm-vmware-next 2010-10-06 11:10:48 +10:00
drm_global.c
drm_hashtab.c
drm_info.c Merge remote branch 'korg/drm-fixes' into drm-vmware-next 2010-10-06 11:10:48 +10:00
drm_ioc32.c
drm_ioctl.c drm: Fix support for PCI domains 2010-08-10 08:20:20 +10:00
drm_irq.c
drm_lock.c drm: readd drm_lock_free in drm_unlock 2010-09-26 13:35:49 +10:00
drm_memory.c drm: kill agp indirection mess 2010-08-30 09:44:40 +10:00
drm_mm.c drm: mm: fix range restricted allocations 2010-08-27 09:10:16 +10:00
drm_modes.c drm/modes: Fix CVT-R modeline generation 2010-08-27 09:10:33 +10:00
drm_pci.c drm: fix race between driver loading and userspace open. 2010-09-14 20:39:04 +10:00
drm_platform.c drm: fix race between driver loading and userspace open. 2010-09-14 20:39:04 +10:00
drm_proc.c drm: Move the GTT accounting to i915 2010-10-01 14:45:20 +01:00
drm_scatter.c drm: don't export drm_sg_alloc 2010-08-30 09:37:43 +10:00
drm_sman.c
drm_stub.c drm: kill dev->timer 2010-08-30 09:44:54 +10:00
drm_sysfs.c drm: Use a nondestructive mode for output detect when polling 2010-09-13 20:29:11 +10:00
drm_trace.h
drm_trace_points.c
drm_vm.c Merge remote branch 'korg/drm-fixes' into drm-vmware-next 2010-10-06 11:10:48 +10:00
Kconfig
Makefile drm: replace drawable ioctl by noops 2010-08-30 09:39:11 +10:00
README.drm

************************************************************
* 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