mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 18:56:40 +07:00
drm/nouveau: Free nv04 instmem ramin heap at card takedown
Add a missing nv04 instmem ramin heap shutdown call. Signed-off-by: Jimmy Rentz <jb17bsome@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
215f902e15
commit
2abdb057e4
@ -95,6 +95,9 @@ nv04_instmem_takedown(struct drm_device *dev)
|
||||
nouveau_ramht_ref(NULL, &dev_priv->ramht, NULL);
|
||||
nouveau_gpuobj_ref(NULL, &dev_priv->ramro);
|
||||
nouveau_gpuobj_ref(NULL, &dev_priv->ramfc);
|
||||
|
||||
if (drm_mm_initialized(&dev_priv->ramin_heap))
|
||||
drm_mm_takedown(&dev_priv->ramin_heap);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user