Re: m68k: trying accessing fb memory

"Gavin Lambert" <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <00b201cdd8b7$18284700$4878d500$@com>
Quoth angelo:
> thanks, well, i implemented the handler:
> 
> static int amcorefb_mmap(struct fb_info *info, struct vm_area_struct
> *vma) {

No, that's not the right one.  You don't need to implement that.

> Seems i miss the "get_unmapped_area/BDI_CAP_MAP_DIRECT) capability.

fbmem.c implements the main get_unmapped_area handler.  In your framebuffer
driver you just need to either implement fb_get_unmapped_area or (easier,
but only works on nommu) set fix.smem_start and .smem_len correctly in your
fb_info.


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.