diff options
author | Matthieu Castet <mat@mat-pc.(none)> | 2007-01-05 19:40:11 +0100 |
---|---|---|
committer | Matthieu Castet <mat@mat-pc.(none)> | 2007-01-05 19:40:11 +0100 |
commit | 9d167f1f4bc89b784248d22bc95dfc15a72d0244 (patch) | |
tree | d3e0c0eb319c464f6d4bb43b97652dab0d7f2d25 /shared-core/nouveau_fifo.c | |
parent | 4fe2858f53c6ea542cd81961ebdad118acfc8f32 (diff) |
Add basic pgraph context for nv10.
It only fake a context switch : pgraph state are not save/restored.
Diffstat (limited to 'shared-core/nouveau_fifo.c')
-rw-r--r-- | shared-core/nouveau_fifo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/nouveau_fifo.c b/shared-core/nouveau_fifo.c index 9f8c740e..e97e4a68 100644 --- a/shared-core/nouveau_fifo.c +++ b/shared-core/nouveau_fifo.c @@ -488,6 +488,7 @@ static int nouveau_fifo_alloc(drm_device_t* dev,drm_nouveau_fifo_alloc_t* init, init->channel = i; init->put_base = 0; dev_priv->cur_fifo = init->channel; + dev_priv->fifos[i].pgraph_ctx_user = i << 24; nouveau_wait_for_idle(dev); |