linux-hardened/drivers/gpu/drm/vmwgfx
David Herrmann 6796cb16c0 drm: use anon-inode instead of relying on cdevs
DRM drivers share a common address_space across all character-devices of a
single DRM device. This allows simple buffer eviction and mapping-control.
However, DRM core currently waits for the first ->open() on any char-dev
to mark the underlying inode as backing inode of the device. This delayed
initialization causes ugly conditions all over the place:
  if (dev->dev_mapping)
    do_sth();

To avoid delayed initialization and to stop reusing the inode of the
char-dev, we allocate an anonymous inode for each DRM device and reset
filp->f_mapping to it on ->open().

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-16 12:23:33 +01:00
..
Kconfig drm/vmwgfx: allow a kconfig option to choose if fbcon is enabled 2012-09-07 13:24:34 +10:00
Makefile drm/vmwgfx: Add guest-backed shaders 2014-01-17 07:52:27 +01:00
svga3d_reg.h drm/vmwgfx: Fix command defines and checks 2014-02-12 19:31:45 +01:00
svga3d_surfacedefs.h drm/vmwgfx: Fix possible integer overflow 2014-02-12 19:30:45 +01: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 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 a couple of sparse warnings and errors 2014-02-12 12:01:11 +01:00
vmwgfx_dmabuf.c drm/vmwgfx: Ditch the vmw_dummy_query_bo_prepare function 2014-01-17 07:52:37 +01:00
vmwgfx_drv.c drm: use anon-inode instead of relying on cdevs 2014-03-16 12:23:33 +01:00
vmwgfx_drv.h drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE 2014-02-12 12:17:00 +01:00
vmwgfx_execbuf.c drm/vmwgfx: Fix command defines and checks 2014-02-12 19:31:45 +01:00
vmwgfx_fb.c Prepared for main script 2012-10-03 13:45:43 -07: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: Move function declaration to correct header 2012-02-13 12:01:36 +00:00
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: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE 2014-02-12 12:17:00 +01:00
vmwgfx_irq.c drm: Kill DRM_IRQ_ARGS 2013-12-18 11:33:46 +10:00
vmwgfx_kms.c drm/vmwgfx: Fix surface framebuffer check for guest-backed surfaces 2014-01-17 07:52:39 +01:00
vmwgfx_kms.h drm: Pass page flip ioctl flags to driver 2013-08-30 09:24:54 +10:00
vmwgfx_ldu.c drm/vmwgfx: Add our connectors to sysfs 2013-12-04 12:04:02 -08:00
vmwgfx_marker.c vmwgfx: Fix confusion caused by using "fence" in various places 2011-09-06 11:48:40 +01:00
vmwgfx_mob.c vmwgfx: Fix unitialized stack read in vmw_setup_otable_base 2014-02-05 08:52:34 +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.c drm/vmwgfx: Reemit context bindings when necessary v2 2014-02-05 08:41:58 +01:00
vmwgfx_resource_priv.h drm/vmwgfx: Break out surface and context management to separate files 2012-11-21 07:47:08 +10:00
vmwgfx_scrn.c drm/vmwgfx: Add our connectors to sysfs 2013-12-04 12:04:02 -08:00
vmwgfx_shader.c drm/vmwgfx: Fix a couple of sparse warnings and errors 2014-02-12 12:01:11 +01:00
vmwgfx_surface.c drm/vmwgfx: Reemit context bindings when necessary v2 2014-02-05 08:41:58 +01:00
vmwgfx_ttm_glue.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00