linux/drivers/gpu/drm/vmwgfx
Sinclair Yeh f89c6c321c drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs
This patch address the following underlying issues with SurfaceDMA

* SurfaceDMA command does not work in a 2D VM, but we can wrap a
  proxy surface around the same DMA buffer and use the SurfaceCopy
  command which does work in a 2D VM.

* Wrapping a DMA buffer with a proxy surface also gives us an
  added optimization path for the case when the DMA buf
  dimensions match the mode.  In this case, the DMA buf can
  be pinned as the display surface, saving an extra copy.
  This only works in a 2D VM because we won't be doing any
  rendering operations directly to the display surface.

v2
* Moved is_dmabuf_proxy field to vmw_framebuffer_surface
* Undone coding style changes
* Addressed other issues from review

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2015-08-05 14:01:08 +02:00
..
Kconfig drm: Move plane helpers into drm_kms_helper.ko 2014-06-04 13:36:08 +10:00
Makefile drm/vmwgfx: Implement screen targets 2015-08-05 14:01:07 +02:00
svga3d_reg.h drm/vmwgfx: SVGA device definition update 2015-08-05 14:01:06 +02:00
svga3d_surfacedefs.h drm/vmwgfx: SVGA device definition update 2015-08-05 14:01:06 +02:00
svga_escape.h
svga_overlay.h
svga_reg.h vmwgfx: Update device headers for command buffers. 2015-08-05 14:01:04 +02:00
svga_types.h vmwgfx: Update device headers for command buffers. 2015-08-05 14:01:04 +02:00
vmwgfx_buffer.c drm/vmwgfx: Add command buffer support v3 2015-08-05 14:01:04 +02:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Fix hash key computation 2014-10-31 09:54:22 +01:00
vmwgfx_cmdbuf.c drm/vmwgfx: Add command buffer support v3 2015-08-05 14:01:04 +02:00
vmwgfx_context.c vmwgfx: Rework device initialization 2015-08-05 14:01:03 +02:00
vmwgfx_dmabuf.c drm/ttm: move fpfn and lpfn into each placement v2 2014-08-27 13:16:04 +02:00
vmwgfx_drv.c drm/vmwgfx: Implement screen targets 2015-08-05 14:01:07 +02:00
vmwgfx_drv.h drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_execbuf.c drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_fb.c drm/vmwgfx: Add command buffer support v3 2015-08-05 14:01:04 +02:00
vmwgfx_fence.c drm/vmwgfx: Replace the hw mutex with a hw spinlock 2015-01-19 03:02:13 -08:00
vmwgfx_fence.h drm/vmwgfx: rework to new fence interface, v2 2014-09-02 16:41:50 +02:00
vmwgfx_fifo.c vmwgfx: Major KMS refactoring / cleanup in preparation of screen targets 2015-08-05 14:01:06 +02: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/ttm: move fpfn and lpfn into each placement v2 2014-08-27 13:16:04 +02:00
vmwgfx_ioctl.c drm/vmwgfx: Implement screen targets 2015-08-05 14:01:07 +02:00
vmwgfx_irq.c drm/vmwgfx: Add command buffer support v3 2015-08-05 14:01:04 +02:00
vmwgfx_kms.c drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_kms.h drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_ldu.c vmwgfx: Major KMS refactoring / cleanup in preparation of screen targets 2015-08-05 14:01:06 +02:00
vmwgfx_marker.c drm: vmwgfx: Use nsec based interfaces 2014-07-23 15:01:50 -07:00
vmwgfx_mob.c drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_overlay.c vmwgfx: Major KMS refactoring / cleanup in preparation of screen targets 2015-08-05 14:01:06 +02: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: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_scrn.c drm/vmwgfx: Add "quirk" to handling command verification exceptions 2015-08-05 14:01:07 +02:00
vmwgfx_shader.c vmwgfx: Rework device initialization 2015-08-05 14:01:03 +02:00
vmwgfx_stdu.c drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs 2015-08-05 14:01:08 +02:00
vmwgfx_surface.c drm/vmwgfx: Implement screen targets 2015-08-05 14:01:07 +02:00
vmwgfx_ttm_glue.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00