Daniel Laird wrote: > I have spotted that the DaVinci driver uses the following ioctls: > FBIO_SETPOS. > I have also spotted that in some documentation they state that FBIO_SETPOSX/Y > are part of the FBDEV standard (see > http://focus.ti.com/lit/an/spraan0/spraan0.pdf) > > Does anyone know if these IOCTLs are part of the FBDEV standard. I would > love to use them but am not sure about inventing my own custom IOCTLs for > what is currently a standard Framebuffer device. If these ioctls are part of > the FBDev standard (how can I check) then i would obviously be interested in > using them
Please, if you have the chance to change things, don't use the FBDev ioctls at all and just program the hardware from user space with devmem and a clean layer driver. The FBDev API sucks\b\b\b\b\b\b is not low-level/flexible enough, e.g. no ioctl to just set a linear base adress instead of xoffset and yoffset. Extending with private ioctls just makes it worse. However, to make it easier, you could add private ioctls used INSTEAD of FBDev ioctls. Best would be one per SetRegion() to have consistent changes, or add another ioctl for flushing all modified settings. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev