From 9d167f1f4bc89b784248d22bc95dfc15a72d0244 Mon Sep 17 00:00:00 2001 From: Matthieu Castet Date: Fri, 5 Jan 2007 19:40:11 +0100 Subject: Add basic pgraph context for nv10. It only fake a context switch : pgraph state are not save/restored. --- shared-core/nouveau_fifo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shared-core/nouveau_fifo.c') 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); -- cgit v1.2.3