diff options
author | Egbert Eich <eich@freedesktop.org> | 2008-07-12 17:11:42 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2008-07-12 23:25:37 +0200 |
commit | 8326ff4fb3d2fff74b11a5391b74866a656380ff (patch) | |
tree | ffbe32ca716e0c55b019b8f98e7425bd7d33a32b | |
parent | c6dcd8d18f0f27a9e92c91e416abf367d9207df0 (diff) |
MC: Add a stub for RV770 MCIdle().
So far the R6xx idle check was used for RV770 however this never
returned TRUE which delayed the Xserver shutdown.
-rw-r--r-- | src/rhd_mc.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/rhd_mc.c b/src/rhd_mc.c index b8fea17..f62eba7 100644 --- a/src/rhd_mc.c +++ b/src/rhd_mc.c @@ -488,6 +488,18 @@ rs780MCIdle(RHDPtr rhdPtr) /* * */ +static Bool +r7xxMCIdle(RHDPtr rhdPtr) +{ + RHDFUNC(rhdPtr); + + usleep(50000); + return TRUE; +} + +/* + * + */ Bool RHDMCIdle(RHDPtr rhdPtr, CARD32 count) { @@ -628,7 +640,7 @@ RHDMCInit(RHDPtr rhdPtr) MC->SaveMC = r7xxSaveMC; MC->RestoreMC = r7xxRestoreMC; MC->SetupMC = r7xxSetupMC; - MC->MCIdle = r6xxMCIdle; + MC->MCIdle = r7xxMCIdle; } else { xf86DrvMsg(rhdPtr->scrnIndex, X_ERROR, "I don't know anything about MC on this chipset\n"); xfree(MC); |