linux/drivers/gpu/drm
Daniel Vetter 8a5a80081a drm: remove global_mutex locking around agp_init
David Herrmann dutifully moved this locking along when moving the
agp_init call out of the generic drm_dev_register into the pci
specific load helpers.

But afaict there's no need and the reason for that locking has been
purely a historical accident - we need the lock around the driver dev
node registration to paper over the midlayer init races, and the agp
init simply ended up in there. The real fix for all this is of course
to delay the dev (and sysfs/debugfs) interface registration until
everything is fully set up.

Until then stop the cargo-cult locking from spreading and remove the
locking.

Cc: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-12-18 11:27:29 +10:00
..
armada drm/armada: directly call drm_put_dev in ->remove 2013-12-18 11:05:48 +10:00
ast
cirrus drm/cirrus: use drm_set_preferred_mode 2013-11-06 13:36:19 +10:00
exynos drm/exynos: call drm_put_dev directly from ->remove 2013-12-18 11:05:40 +10:00
gma500 drm/dp: Use AUX constants from specification 2013-12-18 11:08:51 +10:00
i2c drm/i2c: tda998x: set VIF for full range, underscanned display 2013-10-18 15:58:32 +01:00
i810 drm: kill DRIVER_REQUIRE_AGP 2013-12-18 11:17:53 +10:00
i915 drm: kill DRIVER_REQUIRE_AGP 2013-12-18 11:17:53 +10:00
mga
mgag200 drm/mgag200: drop pointless info print. 2013-11-08 15:49:43 +10:00
msm drm/msm: call drm_put_dev directly in ->remove 2013-12-18 11:05:49 +10:00
nouveau Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes 2013-12-05 09:21:16 +10:00
omapdrm drm/omap: call drm_put_dev directly in ->remove 2013-12-18 11:05:44 +10:00
qxl drm: Push dirtyfb ioctl kms locking down to drivers 2013-12-18 10:49:08 +10:00
r128
radeon drm: rip out drm_core_has_AGP 2013-12-18 11:20:04 +10:00
rcar-du drm/rcar-du: Fix return value check in rcar_du_lvdsenc_get_resources() 2013-12-18 11:10:48 +10:00
savage
shmobile drm/shmob: call drm_put_dev directly from ->remove hook 2013-12-18 11:05:46 +10:00
sis
tdfx
tegra drm: restrict the device list for shadow attached drivers 2013-12-18 11:08:36 +10:00
tilcdc drm/tilcdc: call drm_put_dev directly from ->remove 2013-12-18 11:05:43 +10:00
ttm Merge branch 'ttm-fixes-3.13' of git://people.freedesktop.org/~thomash/linux into drm-fixes 2013-11-21 18:46:56 +10:00
udl drm: Push dirtyfb ioctl kms locking down to drivers 2013-12-18 10:49:08 +10:00
via
vmwgfx drm: Push dirtyfb ioctl kms locking down to drivers 2013-12-18 10:49:08 +10:00
ati_pcigart.c
drm_agpsupport.c drm/agpsupport: use kzalloc instead of kmalloc/memset 2013-12-18 11:27:06 +10:00
drm_auth.c
drm_buffer.c
drm_bufs.c drm: rip out drm_core_has_AGP 2013-12-18 11:20:04 +10:00
drm_cache.c
drm_context.c
drm_crtc_helper.c drm: eliminate bit-copy restoration of crtc 2013-11-06 14:27:51 +10:00
drm_crtc.c drm: Push dirtyfb ioctl kms locking down to drivers 2013-12-18 10:49:08 +10:00
drm_debugfs.c drm: Make drm_debugfs_list const 2013-11-06 12:05:21 +10:00
drm_dma.c
drm_dp_helper.c
drm_drv.c Merge tag 'drm-intel-fixes-2013-11-07' of git://people.freedesktop.org/~danvet/drm-intel into drm-next 2013-11-08 16:34:39 +10:00
drm_edid_load.c drm/edid: Make edid_load() return a void * 2013-12-18 10:42:13 +10:00
drm_edid.c drm: fix the addition of the side-by-side (half) flag for extra 3D modes 2013-12-05 11:00:59 +10:00
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c drm: do not steal the display if we have a master 2013-12-18 10:47:20 +10:00
drm_flip_work.c kfifo API type safety 2013-11-15 09:32:23 +09:00
drm_fops.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-11-15 14:19:54 +09:00
drm_gem_cma_helper.c
drm_gem.c drm: Don't reference objects in the flink name idr 2013-12-18 10:48:17 +10:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_ioc32.c
drm_ioctl.c
drm_irq.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
drm_lock.c
drm_memory.c drm: rip out drm_core_has_AGP 2013-12-18 11:20:04 +10:00
drm_mm.c
drm_modes.c drm: copy mode type in drm_mode_connector_list_update() 2013-10-23 14:21:12 +01:00
drm_pci.c drm: remove global_mutex locking around agp_init 2013-12-18 11:27:29 +10:00
drm_platform.c drm: restrict the device list for shadow attached drivers 2013-12-18 11:08:36 +10:00
drm_prime.c
drm_rect.c
drm_scatter.c
drm_stub.c drm: kill the ->agp_destroy callback 2013-12-18 11:24:39 +10:00
drm_sysfs.c drm/sysfs: fix OOM verification 2013-11-28 14:35:23 +10:00
drm_trace_points.c
drm_trace.h
drm_usb.c drm: restrict the device list for shadow attached drivers 2013-12-18 11:08:36 +10:00
drm_vm.c drm: rip out drm_core_has_AGP 2013-12-18 11:20:04 +10:00
drm_vma_manager.c
Kconfig drm/tegra: Changes for v3.13-rc1 2013-11-05 16:21:00 +10:00
Makefile drm/tegra: Changes for v3.13-rc1 2013-11-05 16:21:00 +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