diff options
author | Ilya Yanok <ilya.yanok@gmail.com> | 2007-10-16 01:29:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:18 -0700 |
commit | 68e5e9d734503695915734e50e9427624cf8f3b2 (patch) | |
tree | c784682bd229dd03e04fd9444cd9345dccf578c3 /drivers/video/intelfb | |
parent | 1ddc28d7e7cb5f501e224a5868d34442c6203eb1 (diff) | |
download | op-kernel-dev-68e5e9d734503695915734e50e9427624cf8f3b2.zip op-kernel-dev-68e5e9d734503695915734e50e9427624cf8f3b2.tar.gz |
vfb: make virtual framebuffer mmapable
Changed things:
1. vmalloc()/vfree() replaced with rvmalloc()/rvfree() (taken from
drivers/media/video/se401.c)
2. mmap method implemented (mostly taken from drivers/media/video/se401.c)
3. smem_start and smem_len fields of struct fb_fix_screeninfo initialized.
(smem_start initialized with virtual address, don't know if it is really
bad...)
[adaplas: sparse warning fix]
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/intelfb')
0 files changed, 0 insertions, 0 deletions