On Die, 2002-12-10 at 13:45, Charl P. Botha wrote: > On Tue, 2002-12-10 at 13:36, Alan Hourihane wrote: > > One thing though. It doesn't look like it's hooked to any APM events. > > > > It's just run generically everytime on ModeInit. What happens when you > > VT switch - does it handle them cases too ? > > At the moment it's called from RADEONEnterVT() in radeon_driver.c - so > the code is called after every VT switch. During normal operation this > doesn't cause any problems as it's idempotent. I would prefer hooking > it more specifically to a power event... however, last time I checked > the infrastructure for non-APM power events didn't seem to be ready.
Which likely won't change all by itself. ;) Anyway, I think the power management code basically emulates a VT switch for suspend/resume, so doing it in EnterVT() makes sense. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel