diff options
author | Kevin E Martin <kem@kem.org> | 2004-08-01 23:22:01 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2004-08-01 23:22:01 +0000 |
commit | dd0f86c4cb046c79a65144f767e97fd99e7f61c9 (patch) | |
tree | 6f3848f69487dead1e948931a5c559ab5a931d97 | |
parent | c64f90b673f5c487dfe059f1636b04a1c2ab7dc2 (diff) |
Fix Radeon crash on server exit or generation
-rw-r--r-- | src/radeon_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 3b5b083..b2cd986 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 |