linux/drivers/char/drm
Jesse Barnes 3d25802e3b DRM/i915: only use tiled blits on 965+
When scheduled swaps occur, we need to blit between front & back
buffers.  If the buffers are tiled, we need to set the appropriate
XY_SRC_COPY tile bit, but only on 965 chips, since it will cause
corruption on pre-965 (e.g. 945).

Bug reported by and fix tested by Tomas Janousek <tomi@nomi.cz>.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-02 18:42:23 -07:00
..
Kconfig
Makefile
README.drm
ati_pcigart.c drm: pcigart use proper pci map interfaces. 2008-06-19 11:27:23 +10:00
drm.h drm: the sg alloc ioctl should write back the handle to userspace 2008-06-13 15:06:31 +10:00
drmP.h Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +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: only trust core drm ioctls - driver ioctls are a mess. 2008-06-20 15:42:38 +10:00
drm_fops.c drm: disable tasklets not IRQs when taking the drm lock spinlock 2008-05-07 12:22:39 +10:00
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
drm_lock.c drm: disable tasklets not IRQs when taking the drm lock spinlock 2008-05-07 12:22:39 +10:00
drm_memory.c
drm_memory.h
drm_memory_debug.h
drm_mm.c
drm_os_linux.h
drm_pci.c
drm_pciids.h drm/i915: add support for Intel series 4 chipsets. 2008-06-20 12:12:56 +10:00
drm_proc.c
drm_sarea.h
drm_scatter.c
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysfs.c remove debug printk from DRM suspend path 2008-05-23 08:53:13 -07:00
drm_vm.c
i810_dma.c
i810_drm.h
i810_drv.c
i810_drv.h
i830_dma.c drivers/char: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
i830_drm.h
i830_drv.c
i830_drv.h drivers/char: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
i830_irq.c drivers/char: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
i915_dma.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
i915_drm.h Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
i915_drv.c enable bus mastering on i915 at resume time 2008-06-24 11:17:25 -07:00
i915_drv.h drm/i915: add support for Intel series 4 chipsets. 2008-06-20 12:12:56 +10:00
i915_ioc32.c
i915_irq.c DRM/i915: only use tiled blits on 965+ 2008-07-02 18:42:23 -07:00
i915_mem.c
mga_dma.c
mga_drm.h
mga_drv.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
mga_drv.h Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
mga_ioc32.c
mga_irq.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
mga_state.c
mga_ucode.h
mga_warp.c
r128_cce.c
r128_drm.h
r128_drv.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
r128_drv.h Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
r128_ioc32.c
r128_irq.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
r128_state.c
r300_cmdbuf.c drm/radeon: add hier-z registers for r300 and r500 chipsets 2008-06-19 13:01:58 +10:00
r300_reg.h drm/radeon: add hier-z registers for r300 and r500 chipsets 2008-06-19 13:01:58 +10:00
radeon_cp.c drm/radeon: use DSTCACHE_CTLSTAT rather than RB2D_DSTCACHE_CTLSTAT 2008-06-19 12:39:23 +10:00
radeon_drm.h drm/radeon: add initial r500 support. 2008-06-19 11:27:40 +10:00
radeon_drv.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
radeon_drv.h drm/radeon: use DSTCACHE_CTLSTAT rather than RB2D_DSTCACHE_CTLSTAT 2008-06-19 12:39:23 +10:00
radeon_ioc32.c
radeon_irq.c drm/radeon: Restore sw interrupt on resume 2008-06-19 12:36:55 +10:00
radeon_mem.c
radeon_microcode.h radeon: add production microcode from AMD 2008-06-19 11:27:38 +10:00
radeon_state.c drm/radeon: fix texture uploads with large 3d textures (bug 13980) 2008-06-19 11:36:04 +10:00
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
via_dmablit.c
via_dmablit.h
via_drm.h
via_drv.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
via_drv.h Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
via_irq.c Revert "drm/vbl rework: rework how the drm deals with vblank." 2008-05-07 12:15:39 +10:00
via_map.c
via_mm.c
via_verifier.c
via_verifier.h
via_video.c

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