linux/drivers/gpu/drm
Imre Deak 98b76231d7 drm/prime: warn for non-empty handle lookup list during drm file release
drm_gem_release should release all handles connected to the drm file and
so should also release the prime lookup entries of these handles. So
just WARN if this isn't the case.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-05-01 16:08:18 +10:00
..
ast Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
cirrus Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
exynos drm: prime: fix refcounting on the dmabuf import error path 2013-05-01 09:40:21 +10:00
gma500 Merge branch 'gma500-fixes' of git://github.com/patjak/drm-gma500 into drm-next 2013-04-26 10:16:10 +10:00
i2c drm/i2c: nxp-tda998x (v3) 2013-02-19 17:57:44 -05:00
i810
i915 drm: prime: fix refcounting on the dmabuf import error path 2013-05-01 09:40:21 +10:00
mga
mgag200 drm/mgag200: Remove extra variable assigns 2013-04-30 09:57:23 +10:00
nouveau drm/nouveau/fifo: implement channel creation event generation 2013-04-26 15:38:17 +10:00
omapdrm drm: prime: fix refcounting on the dmabuf import error path 2013-05-01 09:40:21 +10:00
qxl drivers, drm: fix qxl build error when debugfs is disabled 2013-04-30 10:00:27 +10:00
r128
radeon drm/radeon: disable UVD advanced semaphore mode 2013-04-23 18:04:01 -04:00
savage
shmobile drm/shmobile: Fix race condition between page flip request and handler 2013-04-26 10:21:57 +10:00
sis drm/sis: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
tdfx
tilcdc drm/tilcdc: use only a single module device table 2013-04-26 10:18:46 +10:00
ttm drm: use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT 2013-04-16 13:14:00 +10:00
udl udl: bind the framebuffer to the correct device. 2013-05-01 09:45:21 +10:00
via drm/via: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
vmwgfx drm/vmwgfx: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
ati_pcigart.c
drm_agpsupport.c
drm_auth.c
drm_buffer.c
drm_bufs.c
drm_cache.c lib/scatterlist: sg_page_iter: support sg lists w/o backing pages 2013-03-27 17:13:44 +01:00
drm_context.c drm: convert to idr_alloc() 2013-02-27 19:10:15 -08:00
drm_crtc_helper.c drm: Perform a full mode set when the pixel format changed 2013-04-22 19:48:30 +10:00
drm_crtc.c drm: Kill user_modes list and the associated ioctls 2013-04-30 10:03:07 +10:00
drm_debugfs.c
drm_dma.c
drm_dp_helper.c
drm_drv.c drm: Kill user_modes list and the associated ioctls 2013-04-30 10:03:07 +10:00
drm_edid_load.c drm: Add 1600x1200 (UXGA) screen resolution to the built-in EDIDs 2013-04-12 14:06:16 +10:00
drm_edid.c drm/edid: Check both 60Hz and 59.94Hz when looking for a CEA mode 2013-04-26 10:25:54 +10:00
drm_encoder_slave.c drm: i2c encoder helper wrappers 2013-02-17 17:55:42 -05:00
drm_fb_cma_helper.c Merge branch 'tilcdc-next' of git://people.freedesktop.org/~robclark/linux into drm-next 2013-02-21 09:31:47 +10:00
drm_fb_helper.c drm: add initial_config function to fb helper 2013-03-26 21:32:53 +01:00
drm_fops.c drm: correctly restore mappings if drm_open fails 2013-04-03 06:44:38 +10:00
drm_gem_cma_helper.c drm/cma: add debugfs helpers 2013-02-17 17:55:42 -05:00
drm_gem.c drm/prime: keep a reference from the handle to exported dma-buf (v6) 2013-05-01 09:30:15 +10:00
drm_global.c
drm_hashtab.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
drm_info.c
drm_ioc32.c
drm_ioctl.c
drm_irq.c drm: small fix in drm_send_vblank_event() 2013-02-17 17:55:42 -05:00
drm_lock.c
drm_memory.c
drm_mm.c Merge branch 'drm-kms-locking' of git://people.freedesktop.org/~danvet/drm-intel into drm-next 2013-01-21 07:44:58 +10:00
drm_modes.c drm: Add drm_mode_equal_no_clocks() 2013-04-26 10:25:09 +10:00
drm_pci.c drm: Silence some sparse warnings 2013-04-30 10:02:25 +10:00
drm_platform.c
drm_prime.c drm/prime: warn for non-empty handle lookup list during drm file release 2013-05-01 16:08:18 +10:00
drm_proc.c
drm_scatter.c
drm_stub.c drm: convert to idr_alloc() 2013-02-27 19:10:15 -08:00
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_usb.c drm/usb: bind driver to correct device 2013-02-07 12:37:41 +10:00
drm_vm.c drm: export drm_vm_open_locked 2013-04-26 10:20:00 +10:00
Kconfig drm/tegra: Move drm to live under host1x 2013-04-22 12:39:11 +02:00
Makefile drm/tegra: Move drm to live under host1x 2013-04-22 12:39:11 +02:00
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