nouveau: Destroy PGRAPH context table on PGRAPH takedown
parent
ec67c2def9
commit
875dd1e538
|
@ -242,5 +242,8 @@ int nv20_graph_init(struct drm_device *dev) {
|
|||
|
||||
void nv20_graph_takedown(struct drm_device *dev)
|
||||
{
|
||||
struct drm_nouveau_private *dev_priv = dev->dev_private;
|
||||
|
||||
nouveau_gpuobj_ref_del(dev, &dev_priv->ctx_table);
|
||||
}
|
||||
|
||||
|
|
|
@ -281,5 +281,8 @@ int nv30_graph_init(struct drm_device *dev)
|
|||
|
||||
void nv30_graph_takedown(struct drm_device *dev)
|
||||
{
|
||||
struct drm_nouveau_private *dev_priv = dev->dev_private;
|
||||
|
||||
nouveau_gpuobj_ref_del(dev, &dev_priv->ctx_table);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue