linux/drivers/gpu/drm/vmwgfx
Thomas Hellstrom fd006a43a8 drm/vmwgfx: Add a kernel interface to create a framebuffer v2
The kernel interface is needed for fbdev, and needs to be free from
a file_priv member. To accomplish this, remove the fb surface mutex
and list which isn't used anymore, anyway.

Finally, make the pin() and unpin() pin the framebuffer for all display
system backends, so that fbdev can pin its framebuffer before mapping it.

v2: Address review comments:
- Fix vmw_framebuffer_unpin() to handle also the surface framebuffer case.
- Fix vmw_kms_new_framebuffer() to actually use the only_2d parameter.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2015-08-05 14:01:10 +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 vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_overlay.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
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: Avoid cmdbuf alloc sleeping if !TASK_RUNNING 2015-08-05 14:01:09 +02:00
vmwgfx_context.c vmwgfx: Rework device initialization 2015-08-05 14:01:03 +02:00
vmwgfx_dmabuf.c drm/vmwgfx: Introduce a pin count to allow for recursive pinning v2 2015-08-05 14:01:08 +02:00
vmwgfx_drv.c drm/vmwgfx: Add a kernel interface to create a framebuffer v2 2015-08-05 14:01:10 +02:00
vmwgfx_drv.h drm/vmwgfx: Add a kernel interface to create a framebuffer v2 2015-08-05 14:01:10 +02:00
vmwgfx_execbuf.c drm/vmwgfx: Convert screen targets to new helpers v3 2015-08-05 14:01:09 +02:00
vmwgfx_fb.c drm/vmwgfx: Introduce a pin count to allow for recursive pinning v2 2015-08-05 14:01:08 +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 drm/vmwgfx: Introduce a pin count to allow for recursive pinning v2 2015-08-05 14:01:08 +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: Add a kernel interface to create a framebuffer v2 2015-08-05 14:01:10 +02:00
vmwgfx_kms.h drm/vmwgfx: Add a kernel interface to create a framebuffer v2 2015-08-05 14:01:10 +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 drm/vmwgfx: Introduce a pin count to allow for recursive pinning v2 2015-08-05 14:01:08 +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: Convert screen targets to new helpers v3 2015-08-05 14:01:09 +02:00
vmwgfx_scrn.c drm/vmwgfx: Convert screen objects to the new helpers 2015-08-05 14:01:09 +02:00
vmwgfx_shader.c vmwgfx: Rework device initialization 2015-08-05 14:01:03 +02:00
vmwgfx_stdu.c drm/vmwgfx: Convert screen targets to new helpers v3 2015-08-05 14:01:09 +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