summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_commonfuncs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c
index eabd87df..a9bc7d28 100644
--- a/src/radeon_commonfuncs.c
+++ b/src/radeon_commonfuncs.c
@@ -744,6 +744,9 @@ void FUNC_NAME(RADEONWaitForIdle)(ScrnInfoPtr pScrn)
#endif
if (info->ChipFamily >= CHIP_FAMILY_R600) {
+ if (!info->accelOn)
+ return;
+
/* Wait for the engine to go idle */
if (info->ChipFamily >= CHIP_FAMILY_RV770)
R600WaitForFifoFunction(pScrn, 8);