linux/drivers/gpu/drm
Chris Wilson ce7ec768d6 drm/i915: dma_buf_vunmap is presumed not to fail, don't let it
Since dma_buf_vunmap() procedes blithely on ignorant of whether the
driver failed to actually unmap the backing storage for the dma-buf, we
need to make a best-effort to do so. This involves not allowing
ourselves to be susceptible to signals causing us to leak the storage.

This should have been detectable with the current i-g-t as a misplaced
signal should have left the pages pinned upon freeing the object where
we have a warning in place.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-09 15:03:05 +02:00
..
armada DRM: armada: fix corruption while loading cursors 2014-04-08 10:51:03 +10:00
ast drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
bochs drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
bridge drm/bridge: export ptn3460_init function 2014-04-04 21:24:50 +09:00
cirrus drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
exynos drm/exynos: remove MODULE_DEVICE_TABLE definitions 2014-04-04 21:24:50 +09:00
gma500 drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
i2c drm/i2c: tda998x: always use the same device for all kernel messages 2014-02-14 20:11:12 +00:00
i810 drm: kill DRIVER_REQUIRE_AGP 2013-12-18 11:17:53 +10:00
i915 drm/i915: dma_buf_vunmap is presumed not to fail, don't let it 2014-04-09 15:03:05 +02:00
mga drivers: gpu: Include appropriate header file in mga_ioc32.c 2014-01-14 12:59:24 +10:00
mgag200 drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
msm Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next 2014-04-04 08:03:21 +10:00
nouveau Merge tag 'drm-intel-fixes-2014-04-04' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-04-05 16:14:21 +10:00
omapdrm Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next 2014-04-04 08:03:21 +10:00
panel drm/panel: Changes for v3.15-rc1 2014-04-05 16:12:27 +10:00
qxl drm/ttm: Hide the implementation details of reservation 2014-04-04 08:00:59 +02:00
r128 drivers: gpu: Include appropriate header file in r128_ioc32.c 2014-01-14 13:05:37 +10:00
radeon drm/radeon: Use two-ended allocation by size, v2 2014-04-04 09:28:41 +10:00
rcar-du drm/rcar-du: Handle encoder initialization failures 2014-04-04 08:02:54 +10:00
savage drm: Kill DRM_*MEMORYBARRIER 2013-12-18 11:35:21 +10:00
shmobile drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
sis drivers: gpu: Mark function as static in sis_drv.c 2014-01-14 13:04:33 +10:00
tdfx
tegra drm/tegra: Changes for v3.15-rc1 2014-04-05 16:13:08 +10:00
tilcdc drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
ttm Merge tag 'ttm-next-2014-04-04' of git://people.freedesktop.org/~thomash/linux into drm-next 2014-04-05 16:07:39 +10:00
udl Merge tag 'drm-intel-fixes-2014-04-04' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-04-05 16:14:21 +10:00
via drivers: gpu: Mark function as static in via_drv.c 2014-01-14 13:05:00 +10:00
vmwgfx drm/vmwgfx: correct fb_fix_screeninfo.line_length 2014-04-03 09:34:06 +02:00
Kconfig drm/bridge: Add PTN3460 bridge driver 2014-03-24 00:36:37 +09:00
Makefile drm: Add primary plane helpers (v3) 2014-04-01 20:11:28 -04:00
README.drm
ati_pcigart.c
drm_agpsupport.c drm: rip out DRM_AGP_MEM and DRM_AGP_KERN 2013-12-18 11:32:55 +10:00
drm_auth.c
drm_buffer.c drm: Kill DRM_COPY_(TO|FROM)_USER 2013-12-18 11:35:01 +10:00
drm_bufs.c drm: rip out drm_core_has_AGP 2013-12-18 11:20:04 +10:00
drm_cache.c drm: Make drm_clflush_virt_range() void* 2014-04-01 22:58:29 +02:00
drm_context.c
drm_crtc.c drm: Allow userspace to ask for universal plane list (v2) 2014-04-01 20:18:29 -04:00
drm_crtc_helper.c Merge branch 'primary-plane' of git://people.freedesktop.org/~robclark/linux into drm-next 2014-04-02 12:09:09 +10:00
drm_crtc_internal.h drm: move drm_mode related functions into drm_modes.c 2014-03-13 12:48:40 +01:00
drm_debugfs.c
drm_dma.c
drm_dp_helper.c drm/dp_helper: don't return EPROTO for defers (v2) 2014-04-05 16:06:34 +10:00
drm_drv.c drm: Add a function to get the ioctl flags 2014-03-28 14:19:02 +01:00
drm_edid.c Merge branch 'topic/core-stuff' of git://git.freedesktop.org/git/drm-intel into drm-next 2014-03-18 19:23:22 +10:00
drm_edid_load.c drm/edid: Make edid_load() return a void * 2013-12-18 10:42:13 +10:00
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c drm: Prefer noninterlace cmdline mode unless explicitly specified 2014-04-04 10:07:03 +10:00
drm_flip_work.c kfifo API type safety 2013-11-15 09:32:23 +09:00
drm_fops.c drm: Protect the master management with a drm_device::master_mutex v3 2014-03-28 14:19:02 +01:00
drm_gem.c Merge branch 'drm-docs' of ssh://people.freedesktop.org/~danvet/drm into drm-next 2014-03-18 19:09:10 +10:00
drm_gem_cma_helper.c drm: gem-cma: Fix warnings due to improper printk formats 2014-04-04 10:13:48 +10:00
drm_global.c
drm_hashtab.c
drm_info.c drm: remove dev->vma_count 2013-12-18 11:43:29 +10:00
drm_ioc32.c
drm_ioctl.c drm: Allow userspace to ask for universal plane list (v2) 2014-04-01 20:18:29 -04:00
drm_irq.c drm/radeon: Move the early vblank IRQ fixup to radeon_get_crtc_scanoutpos() 2014-01-20 12:21:35 +02:00
drm_lock.c
drm_memory.c drm: rip out DRM_AGP_MEM and DRM_AGP_KERN 2013-12-18 11:32:55 +10:00
drm_mipi_dsi.c drm/mipi_dsi: create dsi devices only for nodes with reg property 2014-04-04 21:24:47 +09:00
drm_mm.c drm/mm: Fix search for smallest hole satisfying constraints 2014-04-04 10:12:21 +10:00
drm_modes.c drm: polish function kerneldoc for drm_modes.[hc] 2014-03-13 12:48:44 +01:00
drm_panel.c drm: Add panel support 2013-12-17 18:09:46 +01:00
drm_pci.c Merge branch 'topic/core-stuff' of git://git.freedesktop.org/git/drm-intel into drm-next 2014-03-18 19:23:22 +10:00
drm_plane_helper.c drm: Add drm_crtc_init_with_planes() (v2) 2014-04-01 20:18:27 -04:00
drm_platform.c drm: provide device-refcount 2014-03-16 12:25:17 +01:00
drm_prime.c drm/doc: Add PRIME function references 2014-03-13 12:48:34 +01:00
drm_rect.c
drm_scatter.c
drm_stub.c drm: Allow userspace to ask for universal plane list (v2) 2014-04-01 20:18:29 -04:00
drm_sysfs.c drm/sysfs: fix OOM verification 2013-11-28 14:35:23 +10:00
drm_trace.h
drm_trace_points.c
drm_usb.c drm: provide device-refcount 2014-03-16 12:25:17 +01:00
drm_vm.c drm: remove dev->vma_count 2013-12-18 11:43:29 +10:00
drm_vma_manager.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