diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv40_graph.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv40_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv40_graph.c b/drivers/gpu/drm/nouveau/nv40_graph.c index 7ee1b91569b8..e0b41a26447f 100644 --- a/drivers/gpu/drm/nouveau/nv40_graph.c +++ b/drivers/gpu/drm/nouveau/nv40_graph.c | |||
@@ -42,7 +42,7 @@ nv40_graph_channel(struct drm_device *dev) | |||
42 | inst = (inst & NV40_PGRAPH_CTXCTL_CUR_INSTANCE) << 4; | 42 | inst = (inst & NV40_PGRAPH_CTXCTL_CUR_INSTANCE) << 4; |
43 | 43 | ||
44 | for (i = 0; i < dev_priv->engine.fifo.channels; i++) { | 44 | for (i = 0; i < dev_priv->engine.fifo.channels; i++) { |
45 | struct nouveau_channel *chan = dev_priv->fifos[i]; | 45 | struct nouveau_channel *chan = dev_priv->channels.ptr[i]; |
46 | 46 | ||
47 | if (chan && chan->ramin_grctx && | 47 | if (chan && chan->ramin_grctx && |
48 | chan->ramin_grctx->pinst == inst) | 48 | chan->ramin_grctx->pinst == inst) |