alistair23-linux/drivers/gpu/drm
Daniel Vetter 11b5d5112c drm/i915: Correctly reject invalid flags for wait_ioctl
Not having checks for this isn't good.

I've checked igt and libdrm and they all already clear flags properly.
So we're lucky and should be able to sneak this ABI clarification in.

Testcase: igt/gem_wait/invalid-flags
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85280
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-10-24 16:34:14 +02:00
..
armada drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
ast drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
bochs drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
bridge
cirrus drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
exynos drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
gma500 drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
i2c
i810 drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
i915 drm/i915: Correctly reject invalid flags for wait_ioctl 2014-10-24 16:34:14 +02:00
mga drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
mgag200 drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
msm drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
nouveau drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
omapdrm drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
panel
qxl drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
r128 drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
radeon drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
rcar-du drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
savage drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
shmobile drm/shmob: Update copyright notice 2014-09-15 11:34:07 +03:00
sis drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
sti Linux 3.17-rc5 2014-09-16 11:38:04 +10:00
tdfx drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
tegra drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
tilcdc drm/tilcdc: panel: Add support for enable GPIO 2014-09-17 10:55:27 +10:00
ttm drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED 2014-09-23 15:00:26 +10:00
udl drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
via drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
vmwgfx Linux 3.17-rc5 2014-09-16 11:38:04 +10:00
ati_pcigart.c
drm_agpsupport.c
drm_auth.c drm: Move piles of functions from drmP.h to drm_internal.h 2014-09-12 11:16:29 +02:00
drm_bufs.c
drm_cache.c
drm_context.c
drm_crtc.c Linux 3.17-rc5 2014-09-16 11:38:04 +10:00
drm_crtc_helper.c
drm_crtc_internal.h
drm_debugfs.c drm: Move piles of functions from drmP.h to drm_internal.h 2014-09-12 11:16:29 +02:00
drm_dma.c drm: Move legacy buffer structures to <drm/drm_legacy.h> 2014-09-12 15:28:12 +02:00
drm_dp_helper.c
drm_dp_mst_topology.c
drm_drv.c drm: change drm_err return type to void 2014-09-24 11:42:36 +10:00
drm_edid.c drm/edid: Reduce horizontal timings for pixel replicated modes 2014-09-15 08:56:29 +02:00
drm_edid_load.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c
drm_flip_work.c
drm_fops.c drm: unexport drm_global_mutex 2014-09-12 11:19:47 +02:00
drm_gem.c drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
drm_gem_cma_helper.c
drm_global.c
drm_hashtab.c
drm_info.c drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
drm_internal.h drm: Move internal debugfs functions to drm_internal.h 2014-09-24 11:43:35 +10:00
drm_ioc32.c
drm_ioctl.c drm: Purge ioctl forward declarations from drmP.h 2014-09-12 15:27:47 +02:00
drm_irq.c
drm_legacy.h
drm_lock.c drm: unexport drm_global_mutex 2014-09-12 11:19:47 +02:00
drm_memory.c drm: Move drm_memory.c map support declarations to <drm/drm_legacy.h> 2014-09-12 15:28:12 +02:00
drm_mipi_dsi.c drm/mipi-dsi: consider low power transmission 2014-09-20 00:56:08 +09:00
drm_mm.c
drm_modes.c
drm_modeset_lock.c
drm_of.c
drm_panel.c
drm_pci.c drm: Move legacy buffer structures to <drm/drm_legacy.h> 2014-09-12 15:28:12 +02:00
drm_plane_helper.c
drm_platform.c
drm_prime.c drm: Extract <drm/drm_gem.h> 2014-09-24 11:43:41 +10:00
drm_probe_helper.c
drm_rect.c
drm_scatter.c
drm_sysfs.c drm: Move piles of functions from drmP.h to drm_internal.h 2014-09-12 11:16:29 +02:00
drm_trace.h
drm_trace_points.c
drm_vm.c drm: Move drm_vm_open_locked into drm_internal.h 2014-09-24 11:43:20 +10:00
drm_vma_manager.c
Kconfig
Makefile
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