linux_dsm_epyc7002/drivers/gpu/drm/vmwgfx
Thomas Hellstrom cbd75e97a5 drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2
We already check that the buffer object we're accessing is registered with
the file. Now also make sure that we can't DMA across buffer object boundaries.

v2: Code commenting update.

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-04-24 08:45:25 +02:00
..
Kconfig
Makefile drm/vmwgfx: Add guest-backed shaders 2014-01-17 07:52:27 +01:00
svga3d_reg.h drm/vmwgfx: Remove some unused surface formats 2014-03-02 09:42:53 +01:00
svga3d_surfacedefs.h drm/vmwgfx: Fix possible integer overflow 2014-02-12 19:30:45 +01:00
svga_escape.h
svga_overlay.h
svga_reg.h drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE 2014-02-12 12:17:00 +01:00
svga_types.h
vmwgfx_buffer.c drm/vmwgfx: Use the linux DMA api also for MOBs 2014-01-17 07:52:38 +01:00
vmwgfx_context.c drm/vmwgfx: Fix query buffer locking order violation 2014-04-03 09:31:37 +02:00
vmwgfx_dmabuf.c drm/vmwgfx: Use a per-device semaphore for reservation protection 2014-03-28 14:19:02 +01:00
vmwgfx_drv.c drm/vmwgfx: Remove authorization requirements around some more ioctls 2014-04-03 09:31:38 +02:00
vmwgfx_drv.h drm/vmwgfx: Bump driver minor and date 2014-03-28 14:19:05 +01:00
vmwgfx_execbuf.c drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2 2014-04-24 08:45:25 +02:00
vmwgfx_fb.c drm/vmwgfx: correct fb_fix_screeninfo.line_length 2014-04-03 09:34:06 +02:00
vmwgfx_fence.c drivers: gpu: Mark functions as static in vmwgfx_fence.c 2014-01-08 13:45:56 +01:00
vmwgfx_fence.h
vmwgfx_fifo.c drm/vmwgfx: Enable 3D for new hardware version 2014-01-17 07:52:29 +01:00
vmwgfx_gmr.c drm/vmwgfx: Fix the driver for large dma addresses 2014-01-17 07:44:15 +01:00
vmwgfx_gmrid_manager.c drm/vmwgfx: Hook up MOBs to TTM as a separate memory type 2014-01-17 07:52:21 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Use a per-device semaphore for reservation protection 2014-03-28 14:19:02 +01:00
vmwgfx_irq.c drm: Kill DRM_IRQ_ARGS 2013-12-18 11:33:46 +10:00
vmwgfx_kms.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
vmwgfx_kms.h drm: Pass page flip ioctl flags to driver 2013-08-30 09:24:54 +10:00
vmwgfx_ldu.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
vmwgfx_marker.c
vmwgfx_mob.c drm/vmwgfx: avoid null pointer dereference at failure paths 2014-03-02 09:49:59 +01:00
vmwgfx_overlay.c drm/vmwgfx: Make overlay code not require fifo at init time 2012-11-20 16:19:50 +10:00
vmwgfx_prime.c drm/vmwgfx: Hook up the prime ioctls 2013-11-18 04:11:53 -08:00
vmwgfx_reg.h
vmwgfx_resource_priv.h drm/vmwgfx: Break out surface and context management to separate files 2012-11-21 07:47:08 +10:00
vmwgfx_resource.c drm/vmwgfx: Tighten the security around buffer maps 2014-03-28 14:19:04 +01:00
vmwgfx_scrn.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
vmwgfx_shader.c drm/vmwgfx: Use a per-device semaphore for reservation protection 2014-03-28 14:19:02 +01:00
vmwgfx_surface.c drm/vmwgfx: Tighten security around surface sharing v2 2014-03-28 14:19:03 +01:00
vmwgfx_ttm_glue.c