diff --git a/hw/kdrive/ati/ati_dri.c b/hw/kdrive/ati/ati_dri.c index 773f49467..2301258d0 100644 --- a/hw/kdrive/ati/ati_dri.c +++ b/hw/kdrive/ati/ati_dri.c @@ -952,7 +952,7 @@ ATIDRICloseScreen(ScreenPtr pScreen) atis->indirectBuffer = NULL; atis->indirectStart = 0; } - ATIDRIDMAStop(pScreen); + ATIDRIDMAStop(atis); if (atis->irqEnabled) { drmCtlUninstHandler(atic->drmFd);