linux-stable/drivers/gpu/drm/mgag200
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: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_cursor.c drm/mgag200: fix oops in cursor code. 2014-01-16 14:43:04 +10:00
mgag200_drv.c drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
mgag200_drv.h drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
mgag200_fb.c drm/mgag200,ast,cirrus: fix regression with drm_can_sleep conversion 2014-02-06 11:39:03 +10:00
mgag200_i2c.c drm/mgag200: Bug fix: Renesas board now selects native resolution. 2013-03-08 08:31:49 +10:00
mgag200_main.c drm/mgag200: on cards with < 2MB VRAM default to 16-bit 2014-01-23 11:01:35 +10:00
mgag200_mode.c drm/mgag200: fix typo causing bw limits to be ignored on some chips 2014-02-05 14:31:32 +10:00
mgag200_reg.h drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_ttm.c drm: use anon-inode instead of relying on cdevs 2014-03-16 12:23:33 +01:00