Am Donnerstag, den 17.03.2005, 08:17 +0300 schrieb Sergey Zharkov: > Felix, > > It works great!!! Thanks for the patch - now my suspend-resume works > like piece of cake - without DMA modes yet
Didn't you say it worked with PCI DMA? With BusType "PCI" and DmaMode != "None" it is using DMA. Though PCI DMA is slower than AGP DMA, in some cases even slower than no DMA at all. :-/ > but even without dma the > performance is much better than on savage DRI 1.0. If there will be any > changes in agp - i am ready to test. The patch from yesterdays mm4 > version did not help. Hmm, ok. I'll commit my patch to Xorg CVS and see if I can get the via-agp issue resolved with the kernel people. Regards, Felix > > > On Thu, 2005-03-17 at 00:26 +0100, Felix Kühling wrote: > > Am Mittwoch, den 16.03.2005, 16:26 +0100 schrieb Felix Kühling: > > > Am Mittwoch, den 16.03.2005, 17:35 +0300 schrieb Sergey Zharkov: > > [snip] > > > > What I'am afraid of is that savage_dri or savage_drv drivers writhe > > > > something into the chip hardware that is not loaded there by kernel > > > > modules start - so if i do resume from ram the chip registers keep those > > > > values and resume even if glx app was running in time of suspend. But if > > > > i resume from disk kernel modules are loaded back with initial values - > > > > but some commands or chip register values that were initialised by xorg > > > > or dri drivers need to be restored on enterVT function. The same way as > > > > radeon do. > > > > > > As far as I can tell, the Savage hardware state is almost completely > > > restored in enterVT. EnterVT doesn't care about 3D state though, that's > > > why 3D windows that were running during suspend are black after resume. > > > I think it would be easy to get it working with a running 3D application > > > during suspension. The Xserver would have to invalidate the 3D hardware > > > state in the sarea, so that the 3D driver restores it after resume. I'll > > > send you a patch later tonight for testing this. > > > > Please try the attached patch (apply in > > xc/programs/Xserver/hw/xfree86/drivers/savage). Test with BusType "PCI", > > with a 3D app running while suspending. On resume it should now display > > correctly. If it works, I will commit this to Xorg CVS. > > > > > > > [snip] > > > > Thanks, > > Felix > > -- | Felix Kühling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel