alistair23-linux/drivers/gpu/drm
Rob Clark 51fd371bba drm: convert crtc and connection_mutex to ww_mutex (v5)
For atomic, it will be quite necessary to not need to care so much
about locking order.  And 'state' gives us a convenient place to stash a
ww_ctx for any sort of update that needs to grab multiple crtc locks.

Because we will want to eventually make locking even more fine grained
(giving locks to planes, connectors, etc), split out drm_modeset_lock
and drm_modeset_acquire_ctx to track acquired locks.

Atomic will use this to keep track of which locks have been acquired
in a transaction.

v1: original
v2: remove a few things not needed until atomic, for now
v3: update for v3 of connection_mutex patch..
v4: squash in docbook
v5: doc tweaks/fixes

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-06-05 09:54:33 +10:00
..
armada drm/armada: use shmem helpers if possible 2014-05-27 15:51:35 +10:00
ast drm/ast: Fix double lock at PM resume 2014-06-02 09:57:29 +02:00
bochs drm/bochs: Remove unecessary NULL check in gem_free 2014-04-22 15:39:40 +02:00
bridge drm: make mode_valid callback optional 2014-04-22 11:18:12 +02:00
cirrus Merge tag 'topic/core-stuff-2014-05-05' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-05-16 11:47:13 +10:00
exynos drm/exynos: Fix double locks at PM resume 2014-06-02 09:57:29 +02:00
gma500 drm: pass the irq explicitly to drm_irq_install 2014-04-23 10:32:50 +02:00
i2c drm/i2c/tda998x: Fix signed overflow issue 2014-04-22 15:39:41 +02:00
i810
i915 drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
mga drm: remove drm_dev_to_irq from drivers 2014-04-22 11:41:12 +02:00
mgag200 drm/mgag200: Remove unecessary NULL check in gem_free 2014-04-22 15:39:04 +02:00
msm drm/msm: use correct gfp flag for vram allocation 2014-06-02 07:36:31 -04:00
nouveau drm/nouveau: replace drm_get_connector_name() with direct name field use 2014-06-04 13:14:41 +10:00
omapdrm drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
panel drm/panel: Changes for v3.15-rc1 2014-04-05 16:12:27 +10:00
qxl drm/qxl: use surface_id 0 for primary surface on all monitors 2014-06-04 12:13:22 +10:00
r128 drm: remove drm_dev_to_irq from drivers 2014-04-22 11:41:12 +02:00
radeon drm/dp: add a hw mutex around the transfer functions. (v2) 2014-06-05 09:54:29 +10:00
rcar-du drm/rcar-du: Add run-time dependencies 2014-05-27 15:46:36 +10:00
savage
shmobile drm/shmobile: Add run-time dependencies 2014-05-27 15:47:07 +10:00
sis
tdfx
tegra drm/dp: add a hw mutex around the transfer functions. (v2) 2014-06-05 09:54:29 +10:00
tilcdc drm: pass the irq explicitly to drm_irq_install 2014-04-23 10:32:50 +02: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 drm/udl: Initialize ret in udl_driver_load 2014-04-22 15:39:37 +02:00
via drm/via: Remove unecessary NULL check 2014-04-22 15:39:11 +02:00
vmwgfx drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
ati_pcigart.c
drm_agpsupport.c
drm_auth.c
drm_buffer.c
drm_bufs.c Merge tag 'topic/core-stuff-2014-05-05' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-05-16 11:47:13 +10:00
drm_cache.c drm: Missed clflushopt in drm_clflush_virt_range 2014-06-02 09:57:31 +02:00
drm_context.c
drm_crtc.c drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
drm_crtc_helper.c drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +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: add a hw mutex around the transfer functions. (v2) 2014-06-05 09:54:29 +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 drm: Split connection_mutex out of mode_config.mutex (v3) 2014-06-04 13:25:21 +10:00
drm_edid_load.c drm: replace drm_get_connector_name() with direct name field use 2014-06-04 13:17:41 +10:00
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
drm_flip_work.c
drm_fops.c drm: remove unused argument from drm_open_helper 2014-04-28 23:50:59 +02:00
drm_gem.c drm/gem: replace misleading comment 2014-05-27 15:50:57 +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 drm_bus->get_name 2014-04-23 10:32:53 +02:00
drm_ioc32.c
drm_ioctl.c drm: rip out dev->devname 2014-04-23 10:32:52 +02:00
drm_irq.c drm/irq: Coding style fix 2014-05-22 14:10:39 +02:00
drm_lock.c
drm_memory.c
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: Don't WARN if drm_mm_reserve_node 2014-04-10 10:54:47 +03:00
drm_modes.c drm: try harder to avoid regression when merging mode bits 2014-05-01 09:26:53 +10:00
drm_modeset_lock.c drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
drm_panel.c
drm_pci.c drm: Remove dev->kdriver 2014-04-23 10:32:54 +02:00
drm_plane_helper.c drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10:00
drm_platform.c drm: Remove dev->kdriver 2014-04-23 10:32:54 +02:00
drm_prime.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
drm_probe_helper.c drm: replace drm_get_connector_name() with direct name field use 2014-06-04 13:17:41 +10:00
drm_rect.c
drm_scatter.c
drm_stub.c drm: fix memory leak around mode_group (v2) 2014-05-16 11:46:06 +10:00
drm_sysfs.c drm: replace drm_get_connector_name() with direct name field use 2014-06-04 13:17:41 +10:00
drm_trace.h
drm_trace_points.c
drm_usb.c drm: Remove dev->kdriver 2014-04-23 10:32:54 +02:00
drm_vm.c
drm_vma_manager.c
Kconfig drm/exynos: Fix PTN3460 dependency 2014-06-02 02:07:10 +09:00
Makefile drm: convert crtc and connection_mutex to ww_mutex (v5) 2014-06-05 09:54:33 +10: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