W dniu 19 maja 2009 18:19 użytkownik Yang Zhao
2009/5/19 Yang Zhao
: 2009/5/19 Rafał Miłecki
: It's actually weird for me that you don't lose engine clock on suspend&resume. While machine is in suspend mode, only RAM should be powered, right? That would mean GPU doesn't get power and all registers are resetted to default values. Maybe suspending on your machine is broken? Maybe your GPU is still powered?
The kernel causes a VT switch to happen on suspend.
Ugh, that didn't answer your question at all. Sorry, I *just* got up.
On LeaveVT, the driver takes a snapshot of certain ranges of registers which are restored on EnterVT; look at rhdSave() and rhdLoad(), respectively. The PLL-related registers are what controls the clocks, IIRC.
I was sure rhdRestore touches only well-known registers. Thanks for explaining. -- Rafał Miłecki -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org