drm/nv50: avoid unloading pgraph context when ctxprog is running
authorMaarten Maathuis <madman2003@gmail.com>
Mon, 1 Feb 2010 17:32:09 +0000 (18:32 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 22:19:36 +0000 (08:19 +1000)
- We need to disable pgraph fifo access before checking the current channel,
  otherwise we could still hit a running ctxprog.
- The writes to 0x400500 are already handled by pgraph->fifo_access and are
  therefore redundant, moreover pgraph fifo access should not be reenabled
  before current context is set as invalid. So remove them altogether.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found