android_kernel_xiaomi_sm8350/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_agpsupport.c drm: fix a bad VERSION check. 2005-08-23 12:15:43 +10:00
drm_auth.c
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
drm_dma.c
drm_drawable.c
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
drm_ioc32.c
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_lock.c
drm_memory_debug.h
drm_memory.c drm: make drm_alloc_agp take a dev arg. 2005-07-10 18:17:42 +10:00
drm_memory.h
drm_os_linux.h
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
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
drm_vm.c drm: fixes for powerpc 2005-08-20 17:43:33 +10:00
drm.h drm: switch drm_handle_t to unsigned int 2005-08-05 22:13:15 +10:00
drmP.h drm: remove version.h and any version checks.. 2005-08-07 15:19:58 +10:00
ffb_context.c
ffb_drv.c drm: updated DRM map patch for 32/64 bit systems 2005-08-05 22:11:22 +10:00
ffb_drv.h
i810_dma.c drm: remove version.h and any version checks.. 2005-08-07 15:19:58 +10:00
i810_drm.h
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
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
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
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
i915_irq.c
i915_mem.c
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
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
r128_drv.h
r128_ioc32.c
r128_irq.c
r128_state.c
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
radeon_irq.c
radeon_mem.c
radeon_state.c drm: add new texture upload code from r300 project 2005-08-20 17:40:04 +10:00
README.drm
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
sis_drv.c
sis_drv.h
sis_ds.c
sis_ds.h
sis_mm.c
tdfx_drv.c
tdfx_drv.h
via_3d_reg.h
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
via_drv.h
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
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
via_verifier.c
via_verifier.h
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/                          *
************************************************************