summaryrefslogtreecommitdiff
path: root/nouveau/nouveau_notifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'nouveau/nouveau_notifier.c')
-rw-r--r--nouveau/nouveau_notifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nouveau/nouveau_notifier.c b/nouveau/nouveau_notifier.c
index f8cfd8b9..513fa635 100644
--- a/nouveau/nouveau_notifier.c
+++ b/nouveau/nouveau_notifier.c
@@ -80,6 +80,8 @@ nouveau_notifier_free(struct nouveau_notifier **notifier)
nvchan = nouveau_channel(nvnotify->base.channel);
nvdev = nouveau_device(nvchan->base.device);
+ FIRE_RING(&nvchan->base);
+
f.channel = nvchan->drm.channel;
f.handle = nvnotify->base.handle;
drmCommandWrite(nvdev->fd, DRM_NOUVEAU_GPUOBJ_FREE, &f, sizeof(f));