summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 43f7d46..0799033 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -314,17 +314,8 @@ void RADEONEngineRestore(ScrnInfoPtr pScrn)
OUTREG(RADEON_DP_WRITE_MASK, 0xffffffff);
#ifdef RENDER
- /* In the DRI case, it's initialized when the server grabs the lock. We
- * don't hold the lock here, so don't do it in that case.
- */
-#ifdef XF86DRI
- if (!info->directRenderingEnabled) {
-#endif
- if (info->RenderAccel)
- RADEONInit3DEngineForRender(pScrn);
-#ifdef XF86DRI
- }
-#endif
+ if (info->RenderAccel)
+ RADEONInit3DEngineForRender(pScrn);
#endif
RADEONWaitForIdleMMIO(pScrn);