android_kernel_oneplus_msm8998/drivers/gpu/drm/vmwgfx
Thomas Hellstrom be38ab6ea7 vmwgfx: Fix potential execbuf deadlocks
Perform all command stream validation in a bounce buffer separate from the
fifo. This makes the fifo available to all validation-generated commands,
which would otherwise attempt to grab the fifo recursively, causing a
deadlock. This is in preparation for GMR2 and swappable surfaces.

Also maintain references to all surfaces in the command stream until the
command stream has been fired in order to avoid racing with surface
destruction taking place after validation but before submission.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-09-01 09:37:55 +01:00
..
Kconfig drm/vmwgfx: depends on FB 2010-03-15 10:35:04 +10:00
Makefile vmwgfx: Implement a proper GMR eviction mechanism 2010-10-27 11:07:46 +10:00
svga3d_reg.h
svga_escape.h
svga_overlay.h
svga_reg.h
svga_types.h
vmwgfx_buffer.c ttm: Expand (*populate) to support an array of DMA addresses. 2011-01-27 16:07:58 -05:00
vmwgfx_drv.c vmwgfx: Fix potential execbuf deadlocks 2011-09-01 09:37:55 +01:00
vmwgfx_drv.h vmwgfx: Fix potential execbuf deadlocks 2011-09-01 09:37:55 +01:00
vmwgfx_execbuf.c vmwgfx: Fix potential execbuf deadlocks 2011-09-01 09:37:55 +01:00
vmwgfx_fb.c vmwgfx: Print error diagnostics if depth doesn't match the host expectation 2011-09-01 09:37:49 +01:00
vmwgfx_fence.c drm/vmwgfx: Add kernel throttling support. Bump minor. 2010-06-01 09:37:15 +10:00
vmwgfx_fifo.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
vmwgfx_gmr.c vmwgfx: Implement a proper GMR eviction mechanism 2010-10-27 11:07:46 +10:00
vmwgfx_gmrid_manager.c vmwgfx: Implement a proper GMR eviction mechanism 2010-10-27 11:07:46 +10:00
vmwgfx_ioctl.c drm/vmwgfx: Add a parameter to get the max fb size 2010-10-06 11:29:58 +10:00
vmwgfx_irq.c drm/vmwgfx: Add kernel throttling support. Bump minor. 2010-06-01 09:37:15 +10:00
vmwgfx_kms.c vmwgfx: Print error diagnostics if depth doesn't match the host expectation 2011-09-01 09:37:49 +01:00
vmwgfx_kms.h drm/vmwgfx: Allow userspace to change default layout. Bump minor. 2010-06-03 13:13:36 +10:00
vmwgfx_ldu.c vmwgfx: Print error diagnostics if depth doesn't match the host expectation 2011-09-01 09:37:49 +01:00
vmwgfx_overlay.c drivers: use kzalloc/kcalloc instead of 'kmalloc+memset', where possible 2011-07-25 20:57:13 -07:00
vmwgfx_reg.h
vmwgfx_resource.c vmwgfx: Fix potential execbuf deadlocks 2011-09-01 09:37:55 +01:00
vmwgfx_ttm_glue.c drivers/gpu/drm: Remove unnecessary casts of private_data 2010-09-23 13:35:26 +02:00