diff options
author | Pekka Paalanen <pq@iki.fi> | 2007-07-06 20:33:32 +0300 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2007-07-18 14:23:41 +0300 |
commit | af4cfa624a005f7105db89f6f076c41adbe44bd3 (patch) | |
tree | 79263329def0fab100d79643e2d86c15377f69f6 /linux-core | |
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.
Diffstat (limited to 'linux-core')
0 files changed, 0 insertions, 0 deletions