mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
6796cb16c0
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> |
||
---|---|---|
.. | ||
ast_dram_tables.h | ||
ast_drv.c | ||
ast_drv.h | ||
ast_fb.c | ||
ast_main.c | ||
ast_mode.c | ||
ast_post.c | ||
ast_tables.h | ||
ast_ttm.c | ||
Kconfig | ||
Makefile |