Hi, On Mon, 2009-07-27 at 12:50 +0200, Denis Oliver Kropp wrote:
> >> commit fbf15dbbba6398850b54112ace094d019351a44a > >> Author: Claudio Ciccani <k...@directfb.org> > >> Date: Fri Aug 12 11:00:56 2005 +0000 > >> > >> system_get_accelerator() returns -1 if mmio memory lenght is 0. > > > > I've checked the changes Claudio was working on at the time he did that > > change. Looks like he was working on the nvidia and the r200 drivers. > > But I still can't figure out what this change is good for. > > > > What are our options now? I'd like to get rid of this questionable > > check. But of course I could also introduce yet another hack in > > system_get_accelerator() and special case the PXA3XX hardware. Any > > opinions? > > I think he did that to avoid usage of the accelerated driver when the > MMIO region is not exported. > > The check for the mmio length should move into the driver. Which drivers should have this check added? Sven _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev