nouveau: disable flush_notify on channel_free

We don't want do call flush_notify when we will FIRE the RING
a couple of lines later, because grobj bound to this channel
might be already freed.
main
Marcin Slusarz 2010-01-12 15:38:29 +01:00 committed by Maarten Maathuis
parent a03dcc2104
commit 3d3d87f3a7
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ nouveau_channel_free(struct nouveau_channel **chan)
if (!chan || !*chan)
return;
nvchan = nouveau_channel(*chan);
(*chan)->flush_notify = NULL;
*chan = NULL;
nvdev = nouveau_device(nvchan->base.device);