diff options
author | Kevin E. Martin <kem-at-freedesktop-dot-org> | 2004-08-01 23:22:01 +0000 |
---|---|---|
committer | Kevin E. Martin <kem-at-freedesktop-dot-org> | 2004-08-01 23:22:01 +0000 |
commit | 22e926994962db4240cc051d0555135919fd8b14 (patch) | |
tree | db5d68043631d3eaec9635f6445967cff4a40c1c /src | |
parent | 1c458e00f53e83561afd0e475002ce1139df7aec (diff) |
Fix Radeon crash on server exit or generation
Diffstat (limited to 'src')
-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 |