commit | af4cfa624a005f7105db89f6f076c41adbe44bd3 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <pq@iki.fi> | Fri Jul 06 20:33:32 2007 +0300 |
committer | Pekka Paalanen <pq@iki.fi> | Wed Jul 18 14:23:41 2007 +0300 |
tree | 79263329def0fab100d79643e2d86c15377f69f6 | |
parent | 696bee093f6f75dbb48699ff32bbebe2d3a1e307 [diff] |
nouveau: Make nouveau_wait_for_idle() read PTIMER. Following my nv28 kmmio dumps, nouveau_wait_for_idle() is modified to read PTIMER and NV03_PMC_ENABLE. Also a timeout based on PTIMER value is added, so wait_for_idle() cannot stall indefinitely (unless PTIMER is halted). The timeout was selected as 1 giga-ticks, which for me is 1s.