mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 17:30:09 +01:00
nouveau: plug drm fifo ioremap leak (#14941)
This commit is contained in:
parent
03ca202fa5
commit
c9cfeaa554
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ nouveau_dma_channel_takedown(struct drm_device *dev)
|
||||||
DRM_DEBUG("\n");
|
DRM_DEBUG("\n");
|
||||||
|
|
||||||
if (dchan->chan) {
|
if (dchan->chan) {
|
||||||
|
drm_core_ioremapfree(dchan->chan->pushbuf_mem->map, dev);
|
||||||
nouveau_fifo_free(dchan->chan);
|
nouveau_fifo_free(dchan->chan);
|
||||||
dchan->chan = NULL;
|
dchan->chan = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue