Hi, On Fri, Nov 21, 2008 at 09:16:15AM +1100, Carsten Haitzler wrote: > On Thu, 20 Nov 2008 19:00:02 +0100 "Nicola Mfb" <[EMAIL PROTECTED]> babbled: > > I wrote a small code snippet to test XCopyArea performance, and it seems to > > do about 25fps smoothscrolling but at the cost of XGlamo using 70/80% of > > CPU. This seems very strange, it maybe my code is wrong (I repeat I'm not an > > expert :) ), or XCopyArea is not full accelerated, or Xglamo has to be > > optimized, or that the Glamo GPU is simply slow :) > > it's accelerated - but likely polling the command queue status as you have no > interrupts thanks to the linux kernel's policy of not exporting interrupts to > userspace, so you're stuck with a poll loop. i can't remember if glamo had a > "i'm done" interrupt for the command queue or operations - i know it had > several interrupts it can generate (but as the kernel wouldnt allow userspace > to make use of them i pretty much ignored them).
??? What's wrong with: interrupt handler -> wait queue -> file operations read/poll? Greetings, Sascha _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community