Altera_Forum
Honored Contributor
21 years agoframe buffer
Hi,
I wrote a simple frame buffer driver for my LCD controller in uClinux 2.6.9. My video card shares your memory with system memory. How can I alloc video card memory in kernel space? I make it with a kmalloc but when I want to point in fb memory from userspace mmap syscall don't work correctly. If I don't use kmalloc, mmap return a correct pointer and I can write correctly in videomemory... but kernel crash when alloc your structure in the same address. In my driver I've implemented ..fb_mmap() function but the kernel never use it. Why?