drm/linux-core
Eric Anholt 06cb132e86 - Introduce a new ioctl, DRM_IOCTL_SET_VERSION. This ioctl allows the
server or client to notify the DRM that it expects a certain version of
    the device dependent or device independent interface. If the major
    doesn't match or minor is too large, EINVAL is returned. A major of -1
    means that the requestor doesn't care about that portion of the
    interface. The ioctl returns the actual versions in the same struct.
- Introduce DRM DI interface version 1.1. If the server requests version
    1.1, then the DRM sets the unique itself according to the busid of the
    device it probed, which may then be accessed as normal using getunique.
- Request version 1.1 in libdrm's drmOpenByBusID, allowing the X Server to
    request based on a BusID. Introduce a wrapper for DRM_IOCTL_SET_VERSION
    and bump libdrm minor version.
- Pass the busid in DRIScreenInit if libdrm can handle both a busid and
    name. This allows drmOpenByBusID to be used to find the DRM instead of
    just the driver name, which allows us in the future to tie a DRM more
    strongly to the device it probed to. Introduce a function
    DRICreatePCIBusID which creates a busid in the form pci:oooo:bb:dd.f
    similar to linux's pci_name() function. This matches the format used by
    the DRM in version 1.1. libdrm knows how to match both this format and
    the old PCI🅱️d:f format.
- Use the new DRICreatePCIBusID function in the *_dri.c to request the new,
    more exact busid format.
2003-10-23 02:23:31 +00:00
..
Config.in Remove AGP dependency in kernel config for radeon, sis. Remove 2003-04-22 21:30:24 +00:00
Doxyfile - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
Kconfig Fix typo in SiS help message (and testing cvs commit to 2003-09-28 21:27:09 +00:00
Makefile.kernel linux drm fixes 2003-09-12 20:00:59 +00:00
README.drm More changes for sync with Linux 2.4.0-test9-pre7 2000-09-29 02:05:41 +00:00
ati_pcigart.c linux drm fixes 2003-09-12 20:00:59 +00:00
drmP.h - Introduce a new ioctl, DRM_IOCTL_SET_VERSION. This ioctl allows the 2003-10-23 02:23:31 +00:00
drm_agpsupport.c Merge from 2.6 kernel (Linus Torvalds) 2003-08-15 10:31:54 +00:00
drm_auth.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_bufs.c Revert the janitorial - that works is now on the new branch 2003-06-19 00:09:52 +00:00
drm_context.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_dma.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
drm_drawable.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_drv.c - Introduce a new ioctl, DRM_IOCTL_SET_VERSION. This ioctl allows the 2003-10-23 02:23:31 +00:00
drm_fops.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_init.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_ioctl.c - Introduce a new ioctl, DRM_IOCTL_SET_VERSION. This ioctl allows the 2003-10-23 02:23:31 +00:00
drm_irq.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
drm_lock.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_memory.h Add DRM(calloc), which is convenient, used by the new sis code, and takes 2003-08-29 19:16:13 +00:00
drm_memory_debug.h Add DRM(calloc), which is convenient, used by the new sis code, and takes 2003-08-29 19:16:13 +00:00
drm_os_linux.h - Add DRM_GET_PRIV_WITH_RETURN macro. This can be used in shared code to 2003-10-22 22:08:53 +00:00
drm_proc.c Added the Doxygen configuration file. Minor documentation fixes. 2003-06-03 23:50:23 +00:00
drm_scatter.c Revert the janitorial - that works is now on the new branch 2003-06-19 00:09:52 +00:00
drm_stub.c Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_vm.c linux drm fixes 2003-09-12 20:00:59 +00:00
i810_dma.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
i810_drm.h DA: patch from Matthew upgraded to latest DRI head to solve issue with i810 2003-08-13 23:35:40 +00:00
i810_drv.c Revert the janitorial - that works is now on the new branch 2003-06-19 00:09:52 +00:00
i810_drv.h add page flipping support to the DRM, up version number to 1.3.0... 2003-06-05 23:31:40 +00:00
i830_dma.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
i830_drm.h Spelling fixes in comments. 2003-03-30 07:23:03 +00:00
i830_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
i830_drv.h Ensure driver has been initialized (dev_private != NULL) before installing 2003-04-26 22:28:56 +00:00
i830_irq.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
mga_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
r128_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
radeon_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
sis_drv.c Revert the janitorial - that works is now on the new branch 2003-06-19 00:09:52 +00:00
tdfx_drv.c - Converted Linux drivers to initialize DRM instances based on PCI IDs, not 2003-10-17 03:14:39 +00:00

README.drm

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