kernel_optimize_test/drivers/char/drm
Jesse Barnes 39273b58a4 i915: fix AR register restore.
Make sure the restoration correctly restores the AR registers by
flipping the ARX register into index mode before doing anything.

Without this, some people have had the text mode restore all green.

Signed-off-by: Jesse Barnes <jesse.barnes@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-22 16:50:29 -08:00
..
ati_pcigart.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
drm_agpsupport.c drm: Initialize the AGP structure's base address at init rather than enable. 2008-02-07 15:09:38 +10:00
drm_auth.c drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-10-15 10:38:20 +10:00
drm_bufs.c drm: fd.o bug #11895: Only add the AGP base to map offset if the caller didn't. 2008-02-07 15:09:38 +10:00
drm_context.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_core.h
drm_dma.c drm: Replace filp in ioctl arguments with drm_file *file_priv. 2007-10-15 10:38:20 +10:00
drm_drawable.c drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-10-15 10:38:20 +10:00
drm_drv.c drm: fixup some of the ioctl function exit paths 2008-02-07 15:12:00 +10:00
drm_fops.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
drm_hashtab.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_hashtab.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_ioc32.c drm: Fix ioc32 compat layer 2008-02-07 15:09:39 +10:00
drm_ioctl.c drm: Make DRM_IOCTL_GET_CLIENT return EINVAL when it can't find client #idx. 2008-02-07 15:09:39 +10:00
drm_irq.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
drm_lock.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
drm_memory_debug.h
drm_memory.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_memory.h
drm_mm.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_os_linux.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_pci.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
drm_pciids.h drm/sis: add pciid for SiS 662/671 chipset 2008-02-20 10:12:39 +10:00
drm_proc.c drm: some minor cleanups and changes to make memory manager merging easier. 2008-02-07 15:09:38 +10:00
drm_sarea.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
drm_scatter.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
drm_sman.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
drm_sman.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
drm_stub.c drm: the drm really should call pci_set_master.. 2008-02-07 15:09:40 +10:00
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: convert drm from nopage to fault. 2008-02-20 09:37:12 +10:00
drm.h drm: add _DRM_DRIVER flag, and re-order unload. 2008-02-07 15:09:39 +10:00
drmP.h drm: add support for passing state into the suspend hooks. 2008-02-20 10:05:12 +10:00
i810_dma.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
i810_drm.h drm: remove XFREE86_VERSION macros. 2007-10-15 10:38:20 +10:00
i810_drv.c
i810_drv.h drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
i830_dma.c Final removal of FASTCALL()/fastcall 2008-02-13 16:21:18 -08:00
i830_drm.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
i830_drv.c
i830_drv.h drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
i830_irq.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
i915_dma.c i915: wrap chipset types requiring hw status set ioctl 2008-02-20 09:37:09 +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 drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
i915_mem.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
Kconfig drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
Makefile drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
mga_dma.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
mga_drm.h
mga_drv.c
mga_drv.h drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
mga_ioc32.c
mga_irq.c
mga_state.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
mga_ucode.h
mga_warp.c drm: Remove DRM_ERR OS macro. 2007-10-15 10:38:19 +10:00
r128_cce.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
r128_drm.h drm: remove XFREE86_VERSION macros. 2007-10-15 10:38:20 +10:00
r128_drv.c
r128_drv.h drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
r128_ioc32.c
r128_irq.c
r128_state.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
r300_cmdbuf.c drm: add initial r500 drm support 2008-02-07 15:13:40 +10:00
r300_reg.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
radeon_cp.c drm/radeon: add initial rs690 support to drm. 2008-02-20 09:35:42 +10:00
radeon_drm.h drm: add initial r500 drm support 2008-02-07 15:13:40 +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 drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
radeon_mem.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
radeon_state.c drm: add initial r500 drm support 2008-02-07 15:13:40 +10:00
README.drm drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
savage_bci.c drm: remove remnants of DRM_COPY_FROM/TO_USER_IOCTL 2007-11-06 10:11:12 +10:00
savage_drm.h
savage_drv.c
savage_drv.h drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-10-15 10:38:20 +10:00
savage_state.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
sis_drm.h
sis_drv.c drm: Remove DRM_ERR OS macro. 2007-10-15 10:38:19 +10:00
sis_drv.h drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-10-15 10:38:20 +10:00
sis_mm.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
tdfx_drv.c
tdfx_drv.h
via_3d_reg.h
via_dma.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
via_dmablit.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
via_dmablit.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
via_drm.h drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
via_drv.c drm: run cleanfile across drm tree 2008-02-07 15:09:38 +10:00
via_drv.h drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-10-15 10:38:20 +10:00
via_irq.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
via_map.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
via_mm.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00
via_verifier.c drm: Remove DRM_ERR OS macro. 2007-10-15 10:38:19 +10:00
via_verifier.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
via_video.c drm: cleanup DRM_DEBUG() parameters 2008-02-07 15:09:39 +10:00

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