summaryrefslogtreecommitdiff
path: root/src/aticonsole.c
diff options
context:
space:
mode:
authorAlex Deucher <agd5f@yahoo.com>2004-12-19 06:56:37 +0000
committerAlex Deucher <agd5f@yahoo.com>2004-12-19 06:56:37 +0000
commit97cfd7b1489a9510cd233d6dc7154c210f32b9f5 (patch)
tree9dc5f4c31e299877129273d3fc343a28813180bd /src/aticonsole.c
parent5b8577ae3200d967b4316156f16028cbcfd21983 (diff)
- Add DRI resume support (Micha Feigin) bug 2063
Diffstat (limited to 'src/aticonsole.c')
-rw-r--r--src/aticonsole.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aticonsole.c b/src/aticonsole.c
index 1b87a95..9c020e8 100644
--- a/src/aticonsole.c
+++ b/src/aticonsole.c
@@ -40,6 +40,7 @@
#ifdef XF86DRI_DEVEL
#include "mach64_common.h"
+#include "atidri.h"
#endif
#include "mach64_common.h"
@@ -315,6 +316,8 @@ ATIEnterVT
if (pATI->directRenderingEnabled)
{
+ /* get the Mach64 back into shape after resume */
+ ATIDRIResume(pScreen);
DRIUnlock(pScreen);
}
@@ -350,6 +353,8 @@ ATIEnterVT
if (pATI->directRenderingEnabled)
{
+ /* get the Mach64 back into shape after resume */
+ ATIDRIResume(pScreen);
DRIUnlock(pScreen);
}