From: Leif D. <lde...@re...> - 2002-05-02 21:06:01
|
On 2 May 2002, Sergey V. Udaltsov wrote: > Hi > > > Whoops. The oops is my fault, it's a bug in _cleanup_dma. It's fixed in > > CVS now. Just update and rebuild and install the kernel module. This is > > not related to your original problem though, I'm not sure what would be > > causing a lockup on vt switches if no GL contexts are running. > I really don't know but... Well, it works now (snapshot 0502). No OOPS > detected. In my syslog I see: > > May 2 20:31:23 localhost kernel: [drm] Creating pci pool > May 2 20:31:23 localhost kernel: [drm] Allocating descriptor table > memory > May 2 20:31:23 localhost kernel: [drm] descriptor table: cpu addr: > 0xc08a4000, bus addr: 0x008a4000 > May 2 20:31:23 localhost kernel: [drm] Starting DMA test... > May 2 20:31:23 localhost kernel: [drm] starting DMA transfer... > May 2 20:31:23 localhost kernel: [drm] waiting for idle... > May 2 20:31:23 localhost kernel: [drm] waiting for idle...done > May 2 20:31:23 localhost kernel: [drm] DMA test succeeded, using > synchronous DMA mode > > Does it mean DMA works for me? AFAIK it does. BTW, does "synchronous" > mean there will be "asynchronous" somewhere?:) Yes, that's the goal. "Synchronous" DMA means that we wait for the card to idle after submitting each DMA pass, rather than going on to do other things and polling or handling interrupts to check for completion of the DMA transfer. Synchronous operation isn't meant to be fast, it's just a first step in testing that we are submitting the DMA pass correctly. > About FPS - they are still lower than in good old user-mode MMIO... (241 > vs 286 in 0-0-3). But DMA is already enabled - does this mean I will > never get anything better? see above. > Well, glxgears works OK. So does Counter-Strike. As usual, in > texture-intensive apps (celestia) we are waiting for GART... We'll get there eventually. ;) I don't think AGP textures will be too hard to add once we get there. We're already allocating a region of the AGP aperture for textures, but the implementation of using it isn't done yet. > Anyway, thanks for fast fix. Sure. Let us know if you experience a lockup again. There will be some big changes coming in the drm in 0-0-4 soon, so it's likely to be a bit unstable for a while. -- Leif Delgass http://www.retinalburn.net |