Files
linux/drivers/gpu/drm
Rob Clark 367bbd4920 drm/gem: add drm_gem_create_mmap_offset_size()
Variant of drm_gem_create_mmap_offset() which doesn't make the
assumption that virtual size and physical size (obj->size) are the same.
This is needed in omapdrm to deal with tiled buffers.  And lets us get
rid of a duplicated and slightly modified version of
drm_gem_create_mmap_offset() in omapdrm.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-08-19 10:34:43 +10:00
..
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-07 10:10:02 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:33:39 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:33:36 +10:00
2013-08-19 09:36:12 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:32:26 +10:00
2013-08-19 10:05:17 +10:00
2013-08-19 10:06:24 +10:00
2013-08-07 10:16:50 +10:00
2013-04-30 22:20:00 +02:00
2013-08-19 09:09:10 +10:00
2013-08-19 10:32:26 +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