devmem is based on you have a mmapped region that your hardware can draw from. fbdev is built on top of the linux framebuffer and uses standard ioctls to read/write settings in the FB driver.
A good example of a devmem based system is the davinci driver. This uses the framebuffers as well and is simple to read/understand. I used this driver as the basis for a similar driver on the NXP PNX893X chipset. To get it to use devmem and not fb then you must have system=devmem video-length and video-phys values set in your directfbrc file. It will then mmap the memory from phys -> to phys+length and then use devmem system to control surface allocation etc within this memory. Hope this helps a little bit. Daniel Laird -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Georgios Tsalikis Sent: 2009 Mar 11 20:51 To: [email protected] Subject: [directfb-users] In need of information about devmem Hi! Could someone explain to me the differences between fbdev and devmem? Would it be possible to have a brief tutorial about how to start a DFB app and initialize the gfx device with the devmem ? Thanks in advance! _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
