- diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c b/drivers/gpu/drm/nouveau/nv50_graph.c
- index 56a9753..68948c9 100644
- --- a/drivers/gpu/drm/nouveau/nv50_graph.c
- +++ b/drivers/gpu/drm/nouveau/nv50_graph.c
- @@ -288,9 +288,9 @@ nv50_graph_unload_context(struct drm_device *dev)
- nv_wr32(dev, 0x400824, nv_rd32(dev, 0x400824) | 0x20);
- nv_wr32(dev, 0x400304, nv_rd32(dev, 0x400304) | 0x01);
- nouveau_wait_for_idle(dev);
- + nv_wr32(dev, NV50_PGRAPH_CTXCTL_CUR, inst);
- nv_wr32(dev, 0x400500, fifo);
- - nv_wr32(dev, NV50_PGRAPH_CTXCTL_CUR, inst);
- return 0;
- }
Undefined
By: Guest | Date: Jan 13 2010 18:19 | Format: None | Expires: never | Size: 572 B | Hits: 887
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago