From dd0f86c4cb046c79a65144f767e97fd99e7f61c9 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Sun, 1 Aug 2004 23:22:01 +0000 Subject: Fix Radeon crash on server exit or generation --- src/radeon_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 3b5b083e..b2cd9866 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -7380,6 +7380,8 @@ static void RADEONDisplayPowerManagementSet(ScrnInfoPtr pScrn, RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); unsigned char *RADEONMMIO = info->MMIO; + if (!pScrn->vtSema) return; + #ifdef XF86DRI if (info->CPStarted) DRILock(pScrn->pScreen, 0); #endif -- cgit v1.2.3